Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Feb 1998 12:56:25 +0100
From:      "Stefan Bethke" <stefan@promo.de>
To:        hackers@FreeBSD.ORG
Subject:   Graceful shutdown by single keypress?
Message-ID:  <561614.3096881785@stefan.promo.de>

next in thread | raw e-mail | index | archive | help
For an exibition, we need a system that can be shut down gracefully by
pressing a single button on the system, instead of typing commands or
anything complicated like that. Also, the system should as much as possible
be able to recover from a power failure (read: someone pulling the plug).

As this system will be out there on its own, with no-one near with even the
faintest knowledge of unix (or computers at all), I want it to be as rugged
as possible. Most filesystems will be mounted r/o, and those that are not
can be reconstructed on the fly.

However, as I don't like the idea of telling people to simply cut off power
to the system (there won't be neither monitor nor keyboard), I'm looking
into an ATX system with APM support that can switch itself off.

Instead, I'd like to tell the operators to press the suspend key on the
system, and wait for it to switch itself off. As I currently have no APM
system to test this on (I will get the system the next few days), I'm
interested in experiences with APM on desktop machines, and the feasibility
of my idea. Also, if someone has any recommendations on a specific pentium
mainboard, I'd be happy to hear them.

If the suspend key won't allow shutting down the system, I could also plug
the key (or the reset key) into the LPT or COM port to be polled by some
daemon, which then would do a shutdown with power off.

It would be acceptable for me to hack the kernel to add any necessary APM
power-off command, if needed.

TIA,
Stefan

--
Stefan Bethke
Promo Datentechnik      |  Tel. +49-40-851744-18
+ Systemberatung GmbH   |  Fax. +49-40-851744-44
Eduardstrasse 46-48     |  e-mail: stefan@Promo.DE
D-20257 Hamburg         |  http://www.Promo.DE/


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?561614.3096881785>