[Nut-upsuser] APC Smart-UPS C1500 connected by usb

Charles Lepple clepple at gmail.com
Mon Nov 10 12:28:00 UTC 2014

On Nov 9, 2014, at 8:47 PM, Selva Nair <selva.nair at gmail.com> wrote:

> It doesn't look like we have an entry for a C1500 yet. Would you care to submit the output of upsc, upsrw and upscmd -l?
> Here it is 

> If you want to check for any hidden variables, stop the driver, and run "/lib/nut/usbhid-ups -a name -DDD 2>&1 | tee /tmp/APC_Smart-UPS-C1500.log" as root for a few minutes (it will loop endlessly; press ^C to stop). Please gzip the log before attaching it and sending back to the list.
> gzipped output is attached. 
> Thanks for looking into this.

The only thing that does not appear to be handled is this:

   0.225236	Can't retrieve Report 89: Broken pipe
   0.225329	Path: UPS.ff8600fd, Type: Input, ReportID: 0x89, Offset: 0, Size: 8
   0.226221	Can't retrieve Report 90: Broken pipe
   0.226317	Path: UPS.ff8600fc, Type: Output, ReportID: 0x90, Offset: 0, Size: 8
   0.227216	refresh_report_buffer: expected 33 bytes, but got 2 instead
   0.227312	Report[err]: (2 bytes) => 96 00

Since it says "Can't retrieve Report...", the usual method of fetching the values won't work. This would require a lot of extra investigation of the protocol between the vendor software and the UPS.

Charles Lepple
clepple at gmail

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/nut-upsuser/attachments/20141110/33ec2c76/attachment.html>

More information about the Nut-upsuser mailing list