Page 1 of 1

Extra Gpio Config for Shutdown

Posted: Sun 2 Sep 2018 04:12
by shnukms
Anybody know how to configure the extra button for a shutdown?

Thanks

Re: Extra Gpio Config for Shutdown

Posted: Sun 2 Sep 2018 16:36
by CleanLivingMD
I used this site to add an on/off(shutdown) button to my raspberry pi's. It works flawlessly but I'm not sure if it'll translate to that button on retrostone.

https://howchoo.com/g/mwnlytk3zmm/how-t ... spberry-pi

Re: Extra Gpio Config for Shutdown

Posted: Mon 10 Sep 2018 22:27
by bedfellow
I created a post on RetrOrangePi forum for this: http://orangepi.club/showthread.php?tid=2674

Re: Extra Gpio Config for Shutdown

Posted: Tue 11 Sep 2018 05:30
by CleanLivingMD
This worked for me. Thanks!

For those who are new to all this:
1. Hook up a BT or USB keyboard
2. Once booted, hit F4 to get to the terminal
3. Run the built in text editor, nano, by typing:

sudo nano /home/pi/RetroPie/retropiemenu/RetrOrangePi/GPIO/Reboot_RS.sh

4. Change "sudo reboot" to "sudo poweroff"
5. Hit Ctrl-X (to Exit), Y (Yes, to save), Enter (to save over existing file)
6. type "exit" to exit terminal and restart RetrOrangePi