I’ve been having some issues with getting the OnOffShim working with an external latching button switch.
The board powers up correctly when the external switch has been pushed on, but right after the Pi does its BIOS checks, the shutdown command is triggered turning the Pi off before it loads the OS, leaving the Pi shutdown but still powered on. Turning the switch off at this point does not kill the power to the Pi.
Using the inbuilt button works as it should.
My configuration looks like this:
daemon_active=1 trigger_pin=17 led_pin=17 poweroff_pin=4 hold_time=1 shutdown_delay=0 polling_rate=1
Do I need to do anything extra to the config for my latching button to work correctly?