jarno / gpio_shutdown.md

0 likes
0 forks
1 files
Last active 1705433086
RPi GPIO shutdown

Source: https://github.com/CoolerMasterTechnology/Pi-Tool/issues/7#issuecomment-834979824

FWIW, if all you want is for the shutdown button to work, this application is completely unnecessary. The button is on the standard/default shutdown pin, GPIO 3, so all you have to do is add this to your /boot/config.txt:

Enable shutdown button on GPIO 3

dtoverlay=gpio-shutdown

If you'd prefer to set the defaults explicitly:

Enable shutdown button on GPIO 3