View: 23367|Reply: 7

power button

[Copy link]

11

threads

59

posts

326

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
326
Published in 2015-1-20 01:06:41 | Show all floors |Read mode
The power button between the power connector and OTG connector, is that supposed to do anything.
I pressed it to reboot my board, but no effect. Only way to reboot it seems to be by cycling the power.
You can also reach me on freenode irc, channel #orangepi username eFfeM

1

threads

4

posts

19

credits

Novice

Rank: 1

credits
19
Published in 2015-1-20 02:48:34 | Show all floors
The button needs to be held down for ~5 seconds to shut down.  Hold it again for a few seconds to turn back on.

Better yet, if your OS is running, just 'shutdown -r now' to reboot, or 'shutdown -h now' to turn off.

11

threads

59

posts

326

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
326
 Author| Published in 2015-1-20 04:23:17 | Show all floors
I did use the shutdown command, but then wanted to switch on again.
Just tested and indeed I need to hold it a bit. Thought it was just press and go.
Thanks for the info
You can also reach me on freenode irc, channel #orangepi username eFfeM

0

threads

1

posts

32

credits

Novice

Rank: 1

credits
32
Published in 2015-11-26 01:56:20 | Show all floors
I have an Orange Pi PC and I can't get any response from using the power button. Pressing and holding does not power up the device. Similarly, pressing and holding the button for 10s while powered up has no effect either. Should I have a program reading the associated pin and initiating power down if the button is pressed perhaps?

5

threads

42

posts

331

credits

Intermediate member

Rank: 3Rank: 3

credits
331
Published in 2015-11-26 02:34:48 | Show all floors
I have the Orange Pi PC and tried 6 different Android images and they all support it differently (if at all.) I settled on Beelink. If you press and hold the power button while it is running you get the on-screen shut down prompt. If it is off click the button (no long press needed) and it turns on.

16

threads

104

posts

989

credits

Senior member

Rank: 4

credits
989
Published in 2015-11-26 02:58:52 | Show all floors
FransM replied at 2015-1-20 04:23
I did use the shutdown command, but then wanted to switch on again.
Just tested and indeed I need to ...

Instead the "shutdown" command try with "poweroff".
I know it is not approprieted, but for me, with the shutdown, the sata disk remain powered.


OrangePi A20, with Qbee-X_testing

Still waiting for refund/replacement of no working op+2e bought on 11/11 >_<...really serious company

1

threads

10

posts

54

credits

Registered member

Rank: 2

credits
54
Published in 2016-11-25 22:45:49 | Show all floors
Has anyone had any luck with the power button on an Orange PI PC and Retronganepi as a OS?
I can't get it to work. Is there a certain script i have to write or anything? Any help would be appreciated.

4

threads

1118

posts

9504

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
9504
Published in 2016-11-25 22:56:15 | Show all floors
You have to have enabled sunxi-gpio driver, but it only produces BTN_POWER events (like pressing button on IR remote). This can be handled by systemd if I'm not mistaken. We talked long ago about that in Armbian forum.
You need to log in before you can reply login | Register

Points Rule

Quick reply Top Return list