[Nut-upsuser] Tripp-Lite SMART1000LCD usbhid failed to claim USB device

Rory Jaffe rsjaffe at gmail.com
Mon Feb 14 01:32:30 UTC 2011


Trying to get a Tripp-Lite to work with nut--Ubuntu 10.10. I was getting the
error message "unable to claim USB device", tried to unbind the drivers to
that device, and had the following delightful experience. In short, continue
to get the same problem, and the drivers bound themselves back.

Any suggestions?

-----------

usb.conf has the following:
[Tripp-Lite]
driver = usbhid-ups
port = auto
vendorid = 09ae
productid = 2009

--------------
below is my terminal exchange with the computer
---------------

rory at ubuntunas:/etc/nut$ ls -l /sys/bus/usb/devices/6-2*/driver
lrwxrwxrwx 1 root root 0 2011-02-13 17:11
/sys/bus/usb/devices/6-2:1.0/driver ->
../../../../../../bus/usb/drivers/usbhid
lrwxrwxrwx 1 root root 0 2011-02-13 17:11 /sys/bus/usb/devices/6-2/driver ->
../../../../../bus/usb/drivers/usb

rory at ubuntunas:/etc/nut$ sudo sh -c "echo '6-2:1.0' >
/sys/bus/usb/drivers/usbhid/unbind"
rory at ubuntunas:/etc/nut$ ls -l /sys/bus/usb/devices/6-2*/driver

lrwxrwxrwx 1 root root 0 2011-02-13 17:11 /sys/bus/usb/devices/6-2/driver ->
../../../../../bus/usb/drivers/usb

rory at ubuntunas:/etc/nut$ sudo sh -c "echo '6-2' >
/sys/bus/usb/drivers/usb/unbind"
rory at ubuntunas:/etc/nut$ ls -l /sys/bus/usb/devices/6-2*/driver
ls: cannot access /sys/bus/usb/devices/6-2*/driver: No such file or
directory


rory at ubuntunas:/etc/nut$ sudo /lib/nut/usbhid-ups -DDDD -a Tripp-Lite -x
exploreNetwork UPS Tools - Generic HID driver 0.34 (2.4.3)
USB communication driver 0.31
   0.000000     debug level is '4'
   0.002409     upsdrv_initups...
   0.313715     Checking device (1D6B/0001) (008/001)
   0.313846     - VendorID: 1d6b
   0.313873     - ProductID: 0001
   0.313893     - Manufacturer: unknown
   0.313912     - Product: unknown
   0.313934     - Serial Number: unknown
   0.313952     - Bus: 008
   0.313973     Trying to match device
   0.314024     Device does not match - skipping
   0.314060     Checking device (1D6B/0001) (007/001)
   0.314120     - VendorID: 1d6b
   0.314141     - ProductID: 0001
   0.314158     - Manufacturer: unknown
   0.314176     - Product: unknown
   0.314192     - Serial Number: unknown
   0.314210     - Bus: 007
   0.314226     Trying to match device
   0.314248     Device does not match - skipping
   0.314278     Checking device (09AE/2009) (006/002)
   0.314342     - VendorID: 09ae
   0.314363     - ProductID: 2009
   0.314380     - Manufacturer: unknown
   0.314397     - Product: unknown
   0.314414     - Serial Number: unknown
   0.314431     - Bus: 006
   0.314473     Trying to match device
   0.314570     Device matches
   0.314602     failed to claim USB device: could not claim interface 0:
Operation not permitted
   0.314630     failed to detach kernel driver from USB device: could not
detach kernel driver from interface 0: Operation not permitted
   0.314655     failed to claim USB device: could not claim interface 0:
Operation not permitted
   0.314681     failed to detach kernel driver from USB device: could not
detach kernel driver from interface 0: Operation not permitted
   0.314710     failed to claim USB device: could not claim interface 0:
Operation not permitted
   0.314739     failed to detach kernel driver from USB device: could not
detach kernel driver from interface 0: Operation not permitted
   0.314765     failed to claim USB device: could not claim interface 0:
Operation not permitted
   0.314794     failed to detach kernel driver from USB device: could not
detach kernel driver from interface 0: Operation not permitted
   0.314816     Can't claim USB device [09ae:2009]: could not detach kernel
driver from interface 0: Operation not permitted



rory at ubuntunas:/etc/nut$ ls -l /sys/bus/usb/devices/6-2*/driver

lrwxrwxrwx 1 root root 0 2011-02-13 17:16
/sys/bus/usb/devices/6-2:1.0/driver ->
../../../../../../bus/usb/drivers/usbhid
lrwxrwxrwx 1 root root 0 2011-02-13 17:16 /sys/bus/usb/devices/6-2/driver ->
../../../../../bus/usb/drivers/usb
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/nut-upsuser/attachments/20110213/6170548d/attachment.htm>


More information about the Nut-upsuser mailing list