pimoroni / clean-shutdown

Python daemon to watch a GPIO pin and trigger a clean shutdown.
MIT License
125 stars 40 forks source link

Pressing button too long leads to non-responsable state #36

Open rmk-ch opened 1 year ago

rmk-ch commented 1 year ago

Hi

My (enclosed) Raspberry Pi 4 comes into a state of deadlock with some kind of unclean shutdown. My setup is powerbank -> onoffshim -> Raspi 4. I use default configurations (pinout) and have the Raspian and the daemon running. Shutdown works properly when button is held for a few seconds and released before the actual power off. However, when the button is held longer the Raspi seems to turn off but power is not disabled by the onoffsim (even after releasing the button). Restart is then not possible anymore without completely removing power from the onoffshim.

Any ideas? Workarounds in hardware or software?

Thanks