Only manual suspend-to-ram possible?
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| | gnome-power-manager (Ubuntu) |
Medium
|
Unassigned | ||
Bug Description
Binary package hint: gnome-power-manager
Don't know exactly if this bug is related to gnome-power-
- after given time
- on lid close
does not seem to work any more.
Suspending manually using key compination works fine.
Please give me some hints what information/debug info/console info/... is needed to work on this, I'll try to provide any information I can deliver.
Maybe the remaining lid state "closed" is caused by a missing lid-open event ?
sudo acpi_listen
Password: ...
<closing>
<waiting 10-20 sec.>
<opening>
button/lid LID 00000080 00000001
Shouldn't there be 2 events, one for closing the lid and one for opening ?
| Paul Sladen (sladen) wrote : | #3 |
Can you please provide a the output from:
lshal -m
when doing the lid close+open.
| Changed in gnome-power-manager: | |
| status: | Unconfirmed → Needs Info |
| cy (foren-cywhale) wrote : | #4 |
2 times close - wait - open:
Start monitoring devicelist:
-------
acpi_LID condition ButtonPressed = lid
acpi_LID condition ButtonPressed = lid
| Evgeny Kuznetsov (nekr0z) wrote : | #5 |
The bug is still there. On my Fujitsu-Siemens Amilo M7400 running Ubuntu 6.10 suspending after 20 minutes of inactivity (as set in gnome-power-
| Launchpad Janitor (janitor) wrote : | #6 |
[Expired for gnome-power-manager (Ubuntu) because there has been no activity for 60 days.]
| Thomas M. Hinkle (thomas-hinkle) wrote : | #7 |
I seem to have this same bug. I'm on an HP Pavilion dv1111AV. acpi_listen shows that acpi is getting the events. However, gnome-power-manager --verbose does not show gnome-power-manager handling the events.
Ugly as it is, I've worked around the problem by including commenting out the CheckPolicy line of the lid and including the following, which simulates the settings I tried to set up with gnome-power-
#if [ `CheckPolicy` = 0 ]; then exit; fi
grep -q closed /proc/acpi/
if [ $? = 0 ]
then
echo "lid closed"
grep -q off-line /proc/acpi/
if [ $? = 0 ]
then
echo "sleep with gnome-power-cmd"
su tom
Yeah, that's ugly.
Let me know if I can give you some more output to help with this.
| Thomas M. Hinkle (thomas-hinkle) wrote : | #8 |
I'm still experiencing this bug with intrepid.
Oddly, I register the close event with acpi_listen...
tom@hydrophax:
button/lid LID 00000080 00000010
And I can register it with cat /proc/acpi/
tom@hydrophax:
state: open
close lid for 2 seconds
state: closed
state: open
But it does not show up with lshal -m
tom@hydrophax:
Start monitoring devicelist:
-------
21:47:29.015: computer_
21:47:29.018: computer_
21:47:29.020: computer_
21:47:29.021: computer_
21:47:29.022: computer_
21:47:29.023: computer_
21:47:29.024: computer_


After rebooting I checked the lid state again, closed the display -> entered suspend mode without problems -> reopened display -> checked state again:
Code:
cywhale@ubuntu:~$ cat /proc/acpi/ button/ lid/*/state state: open cywhale@ubuntu:~$ cat /proc/acpi/ button/ lid/*/state state: closed
So the lid state remains "closed" after reopening the display, therefore suspending won't work any more ?