[Bug 44567] Re: Only manual suspend-to-ram possible?

2008-12-28 Thread Thomas M. Hinkle
I'm still experiencing this bug with intrepid.

Oddly, I register the close event with acpi_listen...
t...@hydrophax:~/Desktop$ acpi_listen 
button/lid LID 0080 0010

And I can register it with cat /proc/acpi/

t...@hydrophax:~/Desktop$ cat /proc/acpi/button/lid/LID/state; echo close lid 
for 2 seconds; sleep 2; cat /proc/acpi/button/lid/LID/state; sleep 3; cat 
/proc/acpi/button/lid/LID/state
state:  open
close lid for 2 seconds
state:  closed
state:  open


But it does not show up with lshal -m

t...@hydrophax:~/Desktop$ lshal -m

Start monitoring devicelist:
-
21:47:29.015: computer_power_supply_battery_BAT0 property 
battery.remaining_time = 4082 (0xff2)
21:47:29.018: computer_power_supply_battery_BAT0 property 
battery.charge_level.percentage = 43 (0x2b)
21:47:29.020: computer_power_supply_battery_BAT0 property 
battery.charge_level.design = 71022 (0x1156e)
21:47:29.021: computer_power_supply_battery_BAT0 property 
battery.charge_level.last_full = 82196 (0x14114)
21:47:29.022: computer_power_supply_battery_BAT0 property 
battery.charge_level.current = 35605 (0x8b15)
21:47:29.023: computer_power_supply_battery_BAT0 property 
battery.reporting.current = 3008 (0xbc0)
21:47:29.024: computer_power_supply_battery_BAT0 property 
battery.voltage.current = 11837 (0x2e3d)

-- 
Only manual suspend-to-ram possible?
https://bugs.launchpad.net/bugs/44567
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 44567] Re: Only manual suspend-to-ram possible?

2008-03-03 Thread Thomas M. Hinkle
I seem to have this same bug. I'm on an HP Pavilion dvAV.
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-manager.

#if [ `CheckPolicy` = 0 ]; then exit; fi

grep -q closed /proc/acpi/button/lid/*/state
if [ $? = 0 ]
then
echo lid closed
grep -q off-line /proc/acpi/ac_adapter/*/state  
if [ $? = 0 ]
then
echo sleep with gnome-power-cmd
su tom
gnome-power-cmd.sh suspend


Yeah, that's ugly.

Let me know if I can give you some more output to help with this.

-- 
Only manual suspend-to-ram possible?
https://bugs.launchpad.net/bugs/44567
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 44567] Re: Only manual suspend-to-ram possible?

2007-09-21 Thread Launchpad Janitor
[Expired for gnome-power-manager (Ubuntu) because there has been no
activity for 60 days.]

-- 
Only manual suspend-to-ram possible?
https://bugs.launchpad.net/bugs/44567
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 44567] Re: Only manual suspend-to-ram possible?

2007-02-21 Thread Evgeny \nekr0z\ Kuznetsov
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-
manager) does not happen.

-- 
Only manual suspend-to-ram possible?
https://launchpad.net/bugs/44567

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs