[Nut-upsuser] Problem with NUT and an Eaton 5PX UPS, usbhid-ups won't start

Charles Lepple clepple at gmail.com
Tue Feb 12 04:20:24 UTC 2013


On Feb 8, 2013, at 3:16 PM, Stefan wrote:

> somebody lowered the default timeout:
> 
> /* USB standard state 5000, but we've decreased it to
> * improve reactivity */
> #define USB_TIMEOUT 4000
> 
Hmm, that's been like that for over 10 years. We can probably bump that back up to 5000 or 6000.

However, that timeout is probably a little high for the periodic polling that happens every update cycle. That's probably where the reactivity comment comes from - many Eaton/MGE UPSes will occasionally time out if they are busy calculating load, or whatever they do.

The right solution is probably to use the standard timeout for retrieving descriptors, and use a lower value for periodic polling where the data packet is shorter anyway.

> Turns out it was a matter of 0.4s, so the USB standard 5 seconds would
> have worked as expected.
> 
> Now where do I bug report this?

As Kris mentioned, this list is good, but sometimes things tend to get lost in the shuffle.

If you have an Alioth account, we have a few legacy trackers there:

   https://alioth.debian.org/tracker/?group_id=30602

We're in the process of moving over to Github:

   https://github.com/networkupstools/nut/issues

Or you can just ping us on the list every now and then.

-- 
Charles Lepple
clepple at gmail






More information about the Nut-upsuser mailing list