Comment 7 for bug 915985

Revision history for this message
Arnaud Quette (aquette) wrote : Re: [Bug 915985] Re: usbhid-ups regression (APC BE525-RS)

2012/1/19 Dmitry Andreychuk <email address hidden>:
> Attaching logs with power failure for versions 2.6.1-2ubuntu2 and 2.6.3.
> Power failures and power returns are marked with "NOTE" in the logs.
>
> I noticed that UPS.PowerSummary.RemainingCapacity came with input report
> only once. The device didn't send it upon changes for some reason.

buggy firmware again...

Attached is a patch against the latest development version (Subversion trunk).
It also applies on 2.6.2 and 2.6.3 using (from within the top source dir):
$ patch -p0 < /path/to/apc-hid-overflow.diff

Could you please test it (same procedure as before) and report back
(including a driver debug output) to see if things are going better?

cheers,
Arnaud
--
Linux / Unix Expert R&D - Eaton - http://powerquality.eaton.com
Network UPS Tools (NUT) Project Leader - http://www.networkupstools.org/
Debian Developer - http://www.debian.org
Free Software Developer - http://arnaud.quette.free.fr/