[Nut-upsdev] newhidups (2.03-pre2) not working with APC Back-UPS

Peter Selinger selinger at mathstat.dal.ca
Thu Jan 26 20:07:30 UTC 2006


My wife has an APC Back-UPS ES 650, and ups.status is reported
normally.

The way to solve the puzzle is to post the USB's Usage Tree to the
list; you can generate it by running

./drivers/newhidups -u root -DD -a UPS auto

and copy/pasting the debugging output, particularly the lines starting
with "Path".

-- Peter

Charlie Brady wrote:
> 
> 
> On Thu, 26 Jan 2006, Charlie Brady wrote:
> 
> > What variable might upsmon be polling which is not supported by newhidups 
> > for this UPS? Or how can I find out for myself.
> 
> Found it:
> 
> ...
> [pid 20933] write(1, "get_var: UPS at localhost / status\n", 32get_var: 
> UPS at localhost / status
> ) = 32
> [pid 20933] write(3, "GET VAR UPS ups.status\n", 23) = 23
> [pid 20933] read(3, "E", 1)             = 1
> [pid 20933] read(3, "R", 1)             = 1
> ...
> 
> Next puzzle is to find out why "ups.status" is not supported.
> 
> --
> Charlie
> 
> 
> _______________________________________________
> Nut-upsdev mailing list
> Nut-upsdev at lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/nut-upsdev
> 




More information about the Nut-upsdev mailing list