From: David Mandala (davidm@them.com)
To: linux-questions-only@ssc.com
Organization: THEM Productions
Subject: Re: [TAG] shutdown down the system using power switch
Date: 03 Dec 2002 22:35:51 -0700
X-Mailer: Ximian Evolution 1.2.0

I remember reading somewhere how to hook up the power switch on an ATX power supply to do an orderly shutdown but I don't remember where. Anybody else remember?





From: Rick Moen (rick@linuxmafia.com)
To: David Mandala (davidm@them.com)
Cc: linux-questions-only@ssc.com
Subject: Re: [TAG] shutdown down the system using power switch
Date: Tue, 3 Dec 2002 23:22:09 -0800

Quoting David Mandala (davidm@them.com):

> I remember reading somewhere how to hook up the power switch on an ATX
> power supply to do an orderly shutdown but I don't remember where.
> Anybody else remember?

You might be thinking of Joris van Rantwijk's Linux PowerSwitch Driver. Description: "The powerswitch driver makes it possible to use the ATX power button on your computer to shutdown Linux. You simply press the power button, and the driver shuts down Linux and powers off the machine, just as the shutdown command does."
http://deadlock.et.tudelft.nl/~joris/powerswitch/

A different approach:
http://www.geocrawler.com/archives/3/38/1999/9/50/2611153/

Or a kernel patch for the ACPI code:
http://www.cs.helsinki.fi/linux/linux-kernel/2001-31/0968.html