08-31-2016, 08:25 PM
When you say no power (in the first instance), do you mean that the pine64 didn't just power up when you connected the battery? If so, that is normal... after the battery is connected, you hold the button the power button down till it glows a bit brighter (it first comes on dim, then brightens) and then let go.
With pressing the power button not shutting it off... is this with android (as that is the thread topic)? On android, you should be able to hold down the power button for about 2 seconds, and then get a power menu, and then you'll need to use a mouse to click on 'power off'
On linux, it appears from comments by others that pressing the power button on a desktop GUI (i.e. MATE) environment will bring up the power off menu prompt, allowing you to choose to shutdown or restart. On a headless / console linux build, the power button isn't bound to anything by default, so effectively does nothing. In that instance... type in 'sudo shutdown -h' or 'sudo poweroff' to power down the pine.
If the button is doing nothing on android or on a desktop GUI, you might want to double check the solder connection, as it should be working. You can also connect jumper wires to the EXP header, and seeing what happens when you bridge/connect pins 5 & 6, mimicking the pressing of the button.
With pressing the power button not shutting it off... is this with android (as that is the thread topic)? On android, you should be able to hold down the power button for about 2 seconds, and then get a power menu, and then you'll need to use a mouse to click on 'power off'
On linux, it appears from comments by others that pressing the power button on a desktop GUI (i.e. MATE) environment will bring up the power off menu prompt, allowing you to choose to shutdown or restart. On a headless / console linux build, the power button isn't bound to anything by default, so effectively does nothing. In that instance... type in 'sudo shutdown -h' or 'sudo poweroff' to power down the pine.
If the button is doing nothing on android or on a desktop GUI, you might want to double check the solder connection, as it should be working. You can also connect jumper wires to the EXP header, and seeing what happens when you bridge/connect pins 5 & 6, mimicking the pressing of the button.
(08-31-2016, 07:21 PM)gperez1234 Wrote: I connect the battery and no power. I plug the ac and power on and charging battery. Disconnect ac power from battery. Have one button on power side. Pressing that does not shut it off. Is there a command to shut down? I have ordered more switches from Hong Kong but that will take a while. I have the abs case and rather close it once.