Power on/off button on OKDO Power-HAT Case
I'm trying to get the power button working of the OKDO Power-HAT Case on the RPi4.
On Raspberry Pi OS works with:
I tried to put these lines in config.txt but does not work.
An help would be appreciated, I'm not so expert on this kind of stuff.
@NGC2264 I don't know if this model is compatible, see if it helps:
@Zing I saw that and works fine with a generic push button, the problem is with this power hat.
I think I have to edit something in /recalbox/scripts/rpi-pin56-power.py but I have no idea of what to change.
@NGC2264 Sorry, but I don't have enough technical knowledge to help, the only content regarding this rpi-pin56-power.py script that I found was:
Small step forward, in /recalbox/scripts/rpi-pin56-power.py I replaced GPIO from pin 5 to 17 and now by pressing the power button the RPi4 shutdown.
Now would need to setup the power on and LEDs behavior.