Comment 2 for bug 779512

Revision history for this message
Arnaud Quette (aquette) wrote : Re: [Bug 779512] [NEW] nut-2.6.0-1ubuntu3 behavior regression

2011/5/8 Mr. Muskrat <email address hidden>

> Public bug reported:
>
> Binary package hint: nut
>
> Prior to upgrading to Natty, I had the nut-2.4.3-1ubuntu5 package and it
> was working correctly.
>

right, but the fix made for the kind of devices you have (ie not fully
complying to USB standards) broke other devices / features.

the right fix would have to be in libusb, but since we're still on 0.1
(which is not maintained anymore), the solution may come from the port to
libusb 1.0.

After upgrading to Natty, I have the nut-2.6.0-1ubuntu3 package and it
> is not working correctly. Here's my release info:
>
> •[x4linux:~] mmusgrove $ lsb_release -rd
> Description: Ubuntu 11.04
> Release: 11.04
>
> The symptom is that it can't initialize data from HID UPS and so the
> driver fails to start.
>
> •[x4linux:~] mmusgrove $ sudo upsdrvctl start
> Network UPS Tools - UPS driver controller 2.6.0
> Network UPS Tools - Generic HID driver 0.35 (2.6.0)
> USB communication driver 0.31
> Using subdriver: CyberPower HID 0.3
> libusb_get_report: No error
> Can't initialize data from HID UPS
> Driver failed to start (exit status=1)
>
> (...)

could you please do the following test and send back the output:
- first, stop nut
- then "export USB_DEBUG=3"
- start the driver using "sudo /lib/nut/usbhid-ups -DDDD -a <upsname>"
where <upsname> is the one from ups.conf.

- the output of "dpkg -l '*libusb*'" would also be useful.

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/