Power button after remote shutdown

Post a reply

Smilies
:D :) :( :o :shock: :? 8) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :wink: :!: :?: :idea: :arrow: :| :mrgreen:

BBCode is OFF
Smilies are ON

Topic review
   

Expand view Topic review: Power button after remote shutdown

Re: Power button after remote shutdown

by Webjom » Tue Jul 11, 2023 8:32 am

Is it possible to incorporate gpio control? i need to get this procedure there

https://thepihut.com/blogs/raspberry-pi ... -gpio-pins

Re: Power button after remote shutdown

by aj777 » Sat Oct 17, 2020 12:11 pm

I think the extra board on the Argon is what is cutting and controlling the power. So the WTWare is not the problem. it is the Argon1 that cannot seem to switch on the Raspberry Pi from the "Red Light" state. Seems the WTWare is working as it should.
Thank you for helping. The problem is not solved, but at least I understand more where the issue is.
I will contact Argon40 to find out if they can make the Pi wake up from the red light state.

Re: Power button after remote shutdown

by aka » Thu Oct 15, 2020 10:42 am

aj777 wrote: Thu Oct 15, 2020 10:40 am The issue is that WTWare does not shut down completely when you ask it to.
WTware or Raspberry hardware? Does Raspbian on same hardware shut down completely?

Re: Power button after remote shutdown

by aj777 » Thu Oct 15, 2020 10:40 am

akatik wrote: Wed Oct 14, 2020 2:06 pm
aj777 wrote: Wed Oct 14, 2020 8:07 am I use a Argon1 case with button
Argon made their own controller to switch power. We can not control them. Above I wrote about button between pin05 (GPIO03) and pin06 (ground) that should turn on halted Raspberry. Led light is turned on when Pi 4 is halted.
It does not make a difference of what button is used to switch on. I can switch on with Argon no problem and also used pin 5 and 6 with other button.
The issue is that WTWare does not shut down completely when you ask it to.
If you say Shut Down in WTWare program, the Pi stays on with Red light.
If WTWare shuts down properly, any button will work to switch on again.

Re: Power button after remote shutdown

by akatik » Wed Oct 14, 2020 2:06 pm

aj777 wrote: Wed Oct 14, 2020 8:07 am I use a Argon1 case with button
Argon made their own controller to switch power. We can not control them. Above I wrote about button between pin05 (GPIO03) and pin06 (ground) that should turn on halted Raspberry. Led light is turned on when Pi 4 is halted.

Re: Power button after remote shutdown

by aj777 » Wed Oct 14, 2020 8:07 am

I have upgraded the EEPROM
I use a Argon1 case with button
It switched on when you first plug in the Pi
But after shutdown from WTWare the red light stays on and it wont switch on
You have to hold in power button again for 4sec for the red light to go out, then you can switch on with switch again
If you shut down from WTWare it should shut down completely so red power led is also out
Then power button will be able to switch Pi on again

Re: Power button after remote shutdown

by akatik » Tue Oct 13, 2020 10:26 pm

aj777 wrote: Tue Oct 13, 2020 2:02 pm Now it "shuts down", but it does not switch back on again with button.
Which button are you talking about?

If it's PI4 did you upgrade bootloader EEPROM?

Re: Power button after remote shutdown

by aj777 » Tue Oct 13, 2020 2:02 pm

Hi
When you press power off button, Pi switches "off" but the red light stays on.
Is there a way to get it to shut down completely yet from WTWare?
This will allow to power back on with button.
Now it "shuts down", but it does not switch back on again with button.
It is a big problem as I cannot expect the end users to pull on the cables every time they want to restart.
Any help will really be appreciated

Re: Power button after remote shutdown

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:

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 (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.

Re: Power button after remote shutdown

by Webjom » Sun Sep 15, 2019 10:18 am

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

Re: Power button after remote shutdown

by akatik » Sat Sep 14, 2019 11:32 am

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.

Power button after remote shutdown

by Webjom » Thu Sep 12, 2019 6:40 pm

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?

Top