Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Mar 1999 20:07:59 +0100 (CET)
From:      Søren Schmidt <sos@freebsd.dk>
To:        smp@csn.net (Steve Passe)
Cc:        hackers@FreeBSD.ORG
Subject:   Re: power-off without halt
Message-ID:  <199903151907.UAA21303@freebsd.dk>
In-Reply-To: <199903151655.JAA28147@Ilsa.StevesCafe.com> from Steve Passe at "Mar 15, 1999  9:55:54 am"

next in thread | previous in thread | raw e-mail | index | archive | help
It seems Steve Passe wrote:
> Hi,
> 
>  We are looking at using FreeBSD as an "embedded OS" inside a line
> of instruments we are building.  I think I have a handle on all the
> issues except how to cleanly handle shutdown where there is no
> console, and thus no way to send a 'halt' command.  The requirement
> is that the user can merely turn off the power, nothing more required.
> 
>  I can modify the disk setup, kernel/util code as needed, I just need some
> idea for a workable solution.  Has anyone delt with this problem before?

Use a small circuit that gets the power off switch signal, pulls NMI
which shutdown the system, and after a sufficient timemout pulls
the power..
Nice and easy, and if the system hangs it will just be shut off after
the timeout....

KISS at work again :)

-Søren


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199903151907.UAA21303>