USB UPS
John Thacker
johnthacker at gmail.com
Wed Jun 17 23:32:34 PDT 2009
Has anyone had any luck getting a USB UPS to work with recent DeviceKit-power?
I have a USB UPS from Belkin whose idVendor (050d) and idProduct
(0900) match the entries in 95-devkit-power-hid.rules, but the device
doesn't show up under devkit-power -d at all, nor in
gnome-power-manager.
The device shows up perfectly well in dmesg:
usb 6-2: new low speed USB device using ohci_hcd and address 8
usb 6-2: New USB device found, idVendor=050d, idProduct=0900
usb 6-2: New USB device strings: Mfr=4, Product=20, SerialNumber=0
usb 6-2: Product: Belkin UPS
usb 6-2: Manufacturer: Belkin
usb 6-2: configuration #1 chosen from 1 choice
generic-usb 0003:050D:0900.0009: hiddev96,hidraw1: USB HID v1.11
Device [Belkin Belkin UPS] on usb-0000:00:13.1-2/input0
and appears in udevadm info -a --path=/bus/usb/devices/6-2:
looking at device '/devices/pci0000:00/0000:00:13.1/usb6/6-2':
KERNEL=="6-2"
SUBSYSTEM=="usb"
DRIVER=="usb"
ATTR{configuration}==""
ATTR{bNumInterfaces}==" 1"
ATTR{bConfigurationValue}=="1"
ATTR{bmAttributes}=="c0"
ATTR{bMaxPower}==" 20mA"
ATTR{urbnum}=="1364"
ATTR{idVendor}=="050d"
ATTR{idProduct}=="0900"
ATTR{bcdDevice}=="0001"
ATTR{bDeviceClass}=="00"
ATTR{bDeviceSubClass}=="00"
ATTR{bDeviceProtocol}=="00"
ATTR{bNumConfigurations}=="1"
ATTR{bMaxPacketSize0}=="8"
ATTR{speed}=="1.5"
ATTR{busnum}=="6"
ATTR{devnum}=="8"
ATTR{version}==" 1.10"
ATTR{maxchild}=="0"
ATTR{quirks}=="0x0"
ATTR{authorized}=="1"
ATTR{manufacturer}=="Belkin "
ATTR{product}=="Belkin UPS"
and lshal just fine.
The UPS showed up fine in g-p-m under Fedora 10, now it doesn't work
with Fedora 11 which uses the latest DeviceKit-power. (It hasn't
worked with any of the versions that came with Fedora 11, including
the update to the final 008 release.)
It seems to be a problem for people using Fedora 11 with other brands
of UPS as well:
https://bugzilla.redhat.com/show_bug.cgi?id=504496
John Thacker
More information about the devkit-devel
mailing list