Hello.
So I spent some time trying to get a good log of "lshal -m". My
workflow usually sees me keeping my laptop on for a while and changing
between hibernating and suspending. Anyway, my steps to reproduce this
are:
Steps:
1. boot up
2. manually hibernate, wake-up
3. remove AC Adapter
Actual Results:
* laptop enters suspend (!)
Expected Results:
* laptop does not enter suspend :)
The laptop behaves properly on AC Adapter removal up until my first
hibernate. I have annotated the output of "lshal -m" to provide a
better idea of what I was doing throughout.
Notably, I see the following the first time I hibernate:
18:36:42.026: computer_logicaldev_input_2 property button.state.value = true
18:36:42.061: computer_logicaldev_input_2 condition ButtonPressed = lid
I do not, however, see this during subsequent hibernations.
Perhaps when I awake from hibernation, button.state.value should equal
false? or ButtonPressed should change?
I checked computer_logicaldev_input_2 under "lshal -l" and got the
following (left-angle brackets added to note the attributes previously
mentioned):
udi = '/org/freedesktop/Hal/devices/computer_logicaldev_input_2'
button.has_state = true (bool)
button.state.value = true (bool) <<<<<<<<<<<
button.type = 'lid' (string) <<<<<<<<<<<
info.addons.singleton = {'hald-addon-input'} (string list)
info.capabilities = {'input', 'input.switch', 'button'} (string list)
info.category = 'input' (string)
info.parent = '/org/freedesktop/Hal/devices/computer' (string)
info.product = 'Lid Switch' (string)
info.udi = '/org/freedesktop/Hal/devices/computer_logicaldev_input_2'
(string)
input.device = '/dev/input/event5' (string)
input.product = 'Lid Switch' (string)
linux.device_file = '/dev/input/event5' (string)
linux.hotplug_type = 2 (0x2) (int)
linux.subsystem = 'input' (string)
linux.sysfs_path = '/sys/devices/virtual/input/input5/event5' (string)
Help :)
** Attachment added: ""lshal -m" before and after automatic suspension"
http://launchpadlibrarian.net/14707277/lshal-m2.annotated.txt
--
unplugging AC puts laptop to sleep
https://bugs.launchpad.net/bugs/146424
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs