[Nut-upsuser] USB problems

James bjlockie at lockie.ca
Mon May 10 05:49:43 UTC 2010


I was getting:
"Can't claim USB device [0764:0501]: could not detach kernel driver from 
interface 0: Operation not permitted"
so I manually installed the udev rules the source (I installed the 
Gentoo ebuild).

I am now getting:

#  upsdrvctl start
Network UPS Tools - UPS driver controller 2.4.3
Network UPS Tools - Generic HID driver 0.34 (2.4.3)
USB communication driver 0.31
Using subdriver: CyberPower HID 0.3
libusb_get_report: could not claim interface 0: Device or resource busy
Got disconnected by another driver: Device or resource busy
Can't initialize data from HID UPS
Driver failed to start (exit status=1)

which seems a bit better.

$ lsusb
Bus 002 Device 005: ID 0764:0501 Cyber Power System, Inc. CP1500 AVR UPS

The udev rule is:
#  Dynex DX-800U?  - usbhid-ups
ATTR{idVendor}=="0764", ATTR{idProduct}=="0501", MODE="664", GROUP="nobody"




More information about the Nut-upsuser mailing list