You are not logged in.

#1 2010-05-13 20:19:23

benob
Member
Registered: 2008-11-11
Posts: 187

[Solved] Closing lid does not suspend anymore

Since a couple of days, closing the lid does not suspend my laptop anymore (it blanks the screen instead). I checked gnome-power-manager preferences and gconf settings and they should (and used to) work. It's as if the lid was not registered anymore. Any idea where it can come from?

Note that suspending through the menus works fine.
The laptop is a Lenovo T400 with gnome on a x86_64 up-to-date arch.

Last edited by benob (2010-05-14 06:26:08)

Offline

#2 2010-05-13 20:31:26

count-corrupt
Member
From: Germany
Registered: 2009-02-01
Posts: 112

Re: [Solved] Closing lid does not suspend anymore

If you don't insist on Gnome suspending the machine for you, you can use acpid together with pm-utils.

Just add 'pm-suspend' to the 'button/lid' case in /etc/acpi/handler.sh

case "$1" in
button/lid)
        pm-suspend
        ;;

Offline

#3 2010-05-13 20:40:25

lucke
Member
From: Poland
Registered: 2004-11-30
Posts: 4,018

Re: [Solved] Closing lid does not suspend anymore

Run acpi_listen (acpid package) and see if you get the event at all when you close the lid.

Offline

#4 2010-05-14 06:25:53

benob
Member
Registered: 2008-11-11
Posts: 187

Re: [Solved] Closing lid does not suspend anymore

I was hit by http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=580983. Upgrading to upower 0.9.4 sloves the issue.

Offline

#5 2010-05-14 23:35:25

jocheem67
Member
Registered: 2009-11-09
Posts: 243

Re: [Solved] Closing lid does not suspend anymore

I have to try this later on, but it's probably the same problem I was experiencing: no suspending anymore on lid-close...
Did force me  though to catch up on the different power-tools for Linux wink

I updated, reinstalled gnome-power-manager, and all is well. The syntax of /acpi/handler.sh is a bit too unclear to me....a gui to control stuff suits me well here..
Glad it's okay again.

Last edited by jocheem67 (2010-05-15 06:23:18)

Offline

Board footer

Powered by FluxBB