Why hello everyone out there in Gentoo land
Just a request for information (lots of it actually, as much as possible
)
What I am looking for is, if you are using a USB Keyboard or mouse, and you have hal installed, I would like the following informations
From either lshal or using the hal-device-manager,
select your usb keyboard/mouse (or find it in the output)
info.udi, info.product, usb_device.{device_revision_bcd,product,product_id,speed_bcd,vendor,vendor_id,version_bcd}
Also, if you have to use xmodmap, or you have it setup in your xorg.conf – the various configurations that you use. Please send them to my email address steevatgentoodotorg
I am trying to gather as many of these various device informations as much as possible – and if you aren't using Gentoo, and you read this planet, or this blog – any Linux distro where you can easily get this information, those informations would also be greatly appreciated.
Thanks in advance everyone who responds!
4 Comments
Out of interest, why? What are you planning to use this for?
In gnome, with gnome-volume-manager, you can run an app whenever a usb keyboard or mouse gets plugged in, so the Gentopia team is planning on writing an app to do just that – when you plugin one of these devices, it will (eventually) just work
udi = ‘/org/freedesktop/Hal/devices/usb_device_d62_1c_noserial’
info.udi = ‘/org/freedesktop/Hal/devices/usb_device_d62_1c_noserial’ (string)
linux.subsystem = ‘usb’ (string)
linux.hotplug_type = 1 (0×1) (int)
usb_device.bus_number = 2 (0×2) (int)
usb_device.can_wake_up = true (bool)
usb_device.is_self_powered = false (bool)
usb_device.version_bcd = 272 (0×110) (int)
usb_device.speed_bcd = 336 (0×150) (int)
usb_device.linux.device_number = 4 (0×4) (int)
usb_device.num_ports = 0 (0×0) (int)
usb_device.max_power = 100 (0×64) (int)
usb_device.device_revision_bcd = 514 (0×202) (int)
info.product = ‘USB Combo Keyboard’ (string)
usb_device.product = ‘USB Combo Keyboard’ (string)
info.vendor = ‘Darfon Electronics Corp.’ (string)
usb_device.vendor = ‘Darfon Electronics Corp.’ (string)
usb_device.product_id = 28 (0×1c) (int)
usb_device.vendor_id = 3426 (0xd62) (int)
usb_device.device_protocol = 0 (0×0) (int)
usb_device.device_subclass = 0 (0×0) (int)
usb_device.device_class = 0 (0×0) (int)
usb_device.num_interfaces = 2 (0×2) (int)
usb_device.num_configurations = 1 (0×1) (int)
usb_device.configuration_value = 1 (0×1) (int)
usb_device.linux.sysfs_path = ‘/sys/devices/pci0000:00/0000:00:02.1/usb2/2-2′ (string)
info.linux.driver = ‘usb’ (string)
info.bus = ‘usb_device’ (string)
info.parent = ‘/org/freedesktop/Hal/devices/usb_device_0_0_0000_00_02_1′ (string)
linux.sysfs_path_device = ‘/sys/devices/pci0000:00/0000:00:02.1/usb2/2-2′ (string)
linux.sysfs_path = ‘/sys/devices/pci0000:00/0000:00:02.1/usb2/2-2′ (string)