[Bug 915985] Re: [Nut-upsuser] libusb_get_report: Unknown error

2012-04-12 Thread Arnaud Quette
2012/4/11 Robert Ayrapetyan robert.ayrapet...@gmail.com

 Seems I've missed confirmation mail somewhere, now registered.


  have you patched your 2.6.1 or used trunk + the patch?
 I've used trunk + the patch.


  I'd be interested in a trace without the patch, to
  see if we're still on the overflow side.

 trunk (rev.3529) with no patch log attached.

 Btw I've checked all logs I've sent so far - all of them contain:

   1.199490 libusb_get_report: Unknown error
   1.199512 Can't retrieve Report 0c: Input/output error

 Seems you are talking about Dmitry's case (overflow).


you're right: your issues are the same, but BSD doesn't report EOVERFLOW
has it should.
while Dmitry is running on Linux, the patch should work there.

@Robert: could you please run the test again (with wathever version), using
debug level 5 (-D) and doing export USB_DEBUG=3 before launching the
driver?

if there is no way to catch overflow on BSD, I fear I'll have to create a
driver option to bypass this...

cheers,
Arno




 On 04/11/12 16:35, Arnaud Quette wrote:


 2012/4/11 Robert Ayrapetyan robert.ayrapet...@gmail.com
 mailto:robert.ayrapetyan@**gmail.com robert.ayrapet...@gmail.com


Hi.


 Hi Robert,

 please check your subscription.
 I'm still told that you're not subscribed!

Mine output after patch looks same (attached).


 in fact, it's different.
 It's no more an overflow error, but an I/O error!

 have you patched your 2.6.1 or used trunk + the patch?
 in the latter case, I'd be interested in a trace without the patch, to
 see if we're still on the overflow side.

On Wed, Apr 11, 2012 at 12:55 AM, Arnaud Quette
aquette@gmail.com mailto:aquette@gmail.com** wrote:
  Hi Robert and Dmitry,
 
  I'm crossing LP with the nut mailing list, since this is the same
EOVERFLOW
  issue.
 
  @Dmitry: it comes out that my previous patch was missing the
libusb.c part
  :-/
 
  to both, the attached patch should fix your issue.
  please send compressed debug output to confirm the fix.
 
  I'll have to do some more testing tomorrow since it's blind
coded (Ie,
  just compiled, not tested with HW)
 
  cheers,
  Arnaud


 cheers,
 Arnaud
 --
 Linux / Unix Expert RD - Eaton - http://powerquality.eaton.com
 Network UPS Tools (NUT) Project Leader - http://www.networkupstools.**
 org/ http://www.networkupstools.org/
 Debian Developer - http://www.debian.org
 Free Software Developer - http://arnaud.quette.free.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


[Bug 915985] Re: [Nut-upsuser] libusb_get_report: Unknown error

2012-04-11 Thread Arnaud Quette
2012/4/11 Robert Ayrapetyan robert.ayrapet...@gmail.com

 Hi.


Hi Robert,

please check your subscription.
I'm still told that you're not subscribed!

Mine output after patch looks same (attached).


in fact, it's different.
It's no more an overflow error, but an I/O error!

have you patched your 2.6.1 or used trunk + the patch?
in the latter case, I'd be interested in a trace without the patch, to see
if we're still on the overflow side.

On Wed, Apr 11, 2012 at 12:55 AM, Arnaud Quette aquette@gmail.com
 wrote:
  Hi Robert and Dmitry,
 
  I'm crossing LP with the nut mailing list, since this is the same
 EOVERFLOW
  issue.
 
  @Dmitry: it comes out that my previous patch was missing the libusb.c
 part
  :-/
 
  to both, the attached patch should fix your issue.
  please send compressed debug output to confirm the fix.
 
  I'll have to do some more testing tomorrow since it's blind coded (Ie,
  just compiled, not tested with HW)
 
  cheers,
  Arnaud


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/

-- 
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


[Bug 915985] Re: [Nut-upsuser] libusb_get_report: Unknown error

2012-04-10 Thread Arnaud Quette
Hi Robert and Dmitry,

I'm crossing LP with the nut mailing list, since this is the same EOVERFLOW
issue.

@Dmitry: it comes out that my previous patch was missing the libusb.c part
:-/

to both, the attached patch should fix your issue.
please send compressed debug output to confirm the fix.

I'll have to do some more testing tomorrow since it's blind coded (Ie,
just compiled, not tested with HW)

cheers,
Arnaud


** Attachment added: apc-hid-overflow-2.diff
   
https://bugs.launchpad.net/bugs/915985/+attachment/3043072/+files/apc-hid-overflow-2.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