by akatik » Fri Oct 11, 2019 6:08 am
I connect button between pin05 (GPIO03) and pin06 (ground) on Pi3B+. Then I write into wtware config:
To get shutdown button into wtware popup window in the right bottom corner of screen.
Terminal boots up. I press shutdown button in popup window. Terminal shut down, turn off screen, but red led on Raspberry is on.
I press button between pin05 and pin06 - and Raspberry is turned on!
"dtoverlay = gpio-shutdown" is for turning Raspberry off with this button, it needs OS support. Turning raspberry on is in hardware, and it works on Pi3B+.
For Raspberry Pi 4, update the bootloader, "Recovery" chapter here:
https://www.raspberrypi.org/downloads/
It writes the latest bootloader with power on enabled (WAKE_ON_GPIO=1). Afer you update bootloader, Pi 4 will power up with button on pin05 and pin06 in the same way as previous Pi models.
I connect button between pin05 (GPIO03) and pin06 (ground) on Pi3B+. Then I write into wtware config:
[code]infobox=always, shutdown[/code]
To get shutdown button into wtware popup window in the right bottom corner of screen.
Terminal boots up. I press shutdown button in popup window. Terminal shut down, turn off screen, but red led on Raspberry is on.
I press button between pin05 and pin06 - and Raspberry is turned on!
"dtoverlay = gpio-shutdown" is for turning Raspberry off with this button, it needs OS support. Turning raspberry on is in hardware, and it works on Pi3B+.
For Raspberry Pi 4, update the bootloader, "Recovery" chapter here: https://www.raspberrypi.org/downloads/
It writes the latest bootloader with power on enabled (WAKE_ON_GPIO=1). Afer you update bootloader, Pi 4 will power up with button on pin05 and pin06 in the same way as previous Pi models.