Page 1 of 1

Any Software solutions for graceful shutdown?

Posted: Mon Sep 05, 2016 2:46 pm
by slicknick654
Hi,

Finally close to starting my build, just waiting for Helder's all in one board to arrive soon.

I was thinking on how to solve the graceful shutdown problem, and was perhaps naively thinking, isnt the problem just not being able to initiate the system shutdown command prior to cutting the power? IF thats the case, couldn't we program the micro controller to listen for holding down one of the buttons for an extended period of time (5 seconds or so) and then trigger sudo shutdown now, followed by us flicking the switch to cut power after a few seconds?

Cheers,
Nick

Re: Any Software solutions for graceful shutdown?

Posted: Mon Sep 05, 2016 3:25 pm
by Ganreizu
It's not a software exclusive problem, it's a hardware problem too. If it was software only there would be a documented way of doing it years ago.

Camble's board already exists or is soon to exist. Just pick up one of those, install the daemon, and you're good to go.

Re: Any Software solutions for graceful shutdown?

Posted: Mon Sep 05, 2016 3:33 pm
by dbv
it should be a software exclusive problem when you cut the power after the shutdown. Cause after powering it on again the pi will boot.