[Nut-upsdev] APC SmartUPS 1500 not working for newhidups and usbhid-ups

Edwin Chiu edwin at thetomatoe.com
Tue Mar 6 05:54:27 CET 2007


Hi,

Can't get newhidups (2.0.5) or usbhid-ups (SVN trunk) to work

2.0.5 hidups seems to work, but I was hoping for more information... 
like temperature, etc.

Tried newhidups and usbhid-ups, but they don't seem to detect my UPS... 
should I switch back to serial? Will I get more information? (trying not 
to move back to apcupsd, since i have a mixed environment)

Here is some debug output (newhidups looks about the same)

./usbhid-ups -DD /dev/usb/hid/hiddev0
Network UPS Tools: 0.28 USB communication driver 0.28 - core 0.30 (2.1.0)

debug level is '2'
Checking device (0000/0000) (002/001)
- VendorID: 0000
- ProductID: 0000
- Manufacturer: unknown
- Product: unknown
- Serial Number: unknown
- Bus: 002
Trying to match device
Device does not match - skipping
Checking device (0000/0000) (001/001)
- VendorID: 0000
- ProductID: 0000
- Manufacturer: unknown
- Product: unknown
- Serial Number: unknown
- Bus: 001
Trying to match device
Device does not match - skipping
Checking device (051D/0002) (001/002)
- VendorID: 051d
- ProductID: 0002
- Manufacturer: unknown
- Product: unknown
- Serial Number: unknown
- Bus: 001
Trying to match device
Device matches
failed to claim USB device, trying 2 more time(s)...
detaching kernel driver from USB device...
failed to detach kernel driver from USB device...
trying again to claim USB device...
failed to claim USB device, trying 1 more time(s)...
detaching kernel driver from USB device...
failed to detach kernel driver from USB device...
trying again to claim USB device...
failed to claim USB device, trying 0 more time(s)...
detaching kernel driver from USB device...
failed to detach kernel driver from USB device...
trying again to claim USB device...
Unable to get HID descriptor (error sending control message: Operation 
not permitted)
HID descriptor retrieved (Reportlen = 1040)
Unable to get Report descriptor (-1): Operation not permitted
Checking device (045E/0083) (001/003)
- VendorID: 045e
- ProductID: 0083
- Manufacturer: unknown
- Product: unknown
- Serial Number: unknown
- Bus: 001
Trying to match device
Device does not match - skipping
No appropriate HID device found
No matching HID UPS found

And some snipped output of /proc/bus/usb/devices

T:  Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  2 Spd=1.5 MxCh= 0
D:  Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=051d ProdID=0002 Rev= 0.06
S:  Manufacturer=American Power Conversion
S:  Product=Smart-UPS 1500 FW:601.3.D USB FW:8.1

Thanks,
Edwin



More information about the Nut-upsdev mailing list