[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Laptop's power button made to suspend?



* David Turetsky (davidturetsky@earthlink.net) [030228 22:59]:
> 
> 
> -----Original Message-----
> From: CaT [mailto:cat@zip.com.au] 
> Sent: Friday, February 28, 2003 9:59 PM
> To: Eduardo Duenez
> Cc: debian-user@lists.debian.org
> 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

On my wife's Win2K machine, if I select Start, Shutdown, the machine
gracefully shuts down and powers off completely. Laptops are even more
configurable as you mentioned.

Hall



Reply to: