The new GamepadBlock supports switching between the various controller modes via a virtual COM port.
For the ControlBlock a Bash script could be written that changes the controlblockservice.cfg file and reloads the ControlBlock service. I have not had time to work on that yet, though.
@petrockblog I think you can best answer on this ;)
I saw your switch built in a NESPi case - it should fit perfectly in.
But what will happen in the following scenarios:
I use a momentary switch and press the button to powerdown (I think it's clear what will happen)
I use a momentary switch, do a shutdown via software (Quit >> Shutdown system)
The Mausberry switch fails in this case, because it will miss the physical button press and therefore needs a GPIO signal sended to the Mausberry circuit (Take a look here).
If you don't do this modification the Raspberry will shutdown as usual but the Mausberry switch is still active and does not respond to any button switch. So you have to cut main power or reset the circuit to make it work again.
After the installation of the PowerBlock and the ControlBlock drivers you need to enable the driver in a second step. I realise that this is not intuitive so that I created a patch for the RetroPie Setup. In the future, the drivers will be enabled with the installation.
I`m sure meanwhile you solved the Problem.
Do you remember what has been the reason for the controlblock showing all Buttons are constantly "ON"?
I am trying to set up a new Arcade Station with RPi3+Controlblock V1.6 + 2 x Sanwa Joysticks & Buttons and I have the same Problem right now.
Connected the leads straight from the 5v pins directly to the male side of the power and everything worked fine, so it is the nintendo side of the barrel jack.. i've got a new one on order so... This is resolved!
Is the issue repeatable? Meaning, does it always show the issue after 2 hours of play? Does it go away after you give it a rest, say an hour? It could be that you have some thermal issues elsewhere, not necessary the RPi.
Does the power supply itself heat up after two hours of play? Is it hot to the touch? If the supply is not properly designed it could run into thermal issues and its efficiency to sustain the desired power output deteriorates. If that's the case see if you can have it replaced.
Do you have access to the ControlBlock while you're having the issue? Can you feel if any of the components in the ControBlock is heating up? If so which of the components?
@dbinott I think it's best that you post your own thread. You might have a different setup than @hodgoes2001
Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first
I never got any response from @petrockblog on this....so I'm asking again, are there diagrams that we can look at? Also, how about a Parts List? Some of us are having deficient power when the ControlBlock is used. I know that a transistor (Q1) switch supplies power to the PI using the GPIO pins. The question is, what is the max current that Q1 supplies the RPi with? Is it 2.5A or much less? Is this a constant current or fluctuating current? Without a diagram and parts list we are constantly guessing where our issues come from.
Revision 1.1 of the PowerBlock (introduced last year) provides break out pins for all needed signals. There is a brief blog post about it at https://blog.petrockblock.com/2016/05/20/new-revision-of-the-powerblock-increased-flexibility/. Maybe that gives some more insights.
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.