DietPi v6.28.0, RPi Zero W, gpio-shutdown not working

Having issues with your DietPi installation, or, found a bug? Post it here.
Post Reply
JackBug
Posts: 1
Joined: Fri Apr 17, 2020 11:21 am

DietPi v6.28.0, RPi Zero W, gpio-shutdown not working

Post by JackBug »

I have just done a new install of DietPi v6.28.0 on a RPi Zero W.
After the updates and setup etc, I added the following line to config.txt (ie sudo nano /DietPi/config.txt):-

dtoverlay=gpio-shutdown,gpio_pin=20,active_low=1,gpio_pull=up


After a reboot, pressing the button that I have connected to GPIO20 and GND, nothing happens.
I am using GPIO20 because I require I2C and I2C uses GPIO2 and GPIO3.

I am using the same method of shutdown on a RPi3 that has been upgraded a couple of times to DietPi v6.28.0 (cannot remember which version it started out on) and it works as designed.

Could someone suggest where I should start looking as to why this is not working?

Regards,
John
Post Reply