Hi Martin,

2011/6/27 Martin Ewing <martin.s.ew...@gmail.com>

> I have a very similar situation with my Belkin UPS on Natty (worked on
> previous release).
>
> See
>
> $ lsb_release -rd
> Description:    Ubuntu 11.04
> Release:        11.04
>
> martin@gimli:~$ aptitude show nut
> Package: nut
> State: installed
> Automatically installed: no
> Version: 2.6.0-1ubuntu3
> ...
>
> sudo /lib/nut/usbhid-ups -DDDD -a mybelkin
> Network UPS Tools - Generic HID driver 0.35 (2.6.0)
> USB communication driver 0.31
>    0.000000     debug level is '4'
>    0.000583     upsdrv_initups...
>   0.266176     Checking device (1D6B/0001) (008/001)
>   0.266219     - VendorID: 1d6b
>   0.266226     - ProductID: 0001
>   0.266232     - Manufacturer: unknown
>   0.266237     - Product: unknown
>   0.266242     - Serial Number: unknown
>   0.266247     - Bus: 008
>   0.266252     Trying to match device
>   0.266275     Device does not match - skipping
>   0.266285     Checking device (1D6B/0001) (007/001)
>   0.266303     - VendorID: 1d6b
>   0.266309     - ProductID: 0001
>   0.266315     - Manufacturer: unknown
>   0.266320     - Product: unknown
>   0.266325     - Serial Number: unknown
>   0.266330     - Bus: 007
>   0.266335     Trying to match device
>   0.266341     Device does not match - skipping
>   0.266349     Checking device (050D/1100) (006/002)
>   0.291945     - VendorID: 050d
>   0.291959     - ProductID: 1100
>   0.291966     - Manufacturer: Belkin
>   0.291972     - Product: Belkin UPS
>   0.291977     - Serial Number: unknown
>   0.291982     - Bus: 006
>   0.291987     Trying to match device
>   0.291995     Device matches
> (...)

  0.383981     Entering libusb_get_report
>   0.388933     libusb_get_report: error sending control message: Operation
> not permitted
> ...
>
> Is this the same bug?


I don't think so.
the issue reported here was related to a code change, that resulted in a
regression.

yours seem to be with privileges.
to validate this, try launching the driver with root privs (note the "-u
root"):
$ sudo /lib/nut/usbhid-ups -u root -DDDD -a mybelkin

 Is there a fix


it's related to udev, and since there seems to be quite some similar issues,
I'm wondering if there is a race condition between udev (started through
upstart native scripts) and nut (started through upstart sysV compat
script).

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/

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to 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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to