I'm running version 4.19.75-v7l+ on a Pi 4B, and with everything up-to-date. Its main purpose is as a NAS so I'm also running OMV version 5.2.2-1, though I don't suppose that is influencing anything.
Code: Select all
Doing "sudo vcdbg log msg" seems to suggest the overlay has been applied ok, in that there are no error messages like perhaps I spelled a parameter incorrectly, etc. I've also tried a few other GPIO pins, including dedicated (rather than multiple-use) GPIOs, but with the same result.
I did have gpio-shutdown working briefly at some point in the past, but something changed (maybe an update) and now it's not working again. When it *did* work, the debounce=1500 part did not seem to do anything; shutdown was triggered immediately rather than after a 1.5sec delay. However the gpio-poweroff overlay *was* working, and pin 27 did indeed switch from input to output and drive a low, so that's ok.
I'm not really keen on starting from scratch with a fresh install, so can anyone help debug the setup I've got please?
Any help much appreciated!