[Nut-upsuser] 06da:0002 Phoenixtec Power Co., Ltd UPS

janc at telefonica.net janc at telefonica.net
Thu Dec 4 12:01:54 UTC 2014


Hi Charles.

I have got this output with driver usbhid-ups

ups.conf

[Phoenixtec]
driver = usbhid-ups
vendorid = 06da
productid = 0002
port = auto
#~ langid_fix=0x0409
desc = "CENER ONLINE 1000VA"

# export USB_DEBUG=5 

# ./usbhid-ups -a Phoenixtec
Network UPS Tools - Generic HID driver 0.37 (2.6.4)
USB communication driver 0.32
0.000000 debug level is '3' 
0.000557 upsdrv_initups...
usb_set_debug: Setting debugging level to 5 (on)
usb_os_init: Found USB VFS at /dev/bus/usb
usb_os_find_busses: Found 008 
usb_os_find_busses: Found 007 
usb_os_find_busses: Found 006 
usb_os_find_busses: Found 005 
usb_os_find_busses: Found 004 
usb_os_find_busses: Found 003 
usb_os_find_busses: Found 002 
usb_os_find_busses: Found 001 
usb_os_find_devices: couldn't get connect info
usb_os_find_devices: Found 003 on 008 
skipped 1 class/vendor specific interface descriptors
skipped 1 class/vendor specific interface descriptors
usb_os_find_devices: Found 002 on 008 
skipped 1 class/vendor specific interface descriptors
usb_os_find_devices: couldn't get connect info
usb_os_find_devices: Found 001 on 008 
error obtaining child information: Operation not permitted
error obtaining child information: Inappropriate ioctl for device
error obtaining child information: Operation not permitted
usb_os_find_devices: couldn't get connect info
usb_os_find_devices: Found 001 on 007
error obtaining child information: Operation not permitted
usb_os_find_devices: couldn't get connect info
usb_os_find_devices: Found 003 on 006
skipped 1 class/vendor specific interface descriptors
skipped 1 class/vendor specific interface descriptors
usb_os_find_devices: couldn't get connect info
usb_os_find_devices: Found 002 on 006
usb_os_find_devices: couldn't get connect info
usb_os_find_devices: Found 001 on 006
error obtaining child information: Operation not permitted
error obtaining child information: Operation not permitted
error obtaining child information: Operation not permitted
usb_os_find_devices: couldn't get connect info
usb_os_find_devices: Found 001 on 005
error obtaining child information: Operation not permitted
usb_os_find_devices: couldn't get connect info
usb_os_find_devices: Found 001 on 004
error obtaining child information: Operation not permitted
usb_os_find_devices: couldn't get connect info
usb_os_find_devices: Found 001 on 003
error obtaining child information: Operation not permitted
usb_os_find_devices: couldn't get connect info
usb_os_find_devices: Found 001 on 002
error obtaining child information: Operation not permitted
usb_os_find_devices: couldn't get connect info
usb_os_find_devices: Found 002 on 001
usb_os_find_devices: couldn't get connect info
usb_os_find_devices: Found 001 on 001
error obtaining child information: Operation not permitted
error obtaining child information: Operation not permitted
0.286471 Checking device (046D/C049) (008/003)
USB error: error sending control message: Operation not permitted
USB error: error sending control message: Operation not permitted
0.286550 - VendorID: 046d
0.286573 - ProductID: c049
0.286593 - Manufacturer: unknown
0.286613 - Product: unknown
0.286634 - Serial Number: unknown
0.286654 - Bus: 008
0.286674 Trying to match device
0.286709 Device does not match - skipping
0.286737 Checking device (06DA/0002) (008/002)   <<<< THIS is OK
0.313847 - VendorID: 06da
0.313922 - ProductID: 0002
0.313956 - Manufacturer: Phoenixtec Power
0.313979 - Product: USB Cable (V2.00)
0.314005 - Serial Number: unknown
0.314026 - Bus: 008
0.314049 Trying to match device
0.314114 Device matches
Check that you have permissions to write to 008/002 and, if you don't,
that you set up hotplug (http://linux-hotplug.sourceforge.net/)
correctly.
USB error: could not claim interface 0: Device or resource busy
0.314179 failed to claim USB device: could not claim interface 0: Device
or resource busy
0.314215 detached kernel driver from USB device...
0.321850 HID descriptor, method 1: (9 bytes) => 09 21 00 01 21 01 22 51
00
0.321906 HID descriptor, method 2: (9 bytes) => 09 21 00 01 21 01 22 51
00
0.321934 HID descriptor length 81
0.335851 Report Descriptor size = 81
0.335930 Report Descriptor: (81 bytes) => 05 8c 09 01 a1 01 85 01 09 03
15 00 25 01
0.335977  75 08 95 01 b1 82 85 02 09 02 15 00 25 01 75 01 81 82 75 07 81
83 85 02 09
0.336008  02 75 01 b1 82 75 07 b1 83 85 03 09 04 15 00 26 ff 00 75 08 81
82 85 03 09
0.336038  04 b1 82 85 04 09 05 15 00 26 ff 00 75 08 b1 82 c0
0.336112 Using subdriver: Liebert HID 0.3
0.339848 Report[get]: (2 bytes) => 01 00
0.339928 Path: 008c0001.008c0003, Type: Feature, ReportID: 0x01, Offset:
0, Size: 8, Value: 0
0.343852 Report[get]: (2 bytes) => 02 00
0.343931 Path: 008c0001.008c0002, Type: Input, ReportID: 0x02, Offset:
0, Size: 1, Value: 0
0.343975 Report[buf]: (2 bytes) => 02 00
0.344002 Path: 008c0001.008c0002, Type: Feature, ReportID: 0x02, Offset:
0, Size: 1, Value: 0
0.347849 Report[get]: (2 bytes) => 03 0c
0.347947 Path: 008c0001.008c0004, Type: Input, ReportID: 0x03, Offset:
0, Size: 8, Value: 12
0.347987 Report[buf]: (2 bytes) => 03 0c
0.348014 Path: 008c0001.008c0004, Type: Feature, ReportID: 0x03, Offset:
0, Size: 8, Value: 12
0.351848 Report[get]: (2 bytes) => 04 00
0.351943 Path: 008c0001.008c0005, Type: Feature, ReportID: 0x04, Offset:
0, Size: 8, Value: 0
0.351996 Report descriptor retrieved (Reportlen = 81)
0.352027 Found HID device
0.352056 Detected a UPS: Phoenixtec Power/USB Cable (V2.00)
0.352145 find_nut_info: unknown info type: load.off.delay
0.352232 find_nut_info: unknown info type: load.on.delay
0.352254 find_nut_info: unknown info type: load.off.delay
0.352280 upsdrv_initinfo...
0.352306 upsdrv_updateinfo...
0.604907 libusb_get_interrupt: Connection timed out
0.605037 Got 0 HID objects...
0.605058 Quick update...

Fatal error: unable to create listener socket

bind /var/run/nut/usbhid-ups-Phoenixtec failed: Permission denied

0.605270 Exiting.
0.605294 upsdrv_cleanup...
-------------------------------------------

I am lost with this usb.

Thanks.

Regards.


-- 
Jose Angel Navarro Cortes
email: janc at telefonica.net
web: http://janc.es/
Usuario Linux: #49178

El 14.12.03 19:38:21 > Charles Lepple dijo:
> On Dec 3, 2014, at 2:02 PM, janc at telefonica.net wrote:
> 
> >        USB error: error sending control message: Invalid or incomplete
> >        multibyte or wide character
> 
> This is a wild guess, but what about using the option "langid_fix=0x0409"?
> 
> -- 
> Charles Lepple
> clepple at gmail
> 
> 
> 



More information about the Nut-upsuser mailing list