janc at telefonica.net
2014-Dec-01 08:00 UTC
[Nut-upsuser] 06da:0002 Phoenixtec Power Co., Ltd UPS
Hi! all. I have been reading every mail and news about nut and 06da:0002 Phoenixtec but not found a solution. I have a very nice working ups from: CENER ref: "Active 1000VA 230V 12 CENER" and front logo "LA 900" It has COM3 and USB plugs, I don't know if it needs a standar RS232 I have test with varius drivers in ups.conf [MyUPS] driver = bcmxcp_usb | usbhid-ups | blazer_usb (one of then each time) port = auto # lsusb Bus 006 Device 004: ID 06da:0002 Phoenixtec Power Co., Ltd UPS # dmesg [ 1208.332585] usb 6-1: new low-speed USB device number 4 using uhci_hcd [ 1208.510146] usb 6-1: New USB device found, idVendor=06da, idProduct=0002 [ 1208.510151] usb 6-1: New USB device strings: Mfr=4, Product=38, SerialNumber=0 [ 1208.510155] usb 6-1: Product: USB Cable (V2.00) [ 1208.510157] usb 6-1: Manufacturer: Phoenixtec Power # lsusb -v Bus 006 Device 004: ID 06da:0002 Phoenixtec Power Co., Ltd UPS Couldn't open device, some information will be missing Device Descriptor: bLength 18 bDescriptorType 1 bcdUSB 1.00 bDeviceClass 0 (Defined at Interface level) bDeviceSubClass 0 bDeviceProtocol 0 bMaxPacketSize0 8 idVendor 0x06da Phoenixtec Power Co., Ltd idProduct 0x0002 UPS bcdDevice 0.06 iManufacturer 4 iProduct 38 iSerial 0 bNumConfigurations 1 Configuration Descriptor: bLength 9 bDescriptorType 2 wTotalLength 34 bNumInterfaces 1 bConfigurationValue 1 iConfiguration 0 bmAttributes 0x60 (Missing must-be-set bit!) Self Powered Remote Wakeup MaxPower 20mA Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 0 bAlternateSetting 0 bNumEndpoints 1 bInterfaceClass 255 Vendor Specific Class bInterfaceSubClass 0 bInterfaceProtocol 0 iInterface 0 ** UNRECOGNIZED: 09 21 00 01 21 01 22 51 00 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x81 EP 1 IN bmAttributes 3 Transfer Type Interrupt Synch Type None Usage Type Data wMaxPacketSize 0x0008 1x 8 bytes bInterval 5 In the list, I found: https://www.mail-archive.com/nut-upsdev at lists.alioth.debian.org/msg00191.html Hm, bad idea. The Phoenixtec make the interface card to early Powerware ups'es with just the Vendor/product id 06da:0002. And it speaks the bcmxcp protocol. B.t.w an bad usb implementation that need a dirty fix to make it work. I can't find that "dirty fix to make it work" ---------- Output with driver bcmxcp_usb ------------ 0.000361 Starting UPS: Phoenixtec 0.000445 exec: /lib/nut/bcmxcp_usb -a Phoenixtec -u root Network UPS Tools - BCMXCP UPS driver 0.26 (2.6.4) USB communication subdriver 0.21 usb_set_debug: Setting debugging level to 3 (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: Found 005 on 008 skipped 1 class/vendor specific interface descriptors 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 001 on 008 error obtaining child information: Inappropriate ioctl for device error obtaining child information: Inappropriate ioctl for device usb_os_find_devices: Found 001 on 007 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: Found 002 on 006 usb_os_find_devices: Found 001 on 006 error obtaining child information: Inappropriate ioctl for device usb_os_find_devices: Found 001 on 005 usb_os_find_devices: Found 001 on 004 usb_os_find_devices: Found 001 on 003 usb_os_find_devices: Found 001 on 002 usb_os_find_devices: Found 002 on 001 usb_os_find_devices: Found 001 on 001 Communications with UPS lost: Error executing command Could not communicate with the ups: Resource temporarily unavailable CLOSING ------------- After replace with new batteries, it keeps beeping every minute, I need to reset batteries counter or timer ????? Anyone can help me about this CENER como "Active 1000VA 230V 12 CENER" Bus 006 Device 004: ID 06da:0002 Phoenixtec Power Co., Ltd UPS Thanks in advanced. Best regards. -- Jose Angel Navarro Cortes email: janc at telefonica.net web: http://janc.es/ Usuario Linux: #49178
Charles Lepple
2014-Dec-01 13:04 UTC
[Nut-upsuser] 06da:0002 Phoenixtec Power Co., Ltd UPS
On Dec 1, 2014, at 3:00 AM, janc at telefonica.net wrote:> I have a very nice working ups from: > CENER ref: "Active 1000VA 230V 12 CENER" and front logo "LA 900"Do you know what software was originally recommended for the UPS? Unfortunately, Phoenixtec seems to have made a lot of different USB-to-serial adapters. The most likely driver is blazer_usb (or nutdrv_qx, which is newer). You may need to shut down the UPS completely (turn power off, and unplug) if the other drivers have sent commands that put the UPS into a bad state. -- Charles Lepple clepple at gmail
janc at telefonica.net
2014-Dec-01 17:32 UTC
[Nut-upsuser] 06da:0002 Phoenixtec Power Co., Ltd UPS
Hi Charles. Thanks for your reply. I have no idea about the original software, this UPS has never been working and nobody knows about it. I test with blazer_usb with no success, but I will try to get that nutdrv_qx, it is not in my Debian Wheezy distribution of Nut. I will take in acount to reset with power off in case commands goes wrong. Regards. -- Jose Angel Navarro Cortes email: janc at telefonica.net web: http://janc.es/ Usuario Linux: #49178 El 14.12.01 08:04:05 > Charles Lepple dijo:> On Dec 1, 2014, at 3:00 AM, janc at telefonica.net wrote: > > > I have a very nice working ups from: > > CENER ref: "Active 1000VA 230V 12 CENER" and front logo "LA 900" > > Do you know what software was originally recommended for the UPS? > > Unfortunately, Phoenixtec seems to have made a lot of different USB-to-serial adapters. > > The most likely driver is blazer_usb (or nutdrv_qx, which is newer). You may need to shut down the UPS completely (turn power off, and unplug) if the other drivers have sent commands that put the UPS into a bad state. > > -- > Charles Lepple > clepple at gmail > > >
Charles Lepple
2014-Dec-04 00:38 UTC
[Nut-upsuser] 06da:0002 Phoenixtec Power Co., Ltd UPS
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 characterThis is a wild guess, but what about using the option "langid_fix=0x0409"? -- Charles Lepple clepple at gmail
janc at telefonica.net
2014-Dec-04 12:01 UTC
[Nut-upsuser] 06da:0002 Phoenixtec Power Co., Ltd UPS
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 > > >