[Nut-upsuser] Eaton 5PX broken interrupt on usbhid-ups, also pollfreq vs pollinterval?
nut01.kj at sagebrushnetworks.com
Fri Jan 10 00:37:10 UTC 2014
Linux NUT 2.7.1
Eaton 5PX usbhid-ups
It would appear that interrupts are not actually working on my 5PX using
the usbhid-ups driver. I will be trying the serial mge-shut driver next.
It just seemed like it was working before because of the default
pollinterval of 2 seconds. The status update comes in during the
pollinterval no matter what I have pollfreq set to. And I can set
pollonly and get the same behavior.
With the driver usbhid-ups, what is the relationship between pollfreq
and pollinterval? It looks like pollinterval overrides pollfreq.
usbhid-ups -a ups -DDDDD -x pollfreq=30 -i 30 2>&1 | egrep
8.831572 Quick update...
8.832351 send_to_all: SETINFO ups.status "OL CHRG"
9.084535 Quick update...
39.085481 Quick update...
(AC removed at this point)
68.844373 Full update...
69.511072 send_to_all: SETINFO ups.status "OB DISCHRG"
98.839093 Quick update...
98.955823 send_to_all: SETINFO ups.status "OL CHRG"
More information about the Nut-upsuser