-----Original Message-----
From: CaT [mailto:[EMAIL PROTECTED] 
Sent: Friday, February 28, 2003 9:59 PM
To: Eduardo Duenez
Cc: [EMAIL PROTECTED]
Subject: Re: Laptop's power button made to suspend?

On Fri, Feb 28, 2003 at 06:48:26PM -0500, Eduardo Duenez wrote:
> Is it possible to configure my Woody laptop so if the power button is
> pressed (say, by mistake) then the laptop only goes into suspend mode
rather
> than just turning immediately and forcefully?  Or at least to make it
> shutdown cleanly?  I've played with other people's laptops (running
Windoze)
> and it works more or less as follows: just pressing the power button
equals
> suspend, and holding it down for a second or two really equals
shutting down
> forcefully.  Would be nice to emulate this behavior...

I'm not too sure about APM but I know this (or something similar) can be
done with ACPI as it's what I do right now with my power button. Give
2.4's ACPI a go. If it doesn't work, see about trying the patches from
the acpi team (I believe Andrew Grover from Intel heads it). Also, don't
forget to install the acpid package.

IIRC there is a Windows XP option that allows you to specify what action
you want taken when the power button is depressed, the cover is closed,
so apparently these functions are in some sense programmable

-- 
David


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to