[Nut-upsuser] Generic UPS driver

Ariel Wainer ari at ariwainer.com.ar
Sun Dec 22 04:36:17 UTC 2013


On 21/12/13 21:31, Ariel Wainer wrote:
>
> Ok, I did this, here is how it went (approximately):
> t=0     power on the UPS, with some load.
> t=2 min unplug the UPS from mains, alarm goes off.
> t=33 min low battery alarm goes off.
> t=35 min ups powers down.
>

Ok, trying to make sense of the capture (again: it's all guessing, I
have no experience with usb protocol):

Up until packet #255/131 seconds  in the pcap file, the payload is 0x03,
then  it changes to 0x01 , and then it changes again to 0x02 at  packet
#3975/2081 seconds.

It seems like:
0x01 = AC failed
0x02 = Battery low.
0x03 = AC is ok

It looks simillar to the UPS implementation example from
http://www.usb.org/developers/devclass_docs/pdcv10.pdf



More information about the Nut-upsuser mailing list