[Bug 779512] Re: nut-2.6.0-1ubuntu3 behavior regression

Martin Ewing martin.s.ewing at gmail.com
Sun Dec 18 02:35:32 UTC 2011


On Sat, Dec 17, 2011 at 3:45 AM, Arnaud Quette
<aquette.dev at gmail.com>wrote:

> I don't see any message related to usbhid-ups.
> Is it started?
> we can see hiddev0 (the device linked to the kernel module hiddev) loaded,
> but nothing more.
>
> So, try launching again nut, and check back /var/log/syslog for usb and nut
> ('ups') messages.
>
> Arno
>
> --
> 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
>


This is what I'm seeing after a recent reboot:

Dec 17 20:54:34 gimli kernel: [    1.962117] ehci_hcd: USB 2.0 'Enhanced'
Host Controller (EHCI) Driver
Dec 17 20:54:34 gimli kernel: [    1.962182] ehci_hcd 0000:00:1a.7: new USB
bus registered, assigned bus number 1
Dec 17 20:54:34 gimli kernel: [    1.987718] ehci_hcd 0000:00:1a.7: USB 2.0
started, EHCI 1.00
Dec 17 20:54:34 gimli kernel: [    1.987842] hub 1-0:1.0: USB hub found
Dec 17 20:54:34 gimli kernel: [    1.987956] ehci_hcd 0000:00:1d.7: new USB
bus registered, assigned bus number 2
Dec 17 20:54:34 gimli kernel: [    2.007705] ehci_hcd 0000:00:1d.7: USB 2.0
started, EHCI 1.00
Dec 17 20:54:34 gimli kernel: [    2.007830] hub 2-0:1.0: USB hub found
Dec 17 20:54:34 gimli kernel: [    2.007888] ohci_hcd: USB 1.1 'Open' Host
Controller (OHCI) Driver
Dec 17 20:54:34 gimli kernel: [    2.007897] uhci_hcd: USB Universal Host
Controller Interface driver
Dec 17 20:54:34 gimli kernel: [    2.007968] uhci_hcd 0000:00:1a.0: new USB
bus registered, assigned bus number 3
Dec 17 20:54:34 gimli kernel: [    2.008097] hub 3-0:1.0: USB hub found
Dec 17 20:54:34 gimli kernel: [    2.008187] uhci_hcd 0000:00:1a.1: new USB
bus registered, assigned bus number 4
Dec 17 20:54:34 gimli kernel: [    2.008318] hub 4-0:1.0: USB hub found
Dec 17 20:54:34 gimli kernel: [    2.008400] uhci_hcd 0000:00:1a.2: new USB
bus registered, assigned bus number 5
Dec 17 20:54:34 gimli kernel: [    2.008523] hub 5-0:1.0: USB hub found
Dec 17 20:54:34 gimli kernel: [    2.008610] uhci_hcd 0000:00:1d.0: new USB
bus registered, assigned bus number 6
Dec 17 20:54:34 gimli kernel: [    2.008734] hub 6-0:1.0: USB hub found
Dec 17 20:54:34 gimli kernel: [    2.008816] uhci_hcd 0000:00:1d.1: new USB
bus registered, assigned bus number 7
Dec 17 20:54:34 gimli kernel: [    2.008938] hub 7-0:1.0: USB hub found
Dec 17 20:54:34 gimli kernel: [    2.009024] uhci_hcd 0000:00:1d.2: new USB
bus registered, assigned bus number 8
Dec 17 20:54:34 gimli kernel: [    2.009150] hub 8-0:1.0: USB hub found
Dec 17 20:54:34 gimli kernel: [    2.647392] usb 3-1: new full speed USB
device using uhci_hcd and address 2
Dec 17 20:54:34 gimli kernel: [    3.126994] usb 3-2: new low speed USB
device using uhci_hcd and address 3
Dec 17 20:54:34 gimli kernel: [    3.326265] usbhid: USB HID core driver
Dec 17 20:54:34 gimli kernel: [    3.456857] input: Logitech USB Receiver
as /devices/pci0000:00/0000:00:1a.0/usb3/3-2/3-2:1.0/input/input2
Dec 17 20:54:34 gimli kernel: [    3.456917] logitech 0003:046D:C517.0001:
input,hidraw0: USB HID v1.10 Keyboard [Logitech USB Receiver] on
usb-0000:00:1a.0-2/input0
Dec 17 20:54:34 gimli kernel: [    3.485432] input: Logitech USB Receiver
as /devices/pci0000:00/0000:00:1a.0/usb3/3-2/3-2:1.1/input/input3
Dec 17 20:54:34 gimli kernel: [    3.485537] logitech 0003:046D:C517.0002:
input,hiddev0,hidraw1: USB HID v1.10 Mouse [Logitech USB Receiver] on
usb-0000:00:1a.0-2/input1
Dec 17 20:54:34 gimli kernel: [    3.486732] usb 2-3: new high speed USB
device using ehci_hcd and address 3
Dec 17 20:54:34 gimli kernel: [    3.680792] Initializing USB Mass Storage
driver...
Dec 17 20:54:34 gimli kernel: [    3.681205] USB Mass Storage support
registered.
Dec 17 20:54:34 gimli kernel: [    3.796506] usb 2-5: new high speed USB
device using ehci_hcd and address 4
Dec 17 20:54:34 gimli kernel: [    4.386049] usb 6-1: new low speed USB
device using uhci_hcd and address 2
Dec 17 20:54:34 gimli kernel: [    4.839276] 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 17 20:54:34 gimli kernel: [   23.077150] usblp0: USB Bidirectional
printer dev 2 if 0 alt 1 proto 2 vid 0x03F0 pid 0x0317
Dec 17 20:54:34 gimli kernel: [   23.356500] USB Video Class driver (v1.0.0)
Dec 17 20:54:34 gimli kernel: [   25.350999] type=1400
audit(1324173273.830:10): apparmor="STATUS" operation="profile_load"
name="/usr/lib/cups/backend/cups-pdf" pid=1125 comm="apparmor_parser"
Dec 17 20:54:34 gimli kernel: [   25.351610] type=1400
audit(1324173273.840:11): apparmor="STATUS" operation="profile_load"
name="/usr/sbin/cupsd" pid=1125 comm="apparmor_parser"
Dec 17 20:54:38 gimli upsd[2468]: listening on 127.0.0.1 port 3493
Dec 17 20:54:38 gimli upsd[2468]: listening on ::1 port 3493
Dec 17 20:54:38 gimli upsd[2468]: Can't connect to UPS [mybelkin]
(usbhid-ups-mybelkin): No such file or directory
Dec 17 20:54:38 gimli upsd[2494]: Startup successful
Dec 17 20:54:38 gimli upsmon[2497]: Startup successful
Dec 17 20:54:38 gimli upsd[2494]: User upsmon@::1 logged into UPS [mybelkin]
Dec 17 20:54:38 gimli upsmon[2500]: Poll UPS [mybelkin at localhost] failed -
Driver not connected
Dec 17 20:54:38 gimli upsmon[2500]: Communications with UPS
mybelkin at localhost lost
Dec 17 20:54:43 gimli upsmon[2500]: Poll UPS [mybelkin at localhost] failed -
Driver not connected
Dec 17 20:54:43 gimli upsmon[2500]: UPS mybelkin at localhost is unavailable
Dec 17 20:54:48 gimli upsmon[2500]: Poll UPS [mybelkin at localhost] failed -
Driver not connected
Dec 17 20:55:23 gimli upsmon[2500]: last message repeated 7 times
Dec 17 20:55:28 gimli upsmon[2500]: Poll UPS [mybelkin at localhost] failed -
Driver not connected
Dec 17 20:55:33 gimli upsmon[2500]: Poll UPS [mybelkin at localhost] failed -
Driver not connected
Dec 17 20:56:34 gimli upsmon[2500]: last message repeated 12 times
Dec 17 20:57:34 gimli upsmon[2500]: last message repeated 12 times
Dec 17 20:58:34 gimli upsmon[2500]: last message repeated 12 times
Dec 17 20:59:34 gimli upsmon[2500]: last message repeated 12 times
Dec 17 20:59:38 gimli upsmon[2500]: Poll UPS [mybelkin at localhost] failed -
Driver not connected
Dec 17 20:59:38 gimli upsd[2494]: Can't connect to UPS [mybelkin]
(usbhid-ups-mybelkin): No such file or directory
Dec 17 20:59:43 gimli upsmon[2500]: Poll UPS [mybelkin at localhost] failed -
Driver not connected
Dec 17 20:59:48 gimli upsmon[2500]: Poll UPS [mybelkin at localhost] failed -
Driver not connected
Dec 17 20:59:48 gimli upsmon[2500]: UPS mybelkin at localhost is unavailable
Dec 17 20:59:53 gimli upsmon[2500]: Poll UPS [mybelkin at localhost] failed -
Driver not connected
Dec 17 21:00:58 gimli upsmon[2500]: last message repeated 13 times
Dec 17 21:02:03 gimli upsmon[2500]: last message repeated 13 times
Dec 17 21:03:04 gimli upsmon[2500]: last message repeated 12 times
Dec 17 21:04:04 gimli upsmon[2500]: last message repeated 12 times
Dec 17 21:04:38 gimli upsmon[2500]: last message repeated 7 times
Dec 17 21:04:38 gimli upsd[2494]: Can't connect to UPS [mybelkin]
(usbhid-ups-mybelkin): No such file or directory
Dec 17 21:04:43 gimli upsmon[2500]: Poll UPS [mybelkin at localhost] failed -
Driver not connected
Dec 17 21:04:53 gimli upsmon[2500]: last message repeated 2 times
Dec 17 21:04:53 gimli upsmon[2500]: UPS mybelkin at localhost is unavailable
Dec 17 21:04:58 gimli upsmon[2500]: Poll UPS [mybelkin at localhost] failed -
Driver not connected
Dec 17 21:06:04 gimli upsmon[2500]: last message repeated 13 times
Dec 17 21:07:04 gimli upsmon[2500]: last message repeated 12 times
Dec 17 21:08:05 gimli upsmon[2500]: last message repeated 12 times
Dec 17 21:09:02 gimli upsmon[2500]: last message repeated 11 times
Dec 17 21:09:04 gimli upsmon[2500]: Poll UPS [mybelkin at localhost] failed -
Driver not connected
Dec 17 21:09:38 gimli upsmon[2500]: last message repeated 6 times


-- 
Martin Ewing
Branford, Connecticut
martin.s.ewing at gmail.com

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

Title:
  nut-2.6.0-1ubuntu3 behavior regression

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



More information about the Ubuntu-server-bugs mailing list