On lun, 2008-04-07 at 23:26 +0200, Michael Biebl wrote:
> Could you please also check hal, if it sends proper button/lid events.
> 
> Please run hald --daemon=no --verbose=yes for that.

Yes, sure.

Output is:

[17572]: 23:38:55.505 [I]
addon-input.c:238: /org/freedesktop/Hal/devices/computer_logicaldev_input_2: 
event.value=1 ; event.code=0 (0x00)
[17576]: 23:38:55.505 [D] addon-acpi.c:195: event is 'button/lid LID
00000080 0000000f
'
23:38:55.505 [D] hald_dbus.c:1652:
udi=/org/freedesktop/Hal/devices/computer_logicaldev_input_2,
key=button.state.value
23:38:55.506 [D] hald_dbus.c:3153:
udi=/org/freedesktop/Hal/devices/computer_logicaldev_input_2
[17572]: 23:38:58.460 [I]
addon-input.c:238: /org/freedesktop/Hal/devices/computer_logicaldev_input_2: 
event.value=0 ; event.code=0 (0x00)
[17576]: 23:38:58.461 [D] addon-acpi.c:195: event is 'button/lid LID
00000080 00000010
'

(stripped to the part where I close/open the LID)

Btw, iirc when I tried gnome-power-manager at one time, it was able to
put the thinkpad to sleep when closing, so hal should know when the LID
is closed correctly. If needed, I can retry.

Cheers,
-- 
Yves-Alexis

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to