Comment 25 for bug 779512

Revision history for this message
Martin Ewing (martin-s-ewing) wrote : Re: [Bug 779512] Re: nut-2.6.0-1ubuntu3 behavior regression

On Fri, Dec 16, 2011 at 3:31 PM, Arnaud Quette <email address hidden>wrote:

> Hi Martin,
>
> I'm adding the nut users list, since other may be interested in.
>
> 2011/12/16 Martin Ewing <email address hidden>
>
> > I do still have an issue with NUT on Ubuntu Natty (64 bit).
> >
> > I attach my latest info. Will appreciate any further suggestions about
> > how to tame this problem - whether my configuration or otherwise.
> >
> > Thanks!
> > Martin
> >
> >
> > ** Attachment added: "ups_problem.txt"
> >
> >
> https://bugs.launchpad.net/ubuntu/+source/nut/+bug/779512/+attachment/2636234/+files/ups_problem.txt
> >
>
> What is strange, as per your next mail, is that "ls /dev/usb" shows
> "hiddev1"!
> Can you please forward us an excerpt of your system log, using the "usb"
> pattern.
>
> cheers,
> Arnaud
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/779512
>
> Title:
> nut-2.6.0-1ubuntu3 behavior regression
>
> Status in “nut” package in Ubuntu:
> Triaged
>
> Bug description:
> Binary package hint: nut
>
> Prior to upgrading to Natty, I had the nut-2.4.3-1ubuntu5 package and
> it was working correctly.
>
> 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)
>
> This appears to be the old behavior from 2.4.x prior to 2.4.3.
>
> This was reported for Debian months ago:
>
> http://www.google.com/search?source=ig&hl=en&q=nut+2.6.0-1+libusb_get_report%3A+No+error+Can%27t+initialize+data+from+HID+UPS
>
> Possible related to Bug #701182 (although that is for 2.4.3-2)
> https://bugs.launchpad.net/ubuntu/+source/nut/+bug/701182
>
> ProblemType: Bug
> DistroRelease: Ubuntu 11.04
> Package: nut 2.6.0-1ubuntu3
> ProcVersionSignature: Ubuntu 2.6.38-8.42-generic 2.6.38.2
> Uname: Linux 2.6.38-8-generic x86_64
> NonfreeKernelModules: fglrx
> Architecture: amd64
> Date: Sun May 8 09:37:55 2011
> InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release amd64
> (20101007)
> KernelVersion: Linux x4linux 2.6.38-8-generic #42-Ubuntu SMP Mon Apr 11
> 03:31:24 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux
> ProcEnviron:
> LANGUAGE=en_US:en
> PATH=(custom, user)
> LANG=en_US.UTF-8
> SHELL=/bin/bash
> SourcePackage: nut
> UpgradeStatus: Upgraded to natty on 2011-05-06 (2 days ago)
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/ubuntu/+source/nut/+bug/779512/+subscriptions
>

Arnaud -

I'm not sure how best to reply, so I'll just use this e-mail and put my
syslog inline. This includes the last boot that occurred before the
listings I gave previously:

Dec 16 10:02:10 gimli kernel: [92892.496522] usb 6-1: new low speed USB
device using uhci_hcd and address 2
Dec 16 10:02:11 gimli kernel: [92892.953384] generic-usb
0003:050D:1100.0004: hiddev0,hidraw2: USB HID v1.11 Device [Belkin Belkin
UPS] on usb-0000:00:1d.0-1/input0
Dec 16 10:18:19 gimli kernel: [ 1.992257] ehci_hcd: USB 2.0 'Enhanced'
Host Controller (EHCI) Driver
Dec 16 10:18:19 gimli kernel: [ 1.992321] ehci_hcd 0000:00:1a.7: new USB
bus registered, assigned bus number 1
Dec 16 10:18:19 gimli kernel: [ 2.017861] ehci_hcd 0000:00:1a.7: USB 2.0
started, EHCI 1.00
Dec 16 10:18:19 gimli kernel: [ 2.017985] hub 1-0:1.0: USB hub found
Dec 16 10:18:19 gimli kernel: [ 2.018098] ehci_hcd 0000:00:1d.7: new USB
bus registered, assigned bus number 2
Dec 16 10:18:19 gimli kernel: [ 2.037847] ehci_hcd 0000:00:1d.7: USB 2.0
started, EHCI 1.00
Dec 16 10:18:19 gimli kernel: [ 2.037971] hub 2-0:1.0: USB hub found
Dec 16 10:18:19 gimli kernel: [ 2.038029] ohci_hcd: USB 1.1 'Open' Host
Controller (OHCI) Driver
Dec 16 10:18:19 gimli kernel: [ 2.038038] uhci_hcd: USB Universal Host
Controller Interface driver
Dec 16 10:18:19 gimli kernel: [ 2.038109] uhci_hcd 0000:00:1a.0: new USB
bus registered, assigned bus number 3
Dec 16 10:18:19 gimli kernel: [ 2.038239] hub 3-0:1.0: USB hub found
Dec 16 10:18:19 gimli kernel: [ 2.038329] uhci_hcd 0000:00:1a.1: new USB
bus registered, assigned bus number 4
Dec 16 10:18:19 gimli kernel: [ 2.038459] hub 4-0:1.0: USB hub found
Dec 16 10:18:19 gimli kernel: [ 2.038542] uhci_hcd 0000:00:1a.2: new USB
bus registered, assigned bus number 5
Dec 16 10:18:19 gimli kernel: [ 2.047988] hub 5-0:1.0: USB hub found
Dec 16 10:18:19 gimli kernel: [ 2.048076] uhci_hcd 0000:00:1d.0: new USB
bus registered, assigned bus number 6
Dec 16 10:18:19 gimli kernel: [ 2.048200] hub 6-0:1.0: USB hub found
Dec 16 10:18:19 gimli kernel: [ 2.048282] uhci_hcd 0000:00:1d.1: new USB
bus registered, assigned bus number 7
Dec 16 10:18:19 gimli kernel: [ 2.048404] hub 7-0:1.0: USB hub found
Dec 16 10:18:19 gimli kernel: [ 2.048490] uhci_hcd 0000:00:1d.2: new USB
bus registered, assigned bus number 8
Dec 16 10:18:19 gimli kernel: [ 2.048615] hub 8-0:1.0: USB hub found
Dec 16 10:18:19 gimli kernel: [ 2.577602] usb 2-3: new high speed USB
device using ehci_hcd and address 3
Dec 16 10:18:19 gimli kernel: [ 2.847392] usb 2-5: new high speed USB
device using ehci_hcd and address 4
Dec 16 10:18:19 gimli kernel: [ 3.367877] Initializing USB Mass Storage
driver...
Dec 16 10:18:19 gimli kernel: [ 3.368086] USB Mass Storage support
registered.
Dec 16 10:18:19 gimli kernel: [ 3.373063] usbhid: USB HID core driver
Dec 16 10:18:19 gimli kernel: [ 3.426953] usb 3-1: new full speed USB
device using uhci_hcd and address 2
Dec 16 10:18:19 gimli kernel: [ 3.896667] usb 3-2: new low speed USB
device using uhci_hcd and address 3
Dec 16 10:18:19 gimli kernel: [ 4.356309] usb 6-1: new low speed USB
device using uhci_hcd and address 2
Dec 16 10:18:19 gimli kernel: [ 4.802324] generic-usb
0003:050D:1100.0004: hiddev0,hidraw0: USB HID v1.11 Device [Belkin Belkin
UPS] on usb-0000:00:1d.0-1/input0
Dec 16 10:18:19 gimli kernel: [ 22.880415] usblp0: USB Bidirectional
printer dev 2 if 0 alt 1 proto 2 vid 0x03F0 pid 0x0317
Dec 16 10:18:19 gimli kernel: [ 23.193489] USB Video Class driver (v1.0.0)
Dec 16 10:18:19 gimli kernel: [ 23.223021] input: Logitech USB Receiver
as /devices/pci0000:00/0000:00:1a.0/usb3/3-2/3-2:1.0/input/input3
Dec 16 10:18:19 gimli kernel: [ 23.223119] logitech 0003:046D:C517.0002:
input,hidraw1: USB HID v1.10 Keyboard [Logitech USB Receiver] on
usb-0000:00:1a.0-2/input0
Dec 16 10:18:19 gimli kernel: [ 23.252510] input: Logitech USB Receiver
as /devices/pci0000:00/0000:00:1a.0/usb3/3-2/3-2:1.1/input/input4
Dec 16 10:18:19 gimli kernel: [ 23.252673] logitech 0003:046D:C517.0003:
input,hiddev0,hidraw2: USB HID v1.10 Mouse [Logitech USB Receiver] on
usb-0000:00:1a.0-2/input1
Dec 16 10:18:23 gimli gpsd[2281]: gpsd: GPS device /dev/ttyUSB0 nonexistent
or can't be read

-Martin

--
Martin Ewing
Branford, Connecticut
<email address hidden>