Picade Max - Power button doesn't fully shut down the machine

My kids and I have setup the Picade Max, all works fine - apart from the power down sequence.

When we power down the box, Recalbox ends up on a static screen (photo below), and the LED on the power switch remains lit. At which point we can’t turn on the machine with that button, and have resorted to either removing the power, or running poweroff via SSH.

Our setup:

Whether we power off via long-press of the button, recalbox menu, or SSH shutdown -h now, then end result is the same.

Edit to add, that this is a cracking bit of kit. We loved making it, and the end result is superb.

I’ve spent some time configuring retropie to see if the power button works OK there - it does.

I’ll keep working on that setup, seems a shame as Recalbox was incredibly easy to get up and running.

While RetroPie works, it’s been a rather unpleasant experience to get up and running.

I will go back to Recalbox and see what can be done. Although I’m not hopeful as I’m pretty green to RPI etc.

Fixed!

In Setting Up Picade Max, it’s recommended to use:

dtoverlay=gpio-shutdown,gpio_pin=17,active_low,debounce=2000
dtoverlay=gpio-poweroff,gpiopin=4,active_low

The following works for me:

dtoverlay=gpio-shutdown,gpio_pin=17,active_low=1,debounce=2000
dtoverlay=gpio-poweroff,gpiopin=4,active_low=0,input=1