Extra Gpio Config for Shutdown

Here is all the tutorials, FAQ and support for RetroStone
Post Reply
shnukms
Posts: 15
Joined: Fri 18 Aug 2017 17:38

Extra Gpio Config for Shutdown

Post by shnukms »

Anybody know how to configure the extra button for a shutdown?

Thanks
CleanLivingMD
Posts: 7
Joined: Tue 21 Aug 2018 03:59

Re: Extra Gpio Config for Shutdown

Post 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
bedfellow
Posts: 38
Joined: Wed 15 Aug 2018 21:22

Re: Extra Gpio Config for Shutdown

Post by bedfellow »

I created a post on RetrOrangePi forum for this: http://orangepi.club/showthread.php?tid=2674
CleanLivingMD
Posts: 7
Joined: Tue 21 Aug 2018 03:59

Re: Extra Gpio Config for Shutdown

Post 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
Post Reply