[Bug 230056] Re: Lock screen happens on Lid open, not Lid closed

Aleks Krsch akrsch at gmail.com
Tue May 13 21:53:55 UTC 2008


when lid is open:
$ hal-device `hal-find-by-property --key button.type --string lid`
udi = '/org/freedesktop/Hal/devices/computer_logicaldev_input_3'
  input.product = 'Lid Switch'  (string)
  info.addons.singleton = { 'hald-addon-input' } (string list)
  linux.sysfs_path = '/sys/devices/virtual/input/input5/event5'  (string)
  info.parent = '/org/freedesktop/Hal/devices/computer'  (string)
  info.product = 'Lid Switch'  (string)
  info.udi = '/org/freedesktop/Hal/devices/computer_logicaldev_input_3'  (string)
  button.has_state = true  (bool)
  button.type = 'lid'  (string)
  linux.hotplug_type = 2  (0x2)  (int)
  button.state.value = true  (bool)
  linux.subsystem = 'input'  (string)
  linux.device_file = '/dev/input/event5'  (string)
  info.capabilities = { 'input', 'input.switch', 'button' } (string list)
  info.category = 'input'  (string)
  input.device = '/dev/input/event5'  (string)

when lid is closed:
$ sleep 10; hal-device `hal-find-by-property --key button.type --string lid`
udi = '/org/freedesktop/Hal/devices/computer_logicaldev_input_3'
  input.product = 'Lid Switch'  (string)
  info.addons.singleton = { 'hald-addon-input' } (string list)
  linux.sysfs_path = '/sys/devices/virtual/input/input5/event5'  (string)
  info.parent = '/org/freedesktop/Hal/devices/computer'  (string)
  info.product = 'Lid Switch'  (string)
  info.udi = '/org/freedesktop/Hal/devices/computer_logicaldev_input_3'  (string)
  button.has_state = true  (bool)
  button.type = 'lid'  (string)
  linux.hotplug_type = 2  (0x2)  (int)
  button.state.value = false  (bool)
  linux.subsystem = 'input'  (string)
  linux.device_file = '/dev/input/event5'  (string)
  info.capabilities = { 'input', 'input.switch', 'button' } (string list)
  info.category = 'input'  (string)
  input.device = '/dev/input/event5'  (string)

-- 
Lock screen happens on Lid open, not Lid closed
https://bugs.launchpad.net/bugs/230056
You received this bug notification because you are a member of Kubuntu
Team, which is subscribed to kde-guidance in ubuntu.




More information about the kubuntu-bugs mailing list