[Nut-upsuser] Can't claim USB device
Arnaud Quette
aquette.dev at gmail.com
Mon Apr 6 14:13:04 UTC 2009
Hi Brandon,
2009/4/6 Brandon Metcalf <brandon at geronimoalloys.com>
> Just built and installed nut 2.4.1 with a usb.conf that looks like
>
first, have you rebuilt from nut source or deb source?
if you've gone for #1, you should have prefered to backport the 2.4.1
packages in jaunty to get the best integration...
[trippb]
> driver = usbhid-ups
> port = auto
> desc = "Tripp Lite SmartPro 2200RMXL2U"
>
> The OS is Ubuntu 8.04.2 with kernel version 2.6.24.
>
> When trying to start the driver I get
>
> $ sudo ./upsdrvctl start
> Network UPS Tools - UPS driver controller 2.4.1
> Network UPS Tools - Generic HID driver 0.34 (2.4.1)
> USB communication driver 0.31
> Can't claim USB device [09ae:3012]: could not detach kernel driver from
> interface 0: Operation not permitted
> Driver failed to start (exit status=1)
>
> The UPS is detected when connected. From the output of dmesg
>
> [689484.575866] hiddev96hidraw2: USB HID v1.10 Device [Tripp Lite TRIPP
> LITE SMART2200RMXL2U ] on usb-0000:00:03.0-2
>
> lsusb also lists the UPS.
>
> Any ideas?
>
this might be due to:
- the missing udev rule file in /etc/udev/rules.d (52-nut-usbups.rules),
- or its application. I've noticed that the udev patch from SJR only apply
the rules upon an unplug/replug of the UPS' USB cord.
you can check the rule application using:
1) lsusb to identify the Bus and Device number (ex: Bus 002, Device 004)
2) then do an "ls -l /dev/bus/usb/XXX/YYY" where XXX is the Bus number, and
YYY the device number.
you should have "root:nut"--
cheers,
Arnaud
--
Linux / Unix Expert R&D - Eaton - http://www.eaton.com/mgeops
Network UPS Tools (NUT) Project Leader - http://www.networkupstools.org/
Debian Developer - http://people.debian.org/~aquette/
Free Software Developer - http://arnaud.quette.free.fr/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/nut-upsuser/attachments/20090406/eac6e8ed/attachment.htm>
More information about the Nut-upsuser
mailing list