[Nut-upsuser] usbhid-ups works, upsc doesn't - help?

Arjen de Korte nut+users at de-korte.org
Sat Oct 18 17:12:08 UTC 2008


Citeren Charles Lepple <clepple at gmail.com>:

>>>> Got -22 HID objects...
>>>
>>> Hmm, this doesn't look good. The number of HID objects should be positive.

Not if the call to usb_interrupt_read() in libusb.c (line 400)  
returned an error (which is the case here). We might want to change  
the debug output for cosmetic reasons here, but this is harmless  
during normal operation. Any return value of zero or below will result  
in not attempting to read from the interrupt pipeline.

Apparently, this device/OS doesn't support this. It might be  
interesting to know if this device has a IN endpoint at all (running  
'lsusb -v' should reveal that) and if it has one, if it is on the  
(hardcoded) 0x81 EP descriptor.

Best regards, Arjen
-- 
Please keep list traffic on the list



More information about the Nut-upsuser mailing list