Re: [Bug 915985] Re: usbhid-ups regression (APC BE525-RS)

2012-09-11 Thread Arnaud Quette
Dmitry,

2012/9/11 Frederic Bohe 915...@bugs.launchpad.net

 Please see http://lists.alioth.debian.org/pipermail/nut-
 upsuser/2012-September/007909.html


please check the above reference pointed by Fred.
This is the solution you were waiting for.

To Ubuntu packagers fellows: the patch to be applied are
http://trac.networkupstools.org/projects/nut/changeset/3721
http://trac.networkupstools.org/projects/nut/changeset/3723

These patches also applies to 2.6.1 (the version of the present report),
though there are a few hunks on the first one.
Since these only impacts source files, there is nothing else required than
patching before the build.

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

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to nut in Ubuntu.
https://bugs.launchpad.net/bugs/915985

Title:
  usbhid-ups regression (APC BE525-RS)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nut/+bug/915985/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


Re: [Bug 915985] Re: usbhid-ups regression (APC BE525-RS)

2012-06-11 Thread Arnaud Quette
2012/6/9 Dmitry Andreychuk 915...@bugs.launchpad.net

 I'll test it next week, as soon as i get to the hardware.


great, thanks.

cheers,
-- Arnaud

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to nut in Ubuntu.
https://bugs.launchpad.net/bugs/915985

Title:
  usbhid-ups regression (APC BE525-RS)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nut/+bug/915985/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


Re: [Bug 915985] Re: usbhid-ups regression (APC BE525-RS)

2012-01-23 Thread Arnaud Quette
2012/1/19 Dmitry Andreychuk 915...@bugs.launchpad.net:
 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 RD - 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/


** Patch added: apc-hid-overflow.diff
   
https://bugs.launchpad.net/bugs/915985/+attachment/2689102/+files/apc-hid-overflow.diff

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to nut in Ubuntu.
https://bugs.launchpad.net/bugs/915985

Title:
  usbhid-ups regression (APC BE525-RS)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nut/+bug/915985/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


Re: [Bug 915985] Re: usbhid-ups regression (APC BE525-RS)

2012-01-18 Thread Arnaud Quette
Hi Sergey,

cc'ing NUT users list, since others may be interested in the topic
(for those, follow the bug link below).

2012/1/16 Dmitry Andreychuk 915...@bugs.launchpad.net:
 Hi Arnaud,

 Thanks for your reply! Attaching output for 2.6.0-1ubuntu3.


 ** Attachment added: usbhid-ups_2.6.0-1ubuntu3.log
   
 https://bugs.launchpad.net/ubuntu/+source/nut/+bug/915985/+attachment/2676822/+files/usbhid-ups_2.6.0-1ubuntu3.log

 --
 You received this bug notification because you are subscribed to nut in
 Ubuntu.
 https://bugs.launchpad.net/bugs/915985

 Title:
  usbhid-ups regression (APC BE525-RS)

ok, I got it!
first, both of your issues are related.
we reverted in 2.6.1 a change on how we get data from the UPS.
we were previously requesting a very large size, while we now only ask
for the data actual size.

your device is reporting extra garbage data (buggy firmware) when
requesting (Feature report) battery.charge
(UPS.PowerSummary.RemainingCapacity), while the notified version
(Input report, sent by the device upon changes, like SNMP traps) is
good.

this cause, at libusb level, an EOVERFLOW with 2.6.1+, which is logged
every 30 sec. (polling freq), and cause this data to not be processed.

now, Input report data should take over, and feed battery.charge!
I'd be interested in seeing a debug output of a faulty version
(2.6.1+), that includes a power failure.

the bad news: ATM, I've no solution that can be applied upstream and
distributed.
the good news: well, you already know: keep running 2.6.0 for the time being.

cheers,
Arnaud

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to nut in Ubuntu.
https://bugs.launchpad.net/bugs/915985

Title:
  usbhid-ups regression (APC BE525-RS)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nut/+bug/915985/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs