hal: ups as input?
Sean Middleditch
elanthis at awesomeplay.com
Thu Jan 15 06:15:14 EET 2004
I have an APC UPS unit attached via USB (for monitoring and such), and
HAL reports it as the capability 'input' - doesn't smell right to me.
;-) perhaps a 'ups' capability is needed.
Device info:
info.category = 'input' (string)
info.capabilities = 'input' (string)
info.udi =
'/org/freedesktop/Hal/devices/usb_51d_2_100_-1_AB0052242439' (string)
linux.kernel_devname = 'usb-0000:00:10.2-1' (string)
usb.version_bcd = 272 (0x110) (int)
usb.speed_bcd = 336 (0x150) (int)
usb.num_ports = 0 (0x0) (int)
usb.linux.parent_number = 2 (0x2) (int)
usb.linux.device_number = 2 (0x2) (int)
usb.level_number = 1 (0x1) (int)
usb.port_number = 1 (0x1) (int)
usb.bus_number = 4 (0x4) (int)
info.parent =
'/org/freedesktop/Hal/devices/usb_0_0_206_-1_0000:00:10.2' (string)
info.product = 'Back-UPS Pro 500' (string)
usb.product = 'Back-UPS Pro 500' (string)
info.vendor = 'American Power Conversion' (string)
usb.vendor = 'American Power Conversion' (string)
usb.vendor_id = 1309 (0x51d) (int)
usb.product_id = 2 (0x2) (int)
usb.serial = 'AB0052242439' (string)
usb.num_configurations = 1 (0x1) (int)
usb.device_protocol = 0 (0x0) (int)
usb.device_subclass = 0 (0x0) (int)
usb.device_class = 0 (0x0) (int)
usb.device_revision_bcd = 256 (0x100) (int)
usb.max_power = 15 (0xf) (int)
usb.can_wake_up = true (bool)
usb.is_self_powered = false (bool)
usb.configuration_value = 1 (0x1) (int)
usb.num_interfaces = 1 (0x1) (int)
linux.driver = 'usb' (string)
usb.linux.sysfs_path =
'/sys/devices/pci0000:00/0000:00:10.2/usb4/4-1' (string)
linux.sysfs_path_device =
'/sys/devices/pci0000:00/0000:00:10.2/usb4/4-1' (string)
linux.sysfs_bus_id = '4-1' (string)
linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:10.2/usb4/4-1'
(string)
--
Sean Middleditch <elanthis at awesomeplay.com>
AwesomePlay Productions, Inc.
More information about the xdg
mailing list