Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 8015

Raspberry Pi OS • Re: gpio-shutdown isn't working on Bookworm 64bit

$
0
0
On a Pi3 running Bookworm 64 bit, I attached a button to GPIO3 and Ground, and edited /boot/firmware/config.txt, then rebooted

Code:

[all]dtoverlay=gpio-shutdown
Now one press of the button brings up the "Shutdown Options" dialogue on the screen.
A second press then shuts the Pi3 down.
Then we can reboot the Pi using the same button - one press.

Code:

Linux pi3 6.6.74+rpt-rpi-v8 #1 SMP PREEMPT Debian 1:6.6.74-1+rpt1 (2025-01-27) aarch64 GNU/Linux
Are you sure you have the button connected on the correct pins?
shutdown options Pi3 GPIO3.JPG

Statistics: Posted by neilgl — Sat Apr 05, 2025 11:52 am



Viewing all articles
Browse latest Browse all 8015

Trending Articles