Can you post the output here?
I just checked the installation script with the current RetroPie image and everything went fine for me. I have also added a screencast that shows the console output for the installation. You can find it in the "Videos" section at https://blog.petrockblock.com/powerblock-raspberry-pi-power-switch/.
@paulkosm I think this is just the nature of the powerblock. The problem would be that the latching switch would still be latched in the on position (which is why you get a restart) and there's no way to automatically unlatch it. It might be more annoying to have to unlatch then latch again to turn the system on after a soft shutdown.
Personally I just use the powerblock switch to shutdown every time and never use the menu shutdown option now.
I know this is an old thread but I'm just getting into RetroPie (and Raspberry Pi's in general!)
@LeatherOtter Out of curiosity, did this end up working the way you expected? If so, I'm thinking the Powerblock might be a very easy way to modify my just arrived Retrflag NESPi case to make the power and reset buttons functional as expected. The Power button would just shut it down, and the reset button (which just momentarily cuts power) would cause a restart.
I would be more likely to learn direct gpio wiring than buy another piece of hardware if I really wanted to get my pitendo running recalbox. I was only a little curious about recalbox. Overall I have become dissatisfied with emulation on the pi in general guess my expectations were set incorrectly. Oh well it was a fun project and I learned a lot. Eh at this point I just might pony up the dough for an Analogue Super NT and be done with it. /end rant Anyway might as well lock/delete the thread not much for anyone else to learn or discuss here and my question was answered several posts ago.
@caver01 I second this. On the BYOAC forums there's lot of advice to find regarding the build itself, but note that not everyone thinks very highly of Raspberry Pi's there, so questions regarding this is better asked in this excellent site :)
@derekboy2000 You need to be root in order to be able to delete it. If you say you're able to edit it, just replace the line you referenced with
and the script should exit without trying anything else.
@la From what I understand from your post, the device is a remote control. Can it also act work like a gamepad controller ? Because this is what RetroPie recognizes and configures to navigate the Emulationstation menus.
Ok, thanks for the information. The buttons you guys suggested look better than I had envisioned. I didn't have any specific dimensions but I was more looking for something round so I can drill through the side plate vs. something square which I don't have equipment to do properly. :)
@petrockblog said in GamepadBlock and 6-button genesis/megadrive controllers:
Yes - the 6 button controller for Genesis can be used with the GamepadBlock. You can switch to 6 button mode with the button combination "A+B+C+Start+Up".
It is important to note that the switch and the optional status LED need to be connected to the 2x2 pins header in any case. The signal break outs S1 and S2 are not meant for the switch and the LED, but rather for the communication between the PowerBlock and The RPi. Here is a summary for the connection between the break outs and the RPi:
S1: pin 12
S2: pin 11
5V OUT +: pin 2 or pin 4
5V OUT -: pin 6 or pin 9