Edwin Chiu
2007-Mar-06 04:55 UTC
[Nut-upsdev] APC SmartUPS 1500 not working for newhidups and usbhid-ups
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
Charles Lepple
2007-Mar-06 05:32 UTC
[Nut-upsdev] APC SmartUPS 1500 not working for newhidups and usbhid-ups
On 3/5/07, Edwin Chiu <edwin@thetomatoe.com> wrote:> 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 permittedPlease read the installation instructions, especially the part about setting up hotplug or udev to automatically change ownership of the /proc/bus/usb/<bus>/<dev> node. -- - Charles Lepple
Possibly Parallel Threads
- Problems with APC Smart-UPS 1500 USB and newhidups driver
- Problems with APC Smart-UPS 1500 USB and, newhidups driver
- Re: nut 2.0.4 and APC Back-UPS Pro 1500
- APC SmartUPS 2200XL + UDEV + USB = tcgetattr : Invalid argument
- APC smartups 1500 is broken with usbhid-ups