Hi, System: Ubuntu 12.04.2 LTS nut 2.6.3 lsusb: Bus 005 Device 003: ID 06da:0003 Phoenixtec Power Co., Ltd 1300VA UPS The device should've support with the blazer_usb driver. But I don't know what to write exactly to the ups.conf I try following settings: [powerwalker1] driver = blazer_usb desc = "Powerwalker 1" port = auto vendorid = 06da productid = 0003 bus = "005" or [powerwalker1] driver = blazer_usb desc = "Powerwalker 1" port = auto bus = "005" or test [powerwalker1] driver = blazer_usb desc = "Powerwalker 1" port = auto vendorid = 06da productid = 0003 bus = "00[1-9]" But '/lib/nut/blazer_usb -DDD -a powerwalker1' gives always something like: Network UPS Tools - Megatec/Q1 protocol USB driver 0.04 (2.6.3) 0.000000 debug level is '3' 0.199270 Checking device (1D6B/0001) (006/001) 0.199321 - VendorID: 1d6b 0.199328 - ProductID: 0001 0.199333 - Manufacturer: unknown 0.199338 - Product: unknown 0.199343 - Serial Number: unknown 0.199348 - Bus: 006 0.199353 Trying to match device 0.199380 Device does not match - skipping 0.199391 Checking device (06DA/0003) (005/003) 0.199409 - VendorID: 06da 0.199415 - ProductID: 0003 0.199420 - Manufacturer: unknown 0.199425 - Product: unknown 0.199430 - Serial Number: unknown 0.199436 - Bus: 005 0.199440 Trying to match device 0.199451 Device matches 0.199460 failed to claim USB device: could not claim interface 0: Operation not permitted 0.199469 failed to detach kernel driver from USB device: could not detach kernel driver from interface 0: Operation not permitted 0.199477 failed to claim USB device: could not claim interface 0: Operation not permitted 0.199484 failed to detach kernel driver from USB device: could not detach kernel driver from interface 0: Operation not permitted 0.199491 failed to claim USB device: could not claim interface 0: Operation not permitted 0.199498 failed to detach kernel driver from USB device: could not detach kernel driver from interface 0: Operation not permitted 0.199505 failed to claim USB device: could not claim interface 0: Operation not permitted 0.199512 failed to detach kernel driver from USB device: could not detach kernel driver from interface 0: Operation not permitted 0.199519 Can't claim USB device [06da:0003]: could not detach kernel driver from interface 0: Operation not permitted Could you give me an hint, how to do it right? Gregor --
On Mar 7, 2013, at 6:48 AM, Gregor Burck wrote:> 0.199391 Checking device (06DA/0003) (005/003) > 0.199409 - VendorID: 06da > 0.199415 - ProductID: 0003 > 0.199420 - Manufacturer: unknown > 0.199425 - Product: unknown > 0.199430 - Serial Number: unknown > 0.199436 - Bus: 005 > 0.199440 Trying to match device > 0.199451 Device matches > 0.199460 failed to claim USB device: could not claim interface 0: Operation not permittedAny of those configurations should work, but there seems to be a permissions problem. This is odd, since there is a udev rule in the Ubuntu package on 12.04 which should match this device. What does 'ls -l /dev/bus/005/003' return? (adjust the 005/003 to match the last part of the "Checking device" line for the UPS) You can also see if '/lib/nut/blazer_usb -DDD -u root -a powerwalker1' works temporarily. -- Charles Lepple clepple at gmail