Please select To the mobile version | Continue to access the desktop computer version

OrangePi

 Login            
 Register            
Search
Hot search: orangepi
View: 13714|Reply: 7

power button

[Copy link]

11

Threads

59

Posts

326

Credits

Moderator

Rank: 7Rank: 7Rank: 7

Credits
326
Post time 2015-1-20 01:06:41 | Show all posts |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
Post time 2015-1-20 02:48:34 | Show all posts
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| Post time 2015-1-20 04:23:17 | Show all posts
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
Post time 2015-11-26 01:56:20 | Show all posts
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
Post time 2015-11-26 02:34:48 | Show all posts
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

105

Posts

989

Credits

Senior member

Rank: 4

Credits
989
Post time 2015-11-26 02:58:52 | Show all posts
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
Post time 2016-11-25 22:45:49 | Show all posts
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

1128

Posts

7828

Credits

Moderator

Rank: 7Rank: 7Rank: 7

Credits
7828
Post time 2016-11-25 22:56:15 | Show all posts
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 have to log in before you can reply Login | Register

Points Rules

Archiver|Mobile edition|Darkroom|OrangePi En ( 粤ICP备14086627号-2

2020-11-27 18:48 GMT+8 , Processed in 0.031778 second(s), 22 queries .

Powered by Discuz! X3.2

© 2014-2015 orangepibbs en.

Quick Reply To Top Return to the list