LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Laptop and Netbook (https://www.linuxquestions.org/questions/linux-laptop-and-netbook-25/)
-   -   How to suspend on lid closing? (https://www.linuxquestions.org/questions/linux-laptop-and-netbook-25/how-to-suspend-on-lid-closing-565115/)

jerrybasham 06-28-2007 09:52 AM

How to suspend on lid closing?
 
Greetings - this is a new Acer Aspire 5610z running Vector Linux
5.8 SOHO. I Would like to have it go into either suspend or
standby when I close the lid, or to at least find out how to
configure it so that I can make those choices, even to have it
shut down when closing the lid if I so desire.

I have the KDE Control Center "Power Control" set to go into
screensaver at 10 minutes, standby at 20, suspend at 30 and
power off at 60. The only thing that works is the screensaver,
the rest of it is ignored and it just stays in screensaver
mode indefinitely.

ACPI is installed, as well as lm-sensors, etc. Is there a
file that I can edit for the proper standby/suspend, etc
settings?

Help with this would be appreciated very much.

- Jerry B.

nx5000 06-28-2007 10:43 AM

Using this:
http://packages.debian.org/unstable/admin/acpi-support
should do the trick

See if you have something corresponding for your distro..

I think it creates a pipe that listens for acpi events. When one arrives, you can define an action.

As I always forgot that closing the lid will suspend, I removed the package :)

jerrybasham 06-28-2007 10:55 AM

Thanx for your response.

Well, I did a search for "acpi-support" in my distro's repositories
and it came up blank. I'll try fishing around the Vector forums a
bit more (I did post a query about this in there but awaiting an
answer).

- Jerry B.

nx5000 06-29-2007 04:40 AM

Well, you would have to make the package yourself from the upstream real website.
If you are lazy, you can even download it from the same webpage:
http://ftp.debian.org/debian/pool/ma...95.orig.tar.gz
Then, on the same page, you have the patch added by debian team.

You could just compile it yourself and try.

jerrybasham 06-29-2007 12:03 PM

I got it going.. thank you for your replies. I ended up
just reinstalling the whole acpi package with lm-sensors.
That did it; I just have had a corrupted package in the
install disc.

Thanks again,

- Jerry


All times are GMT -5. The time now is 02:28 AM.