Any Software solutions for graceful shutdown?

General GBZ-related chat goes here. Share ideas, tips and tricks, or ask questions that don't fit into the hardware/software help forums.
Post Reply
slicknick654
Posts: 9
Joined: Mon Aug 08, 2016 7:45 pm

Any Software solutions for graceful shutdown?

Post by slicknick654 » Mon Sep 05, 2016 2:46 pm

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

User avatar
Ganreizu
Posts: 552
Joined: Thu May 05, 2016 8:20 am
Has thanked: 168 times
Been thanked: 97 times

Re: Any Software solutions for graceful shutdown?

Post by Ganreizu » Mon Sep 05, 2016 3:25 pm

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.

dbv
Posts: 7
Joined: Mon Sep 05, 2016 3:16 pm
Been thanked: 1 time
Contact:

Re: Any Software solutions for graceful shutdown?

Post by dbv » Mon Sep 05, 2016 3:33 pm

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.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest