[Nut-upsuser] Can't claim USB device

Lee Gold leegold at operamail.com
Wed Aug 7 19:08:35 UTC 2013


Hi,

CyberPower CP1500AVRLCD

Ubuntu Server 12.04, Nut installed with sudo apt-get install nut

$ lsusb
Bus 005 Device 002: ID 0764:0501 Cyber Power System, Inc. CP1500 AVR UPS
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

At end of ups.conf I added:

[cyberpower-1500]
driver = usbhid-ups
port = auto


Tried this and got error message:

$ sudo upsdrvctl start
Network UPS Tools - UPS driver controller 2.6.3
Network UPS Tools - Generic HID driver 0.35 (2.6.3)
USB communication driver 0.31
Can't claim USB device [0764:0501]: could not detach kernel driver from
interface 0: Operation not permitted
Driver failed to start (exit status=1)

If there's any more info I can supply that would help please let me
know.

I searched, many have similar problem. Most posts cite a permissions
problem. I tried adding a chmod to rc.local but it didn't work and I
erased it form rc.local. I would be grateful if someone could help me
please.

Thanks.

Also some dmesg output:

[ 2388.220019] usb 5-2: new low-speed USB device number 2 using ohci_hcd
[ 2388.394046] usb 5-2: New USB device found, idVendor=0764,
idProduct=0501
[ 2388.394049] usb 5-2: New USB device strings: Mfr=3, Product=1,
SerialNumber=0
[ 2388.394052] usb 5-2: Product:  CP 1500C
[ 2388.394054] usb 5-2: Manufacturer: CPS
[ 2388.461142] usbcore: registered new interface driver usbhid
[ 2388.461147] usbhid: USB HID core driver
[ 2388.508201] hid-generic 0003:0764:0501.0001: hiddev0,hidraw0: USB HID
v1.10 Device [CPS  CP 1500C] on usb-0000:00:13.3-2/input0


  

-- 
http://www.fastmail.fm - The professional email service




More information about the Nut-upsuser mailing list