[Nut-upsdev] usbhid-ups fails with Belkin F6C120-UNV in nut-2.4.3

Michal Hlavinka mhlavink at redhat.com
Mon Mar 22 18:35:05 UTC 2010


Hi,

one Fedora user has reported this issue with cyberpower 800AVR using usbhid-
ups

> > The change in SVN r2098 triggers the problem. By looking at the usbmon
> > output I see that this device fails to respond to the get_report
> > requests when the request size is 512 bytes.
> 
> Thanks for reporting this. Can you try if fixing the size to 8 bytes
> (instead of SMALLBUF) helps? You may wish to change both of the
> following lines in in 'drivers/libhid.c':
> 
> 144 	        unsigned char   buf[8];
> 472 	        unsigned char   buf[8];

He confirmed this fixes the problem for him too

Michal




More information about the Nut-upsdev mailing list