[Pkg-utopia-maintainers] Bug#561958: keyboard and mouse lack the info.category and info.capabilities HAL keys

David Madore david+bugs at madore.org
Mon Dec 21 15:07:25 UTC 2009


Package: hal-info
Version: 20091130-1

My keyboard and mice devices aren't properly configured by HAL: they
don't receive the info.category = 'input' key or the right
info.capabilities (and persumably many other keys are missing as a
consequence):

vega david ~ $ hal-find-by-capability --capability 'input.keys'
vega david ~ $ echo $?
1
vega david ~ $ lshal -u /org/freedesktop/Hal/devices/usb_device_46d_c30e_noserial
udi = '/org/freedesktop/Hal/devices/usb_device_46d_c30e_noserial'
  info.linux.driver = 'usb'  (string)
  info.parent = '/org/freedesktop/Hal/devices/usb_device_5e3_608_noserial'  (string)
  info.product = 'UltraX Keyboard (Y-BL49)'  (string)
  info.subsystem = 'usb_device'  (string)
  info.udi = '/org/freedesktop/Hal/devices/usb_device_46d_c30e_noserial'  (string)
  info.vendor = 'Logitech, Inc.'  (string)
  linux.hotplug_type = 2  (0x2)  (int)
  linux.subsystem = 'usb'  (string)
  linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:1d.7/usb1/1-5/1-5.4'  (string)
  usb_device.bus_number = 1  (0x1)  (int)
  usb_device.can_wake_up = true  (bool)
  usb_device.configuration_value = 1  (0x1)  (int)
  usb_device.device_class = 0  (0x0)  (int)
  usb_device.device_protocol = 0  (0x0)  (int)
  usb_device.device_revision_bcd = 384  (0x180)  (int)
  usb_device.device_subclass = 0  (0x0)  (int)
  usb_device.is_self_powered = false  (bool)
  usb_device.linux.device_number = 7  (0x7)  (int)
  usb_device.linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:1d.7/usb1/1-5/1-5.4'  (string)
  usb_device.max_power = 100  (0x64)  (int)
  usb_device.num_configurations = 1  (0x1)  (int)
  usb_device.num_interfaces = 2  (0x2)  (int)
  usb_device.num_ports = 0  (0x0)  (int)
  usb_device.product = 'UltraX Keyboard (Y-BL49)'  (string)
  usb_device.product_id = 49934  (0xc30e)  (int)
  usb_device.speed = 1.5 (1.5) (double)
  usb_device.vendor = 'Logitech, Inc.'  (string)
  usb_device.vendor_id = 1133  (0x46d)  (int)
  usb_device.version = 1.1 (1.1) (double)

As a consequence, they don't receive the input.x11_driver = 'evdev'
key, and Xorg doesn't see them, and the system is basically fscked up.

I don't know what caused this, or how it started: it used to work at
least insofar as Xorg seeing the devices (through evdev), and I don't
know what might have changed.  I upgraded hal-info from 20090716-1 to
20091130-1 and hal from 0.5.13-4 to 0.5.13-6 recently, so this may be
the cause, but I'm not even sure (I can't find where the place where
the info.category or info.capabilities keys get set).

Any thoughts on how to debug this?  How is HAL supposed to get the
values of these keys?

-- 
     David A. Madore
   ( http://www.madore.org/~david/ )





More information about the Pkg-utopia-maintainers mailing list