Sleep on lid close work only 1 time

Bug #233920 reported by Patrice Vetsel on 2008-05-22
20
This bug affects 2 people
Affects Status Importance Assigned to Milestone
gnome-power-manager (Ubuntu)
Low
Unassigned

Bug Description

Binary package hint: gnome-power-manager

Under Hardy.

I'v set gnome-power-manager to go to sleep when lid is closed.

First time i close the LID, notebook go to sleep and wake up on open lid.
After that, nothing happen if i close again the LID.

I can put notebook on sleep with the red power button (on right top menu)

After that, closing LID working again, just one time ;) the second time nothing append again.

Changed in gnome-power-manager:
importance: Undecided → Medium
Patrice Vetsel (vetsel-patrice) wrote :

Confirmed by Kevin on IRC.

Changed in gnome-power-manager:
status: New → Confirmed
Pedro Villavicencio (pedro) wrote :

May Kevin put a comment on the report rather? thanks.

Changed in gnome-power-manager:
status: Confirmed → New
importance: Medium → Low
Patrice Vetsel (vetsel-patrice) wrote :

@Pedro : Kevin is a newbee that i'v met on IRC. I don't know him and he had prefered that i confirm this bug myself.

Pedro Villavicencio (pedro) wrote :

Thanks for taking the time to report this bug and helping to make Ubuntu better. Could you please attach the resulting log file of: gnome-power-bugreport.sh &> gpm.log to the report? You might also want to take a look to the Debugging instructions located at https://wiki.ubuntu.com/DebuggingGNOMEPowerManager for submit any other logs related to your problem.Thanks in advance.

Changed in gnome-power-manager:
status: New → Incomplete
Patrice Vetsel (vetsel-patrice) wrote :

Here is gnome-power-bugreport.sh

Patrice Vetsel (vetsel-patrice) wrote :

58 : I close
-> sleep OK
04 : I open
-> wake up OK

06 : I close
--> BUG
07
: I open

08 : I close
-> sleep OK
09 : I open
--> wake up OK

Pedro Villavicencio (pedro) wrote :

thanks for the info, marking it as confirmed.

Changed in gnome-power-manager:
status: Incomplete → Confirmed
Patrice Vetsel (vetsel-patrice) wrote :

Confirmed on g-p-m 2.24.0-0ubuntu8.1

Alexander Fomichev (a-fom) wrote :

The same here in jaunty on my HP 2133 mininote.
Problem still exists in g-p-m 2.24.2-2ubuntu8

Bartosz Kosiorek (gang65) wrote :

Please try the latest openchrome version.

The detailed instruction is descibed at:
https://help.ubuntu.com/community/OpenChrome

Maybe this bug is similar to this one:
http://www.openchrome.org/trac/ticket/288

I do not use openchrome

Bartosz Kosiorek (gang65) wrote :

Openchrome it is driver for your graphic card Chrome9.

Could you also please attach the output of `lspci -vvnn`, and attach your /var/log/Xorg.0.log

My card is an ATI.

I confirm this bug on a fresh install of 9.04 and attach files wanted.

/var/log/Xorg.0.log

Alexander Fomichev (a-fom) wrote :

Bartosz, anyway patch from Openchrome's ticket 288 doesn't solve sleep problem even on Chrome9 system. So I think it isn't openchrome-related.

Damjan Georgievski (gdamjan) wrote :

> First time i close the LID, notebook go to sleep and wake up on open lid.
> After that, nothing happen if i close again the LID.

This looks to me as a [the] problem with the kernels "button" ACPI driver. If not reloaded on suspend/resume it will stop emiting events.

I always "rmmod button" on suspend, and then "modprobe button" after resume.

If this is really the issue can be confirmed by:
 - booting in single user mode
 - cat /proc/acpi/event
 - close/open the lid, event's should show up
 - suspend (echo mem > /sys/power/state)
 - resume (press the power button)
 - cat /proc/acpi/event is still running, if not, run it again.
 - close/open the lid, event's will not show up

vascofg (vascofg) wrote :

I can confirm this still happens.
On my case, I have a Toshiba L40-18L laptop and cat /proc/acpi/button/lid/LID/state reports closed only the first time I close it, the next times it doesn't work (always reports open).

I'm using ubuntu 11.10

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.