Power button after remote shutdown

All about WTware on Raspberry. WTware works with Raspberry Pi 4, Raspberry Pi 3B+, Pi 3 and Pi 2 devices
http://www.winterminal.com
Post Reply
Webjom
Posts: 21
Joined: Tue Sep 10, 2019 10:19 am

Power button after remote shutdown

Post by Webjom »

After remote shutdown, raspberry pi 4 remains powered, can it be turned on via the button ..... where do I write "dtoverlay = gpio-shutdown" to start pin 5 and 6 to work?

akatik
SUPPORT
SUPPORT
Posts: 450
Joined: Mon Jan 17, 2005 6:30 pm
Contact:

Re: Power button after remote shutdown

Post by akatik »

We have never tried it. And there is no "gpio-shutdown" overlay in wtware distributive.

Test it with Raspbian first. After you find what and where to write, tell me and we'll try to add overlay file to wtware.

Webjom
Posts: 21
Joined: Tue Sep 10, 2019 10:19 am

Re: Power button after remote shutdown

Post by Webjom »

here is the exact tutorial that is written in python. Too bad wtware python does not take. But if you can rewrite the example link with the procedure. https://howchoo.com/g/mwnlytk3zmm/how-t ... spberry-pi

akatik
SUPPORT
SUPPORT
Posts: 450
Joined: Mon Jan 17, 2005 6:30 pm
Contact:

Re: Power button after remote shutdown

Post by akatik »

I connect button between pin05 (GPIO03) and pin06 (ground) on Pi3B+. Then I write into wtware config:

Code: Select all

infobox=always, shutdown
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. Afer you update bootloader, Pi 4 will power up with button on pin05 and pin06 in the same way as previous Pi models.

Post Reply