I've got a usb disk, hal finds it and identifies it as a JUMPDRIVE
ELITE. This value is not in /usr/share/hwdata/usb.ids. My question is
where did hal get this info, and how can I retrieve it given only the
vendor id and device id (5dc:a400)
------------------------------------------------------------
udi =
'/org/freedesktop/Hal/devices/usb_device_5dc_a400_00000000000000000001'
info.udi =
'/org/freedesktop/Hal/devices/usb_device_5dc_a400_00000000000000000001'
(string)
linux.subsystem = 'usb' (string)
linux.hotplug_type = 1 (0x1) (int)
usb_device.bus_number = 5 (0x5) (int)
usb_device.can_wake_up = false (bool)
usb_device.is_self_powered = false (bool)
usb_device.version_bcd = 512 (0x200) (int)
usb_device.speed_bcd = 294912 (0x48000) (int)
usb_device.serial = '00000000000000000001' (string)
usb_device.linux.device_number = 9 (0x9) (int)
usb_device.num_ports = 0 (0x0) (int)
usb_device.max_power = 100 (0x64) (int)
usb_device.device_revision_bcd = 256 (0x100) (int)
info.product = 'JUMPDRIVE ELITE' (string)
usb_device.product = 'JUMPDRIVE ELITE' (string)
info.vendor = 'Lexar Media, Inc.' (string)
usb_device.vendor = 'Lexar Media, Inc.' (string)
usb_device.product_id = 41984 (0xa400) (int)
usb_device.vendor_id = 1500 (0x5dc) (int)
usb_device.device_protocol = 0 (0x0) (int)
usb_device.device_subclass = 0 (0x0) (int)
usb_device.device_class = 0 (0x0) (int)
usb_device.num_interfaces = 1 (0x1) (int)
usb_device.num_configurations = 1 (0x1) (int)
usb_device.configuration_value = 1 (0x1) (int)
usb_device.linux.sysfs_path =
'/sys/devices/pci0000:00/0000:00:1d.7/usb5/5-4' (string)
info.linux.driver = 'usb' (string)
info.bus = 'usb_device' (string)
info.parent =
'/org/freedesktop/Hal/devices/usb_device_0_0_0000_00_1d_7' (string)
linux.sysfs_path_device =
'/sys/devices/pci0000:00/0000:00:1d.7/usb5/5-4' (string)
-Mike
--
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list