[Nut-upsuser] Startproblems - Settings for ups.conf

Gregor Burck gregor at aeppelbroe.de
Thu Mar 7 11:48:15 UTC 2013


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
-- 






More information about the Nut-upsuser mailing list