On Dec 21, 2011, at 8:40 PM, Cliff Wright wrote:

> A little over a month ago I acquired a CyberPower CP825AVR-G
> ups. I found the usb was reporting the same vendor id (0x0501)

(side note: 0x0501 is the product ID - the CyberPower vendor ID is defined 
earlier in the file as 0x0764)

> as a device requiring battery voltage scaling. However the
> CyberPower does not require the voltage scaling, and was thus
> showing the wrong voltage. I grabbed the software and removed
> the battery scaling from the file drivers/cps-hid.c(line 54) to
> make it work for me. Looks like the same usb device must have
> been used on another product, so either the product id will
> have to also be checked, or maybe add another config item
> to specify battery voltage scaling.

Thanks for the heads-up.

If you are using Linux, what does lsusb report? Perhaps there is something else 
in the USB device descriptor that can be used to automatically detect whether 
the voltage needs to be scaled.

-- 
Charles Lepple
_______________________________________________
Nut-upsdev mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsdev

Reply via email to