I don’t know the exact pi out of the pi2scart, but you can find the used pins of the PowerBlock at https://blog.petrockblock.com/powerblock-raspberry-pi-power-switch/:
S1: pin 12
S2: pin 11
If this does not collide with the pi2scart, it should work.
I have just pushed an update for the ControlBlock driver. You can now connect a button to P2, "A": Pressing that button will lead to a simulated press of Start + B, as well as a keyboard button press of "F1".
Does this work for you?
You mean you need a tutorial for updating or reinstalling the PowerBlock driver, right?
What you could try is to run
wget -O - https://raw.githubusercontent.com/petrockblog/PowerBlock/master/install.sh | sudo bash
from the command line to execute the auto-install routine of the PowerBlock driver (as described at https://github.com/petrockblog/PowerBlock#quick-installation). Maybe that solves your issue?
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.
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.