Hi,

2006/11/2, Luis Llana <[EMAIL PROTECTED]>:
Package: nut-usb
Version: 2.0.4-2.1
Severity: grave


Hello,
  first of all I would like to apologize if you received this more
than once; I sent this bug report a couple of days ago but I can't
see it at
http://bugs.debian.org/nut-usb

I have a mge usb UPS, see later its description. The stable version of
nut-usb (2.0.1-4) runs correctly, but the testing version doesn't.
This is the output of /lib/nut/newhidups -DDDD -a XXXX:

Checking device (0463/FFFF) (002/002)
- VendorID: 0463
- ProductID: ffff
- Manufacturer: unknown
- Product: unknown
- Serial Number: unknown
- Bus: 002
Trying to match device
Device matches
failed to claim USB device, trying 2 more time(s)...
detaching kernel driver from USB device...
failed to detach kernel driver from USB device...
trying again to claim USB device...
failed to claim USB device, trying 1 more time(s)...
detaching kernel driver from USB device...
failed to detach kernel driver from USB device...
trying again to claim USB device...
failed to claim USB device, trying 0 more time(s)...
detaching kernel driver from USB device...
failed to detach kernel driver from USB device...
trying again to claim USB device...
Unable to get HID descriptor (error sending control message: Operation not 
permitted)
...

this is clearly a hotplug / udev (permission settings) problem. Until
now, I've used an hybrid system that run in udev some hotplug rules.
But it was based upon udev' hotplug backward compat which seems no
more available now.

A temporary solution is to edit /etc/udev/nut-usbups.rules and replace every
RUN+="/etc/hotplug/usb/libhidups"
by
MODE="664", GROUP="nut"

For the reference, the upstream equivalent file:
http://svn.debian.org/wsvn/nut/trunk/scripts/hotplug-ng/nut-usbups.rules.in?op=file&rev=0&sc=0

As I'm more than busy, I've scheduled the fix along with the 2.0.5
release, but if someone wish to NMU, he's welcome...

thanks for the report,
Arnaud
--
Linux / Unix Expert - MGE UPS SYSTEMS - R&D Dpt
Network UPS Tools (NUT) Project Leader - http://www.networkupstools.org/
Debian Developer - http://people.debian.org/~aquette/
OpenSource Developer - http://arnaud.quette.free.fr/


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to