<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div><span><div><br></div><div>This is the result of that command:<br><br>Bus 003 Device 002: ID 06da:0001 Phoenixtec Power Co., Ltd</div><div>Device Descriptor:</div><div> bLength 18</div><div> bDescriptorType 1</div><div> bcdUSB 1.10</div><div> bDeviceClass 0 (Defined at Interface level)</div><div> bDeviceSubClass 0</div><div> bDeviceProtocol 0</div><div> bMaxPacketSize0 8</div><div> idVendor 0x06da Phoenixtec Power Co., Ltd</div><div> idProduct
0x0001</div><div> bcdDevice 0.01</div><div> iManufacturer 3 SOCOMEC SICON UPS</div><div> iProduct 1 NETYS UPS</div><div> iSerial 2</div><div> bNumConfigurations 1</div><div> Configuration Descriptor:</div><div> bLength 9</div><div> bDescriptorType 2</div><div> wTotalLength 34</div><div> bNumInterfaces 1</div><div> bConfigurationValue 1</div><div> iConfiguration 0</div><div> bmAttributes
0xa0</div><div> (Bus Powered)</div><div> Remote Wakeup</div><div> MaxPower 30mA</div><div> Interface Descriptor:</div><div> bLength 9</div><div> bDescriptorType 4</div><div> bInterfaceNumber 0</div><div> bAlternateSetting 0</div><div> bNumEndpoints 1</div><div> bInterfaceClass 3 Human Interface Device</div><div> bInterfaceSubClass 0 No Subclass</div><div> bInterfaceProtocol 0 None</div><div> iInterface
0</div><div> HID Device Descriptor:</div><div> bLength 9</div><div> bDescriptorType 33</div><div> bcdHID 1.11</div><div> bCountryCode 33 US</div><div> bNumDescriptors 1</div><div> bDescriptorType 34 Report</div><div> wDescriptorLength 278</div><div> Report Descriptors:</div><div> ** UNAVAILABLE **</div><div> Endpoint Descriptor:</div><div>
bLength 7</div><div> bDescriptorType 5</div><div> bEndpointAddress 0x81 EP 1 IN</div><div> bmAttributes 3</div><div> Transfer Type Interrupt</div><div> Synch Type None</div><div> Usage Type Data</div><div> wMaxPacketSize 0x0008 1x 8 bytes</div><div> bInterval 30</div><div>Device Status: 0x0000</div><div> (Bus
Powered)</div><div><br></div><div>But i managed to get some logs when it connected to the UPS here are the results of the (<span style="font-family: times, serif; font-size: 16px; ">/lib/nut/usbhid-ups -u root -DDDDD -a netys</span></div><div>):</div><div><div style="font-size: 16px; "> 923.706216 Got 0 HID objects...</div><div style="font-size: 16px; "> 923.706231 Quick update...</div><div style="font-size: 16px; "> 923.706243 Entering libusb_get_report</div><div style="font-size: 16px; "> 923.708177 Report[get]: (2 bytes) => 16 05</div><div style="font-size: 16px; "> 923.708247 PhyMax = 0, PhyMin = 0, LogMax = 1, LogMin = 0</div><div style="font-size: 16px; "> 923.708324 Unit = 00000000, UnitExp = 0</div><div style="font-size: 16px; "> 923.708364 Exponent = 0</div><div style="font-size: 16px; "> 923.708391
Path: UPS.PowerSummary.PresentStatus.ACPresent, Type: Feature, ReportID: 0x16, Offset: 0, Size: 1, Value: 1</div><div style="font-size: 16px; "> 923.708435 hu_find_infoval: found online (value: 1)</div><div style="font-size: 16px; "> 923.708460 process_boolean_info: online</div><div style="font-size: 16px; "> 923.708488 Report[buf]: (2 bytes) => 16 05</div><div style="font-size: 16px; "> 923.708531 PhyMax = 0, PhyMin = 0, LogMax = 1, LogMin = 0</div><div style="font-size: 16px; "> 923.708557 Unit = 00000000, UnitExp = 0</div><div style="font-size: 16px; "> 923.708594 Exponent = 0</div><div style="font-size: 16px; "> 923.708622 Path: UPS.PowerSummary.PresentStatus.BelowRemainingCapacityLimit, Type: Feature, ReportID: 0x16, Offset: 1, Size: 1, Value: 0</div><div style="font-size: 16px; "> 923.708662
hu_find_infoval: found !lowbatt (value: 0)</div><div style="font-size: 16px; "> 923.708688 process_boolean_info: !lowbatt</div><div style="font-size: 16px; "> 923.708719 Report[buf]: (2 bytes) => 16 05</div><div style="font-size: 16px; "> 923.708747 PhyMax = 0, PhyMin = 0, LogMax = 1, LogMin = 0</div><div style="font-size: 16px; "> 923.708781 Unit = 00000000, UnitExp = 0</div><div style="font-size: 16px; "> 923.708806 Exponent = 0</div><div style="font-size: 16px; "> 923.708841 Path: UPS.PowerSummary.PresentStatus.Charging, Type: Feature, ReportID: 0x16, Offset: 2, Size: 1, Value: 1</div><div style="font-size: 16px; "> 923.708868 hu_find_infoval: found chrg (value: 1)</div><div style="font-size: 16px; "> 923.708900 process_boolean_info: chrg</div><div style="font-size: 16px; "> 923.708927
Report[buf]: (2 bytes) => 16 05</div><div style="font-size: 16px; "> 923.708961 PhyMax = 0, PhyMin = 0, LogMax = 1, LogMin = 0</div><div style="font-size: 16px; "> 923.708987 Unit = 00000000, UnitExp = 0</div><div style="font-size: 16px; "> 923.709014 Exponent = 0</div><div style="font-size: 16px; "> 923.709050 Path: UPS.PowerSummary.PresentStatus.Discharging, Type: Feature, ReportID: 0x16, Offset: 3, Size: 1, Value: 0</div><div style="font-size: 16px; "> 923.709081 hu_find_infoval: found !dischrg (value: 0)</div><div style="font-size: 16px; "> 923.709120 process_boolean_info: !dischrg</div><div style="font-size: 16px; "> 925.457123 upsdrv_updateinfo...</div><div style="font-size: 16px; "> 925.708313 libusb_get_interrupt: Connection timed out</div><div style="font-size: 16px;
"> 925.708387 Got 0 HID objects...</div><div style="font-size: 16px; "> 925.708419 Quick update...</div><div style="font-size: 16px; "> 925.708450 Entering libusb_get_report</div><div style="font-size: 16px; "> 925.710315 Report[get]: (2 bytes) => 16 05</div><div style="font-size: 16px; "> 925.710385 PhyMax = 0, PhyMin = 0, LogMax = 1, LogMin = 0</div><div style="font-size: 16px; "> 925.710458 Unit = 00000000, UnitExp = 0</div><div style="font-size: 16px; "> 925.710498 Exponent = 0</div><div style="font-size: 16px; "> 925.710526 Path: UPS.PowerSummary.PresentStatus.ACPresent, Type: Feature, ReportID: 0x16, Offset: 0, Size: 1, Value: 1</div><div style="font-size: 16px; "> 925.710577 hu_find_infoval: found online (value: 1)</div><div style="font-size: 16px; "> 925.710603
process_boolean_info: online</div><div style="font-size: 16px; "> 925.710632 Report[buf]: (2 bytes) => 16 05</div><div style="font-size: 16px; "> 925.710657 PhyMax = 0, PhyMin = 0, LogMax = 1, LogMin = 0</div><div style="font-size: 16px; "> 925.710786 Unit = 00000000, UnitExp = 0</div><div style="font-size: 16px; "> 925.710811 Exponent = 0</div><div style="font-size: 16px; "> 925.710842 Path: UPS.PowerSummary.PresentStatus.BelowRemainingCapacityLimit, Type: Feature, ReportID: 0x16, Offset: 1, Size: 1, Value: 0</div><div style="font-size: 16px; "> 925.710890 hu_find_infoval: found !lowbatt (value: 0)</div><div style="font-size: 16px; "> 925.710916 process_boolean_info: !lowbatt</div><div style="font-size: 16px; "> 925.710947 Report[buf]: (2 bytes) => 16 05</div><div style="font-size: 16px;
"> 925.710976 PhyMax = 0, PhyMin = 0, LogMax = 1, LogMin = 0</div><div style="font-size: 16px; "> 925.711005 Unit = 00000000, UnitExp = 0</div><div style="font-size: 16px; "> 925.711035 Exponent = 0</div><div style="font-size: 16px; "> 925.711069 Path: UPS.PowerSummary.PresentStatus.Charging, Type: Feature, ReportID: 0x16, Offset: 2, Size: 1, Value: 1</div><div style="font-size: 16px; "> 925.711101 hu_find_infoval: found chrg (value: 1)</div><div style="font-size: 16px; "> 925.711133 process_boolean_info: chrg</div><div style="font-size: 16px; "> 925.711161 Report[buf]: (2 bytes) => 16 05</div><div style="font-size: 16px; "> 925.711189 PhyMax = 0, PhyMin = 0, LogMax = 1, LogMin = 0</div><div style="font-size: 16px; "> 925.711223 Unit = 00000000, UnitExp = 0</div><div
style="font-size: 16px; "> 925.711261 Exponent = 0</div><div style="font-size: 16px; "> 925.711292 Path: UPS.PowerSummary.PresentStatus.Discharging, Type: Feature, ReportID: 0x16, Offset: 3, Size: 1, Value: 0</div><div style="font-size: 16px; "> 925.711328 hu_find_infoval: found !dischrg (value: 0)</div><div style="font-size: 16px; "> 925.711354 process_boolean_info: !dischrg</div><div style="font-size: 16px; "> 927.458916 upsdrv_updateinfo...</div><div style="font-size: 16px; "> 927.710422 libusb_get_interrupt: Connection timed out</div><div style="font-size: 16px; "> 927.710495 Got 0 HID objects...</div><div style="font-size: 16px; "> 927.710527 Full update...</div><div style="font-size: 16px; "> 927.710560 Entering libusb_get_report</div><div style="font-size: 16px;
"> 927.712443 Report[get]: (3 bytes) => 0b 20 e1</div><div style="font-size: 16px; "> 927.712513 PhyMax = 0, PhyMin = 0, LogMax = 255, LogMin = 0</div><div style="font-size: 16px; "> 927.712585 Unit = 00f0d121, UnitExp = 7</div><div style="font-size: 16px; "> 927.712626 Exponent = 0</div><div style="font-size: 16px; "> 927.712656 Path: UPS.PowerSummary.Voltage, Type: Feature, ReportID: 0x0b, Offset: 8, Size: 8, Value: 225</div><div style="font-size: 16px; "> 927.712703 Entering libusb_get_report</div><div style="font-size: 16px; "> 927.715458 Report[get]: (2 bytes) => 1f e6</div><div style="font-size: 16px; "> 927.715527 PhyMax = 0, PhyMin = 0, LogMax = 255, LogMin = 0</div><div style="font-size: 16px; "> 927.715556 Unit = 00f0d121, UnitExp = 7</div><div style="font-size: 16px;
"> 927.715584 Exponent = 0</div><div style="font-size: 16px; "> 927.715651 Path: UPS.PowerSummary.ConfigVoltage, Type: Feature, ReportID: 0x1f, Offset: 0, Size: 8, Value: 230</div><div style="font-size: 16px; "> 927.715685 Entering libusb_get_report</div><div style="font-size: 16px; "> 927.718459 Report[get]: (5 bytes) => 15 62 00 00 00</div><div style="font-size: 16px; "> 927.718529 PhyMax = 0, PhyMin = 0, LogMax = 100, LogMin = 0</div><div style="font-size: 16px; "> 927.718595 Unit = 00000000, UnitExp = 0</div><div style="font-size: 16px; "> 927.718633 Exponent = 0</div><div style="font-size: 16px; "> 927.718662 Path: UPS.PowerSummary.RemainingCapacity, Type: Feature, ReportID: 0x15, Offset: 0, Size: 8, Value: 98</div><div style="font-size: 16px; "> 927.718750 Report[buf]: (5
bytes) => 15 62 00 00 00</div><div style="font-size: 16px; "> 927.718779 PhyMax = 0, PhyMin = 0, LogMax = 16777215, LogMin = 0</div><div style="font-size: 16px; "> 927.718804 Unit = 00001001, UnitExp = 0</div><div style="font-size: 16px; "> 927.718828 Exponent = 0</div><div style="font-size: 16px; "> 927.718856 Path: UPS.PowerSummary.RunTimeToEmpty, Type: Feature, ReportID: 0x15, Offset: 8, Size: 24, Value: 0</div><div style="font-size: 16px; "> 927.718913 Entering libusb_get_report</div><div style="font-size: 16px; "> 927.721442 Report[get]: (8 bytes) => 01 04 01 64 02 02 01 04</div><div style="font-size: 16px; "> 927.721574 PhyMax = 0, PhyMin = 0, LogMax = 255, LogMin = 0</div><div style="font-size: 16px; "> 927.721608 Unit = 00000000, UnitExp = 0</div><div style="font-size: 16px;
"> 927.721634 Exponent = 0</div><div style="font-size: 16px; "> 927.721666 Path: UPS.PowerSummary.iDeviceChemistry, Type: Feature, ReportID: 0x01, Offset: 48, Size: 8, Value: 4</div><div style="font-size: 16px; "> 927.728466 Report[buf]: (3 bytes) => 0b 20 e1</div><div style="font-size: 16px; "> 927.728535 PhyMax = 0, PhyMin = 0, LogMax = 255, LogMin = 0</div><div style="font-size: 16px; "> 927.728564 Unit = 00000000, UnitExp = 0</div><div style="font-size: 16px; "> 927.728593 Exponent = 0</div><div style="font-size: 16px; "> 927.728660 Path: UPS.PowerSummary.PercentLoad, Type: Feature, ReportID: 0x0b, Offset: 0, Size: 8, Value: 32</div><div style="font-size: 16px; "> 927.728695 Entering libusb_get_report</div><div style="font-size: 16px; "> 927.731457 Report[get]: (2 bytes) =>
16 05</div><div style="font-size: 16px; "> 927.731526 PhyMax = 0, PhyMin = 0, LogMax = 1, LogMin = 0</div><div style="font-size: 16px; "> 927.731554 Unit = 00000000, UnitExp = 0</div><div style="font-size: 16px; "> 927.731584 Exponent = 0</div><div style="font-size: 16px; "> 927.731650 Path: UPS.PowerSummary.PresentStatus.ACPresent, Type: Feature, ReportID: 0x16, Offset: 0, Size: 1, Value: 1</div><div style="font-size: 16px; "> 927.731693 hu_find_infoval: found online (value: 1)</div><div style="font-size: 16px; "> 927.731718 process_boolean_info: online</div><div style="font-size: 16px; "> 927.731747 Report[buf]: (2 bytes) => 16 05</div><div style="font-size: 16px; "> 927.731776 PhyMax = 0, PhyMin = 0, LogMax = 1, LogMin = 0</div><div style="font-size: 16px; "> 927.731801 Unit =
00000000, UnitExp = 0</div><div style="font-size: 16px; "> 927.731844 Exponent = 0</div><div style="font-size: 16px; "> 927.731871 Path: UPS.PowerSummary.PresentStatus.BelowRemainingCapacityLimit, Type: Feature, ReportID: 0x16, Offset: 1, Size: 1, Value: 0</div><div style="font-size: 16px; "> 927.731913 hu_find_infoval: found !lowbatt (value: 0)</div><div style="font-size: 16px; "> 927.731955 process_boolean_info: !lowbatt</div><div style="font-size: 16px; "> 927.731997 Report[buf]: (2 bytes) => 16 05</div><div style="font-size: 16px; "> 927.732023 PhyMax = 0, PhyMin = 0, LogMax = 1, LogMin = 0</div><div style="font-size: 16px; "> 927.732056 Unit = 00000000, UnitExp = 0</div><div style="font-size: 16px; "> 927.732080 Exponent = 0</div><div style="font-size: 16px; "> 927.732108 Path:
UPS.PowerSummary.PresentStatus.Charging, Type: Feature, ReportID: 0x16, Offset: 2, Size: 1, Value: 1</div><div style="font-size: 16px; "> 927.732141 hu_find_infoval: found chrg (value: 1)</div><div style="font-size: 16px; "> 927.732169 process_boolean_info: chrg</div><div style="font-size: 16px; "> 927.732202 Report[buf]: (2 bytes) => 16 05</div><div style="font-size: 16px; "> 927.732228 PhyMax = 0, PhyMin = 0, LogMax = 1, LogMin = 0</div><div style="font-size: 16px; "> 927.732256 Unit = 00000000, UnitExp = 0</div><div style="font-size: 16px; "> 927.732288 Exponent = 0</div><div style="font-size: 16px; "> 927.732315 Path: UPS.PowerSummary.PresentStatus.Discharging, Type: Feature, ReportID: 0x16, Offset: 3, Size: 1, Value: 0</div><div style="font-size: 16px; "> 927.732345 hu_find_infoval: found
!dischrg (value: 0)</div><div style="font-size: 16px; "> 927.732372 process_boolean_info: !dischrg</div><div style="font-size: 16px; "> 927.732444 Report[buf]: (2 bytes) => 16 05</div><div style="font-size: 16px; "> 927.732475 PhyMax = 0, PhyMin = 0, LogMax = 1, LogMin = 0</div><div style="font-size: 16px; "> 927.732505 Unit = 00000000, UnitExp = 0</div><div style="font-size: 16px; "> 927.732536 Exponent = 0</div><div style="font-size: 16px; "> 927.732572 Path: UPS.PowerSummary.PresentStatus.Overload, Type: Feature, ReportID: 0x16, Offset: 4, Size: 1, Value: 0</div><div style="font-size: 16px; "> 927.732604 hu_find_infoval: found !overload (value: 0)</div><div style="font-size: 16px; "> 927.732629 process_boolean_info: !overload</div><div style="font-size: 16px; "> 927.732661
Report[buf]: (2 bytes) => 16 05</div><div style="font-size: 16px; "> 927.732691 PhyMax = 0, PhyMin = 0, LogMax = 1, LogMin = 0</div><div style="font-size: 16px; "> 927.732725 Unit = 00000000, UnitExp = 0</div><div style="font-size: 16px; "> 927.732757 Exponent = 0</div><div style="font-size: 16px; "> 927.732784 Path: UPS.PowerSummary.PresentStatus.ShutdownImminent, Type: Feature, ReportID: 0x16, Offset: 5, Size: 1, Value: 0</div><div style="font-size: 16px; "> 927.732814 hu_find_infoval: found !shutdownimm (value: 0)</div><div style="font-size: 16px; "> 927.732843 process_boolean_info: !shutdownimm</div><div style="font-size: 16px; "> 929.460706 upsdrv_updateinfo...</div><div style="font-size: 16px; "> 929.712596 libusb_get_interrupt: Connection timed out</div><div style="font-size: 16px;
"> 929.712671 Got 0 HID objects...</div><div style="font-size: 16px; "> 929.712703 Quick update...</div><div style="font-size: 16px; "> 929.712740 Report[buf]: (2 bytes) => 16 05</div><div style="font-size: 16px; "> 929.712770 PhyMax = 0, PhyMin = 0, LogMax = 1, LogMin = 0</div><div style="font-size: 16px; "> 929.712796 Unit = 00000000, UnitExp = 0</div><div style="font-size: 16px; "> 929.712821 Exponent = 0</div><div style="font-size: 16px; "> 929.712893 Path: UPS.PowerSummary.PresentStatus.ACPresent, Type: Feature, ReportID: 0x16, Offset: 0, Size: 1, Value: 1</div><div style="font-size: 16px; "> 929.712921 hu_find_infoval: found online (value: 1)</div><div style="font-size: 16px; "> 929.712962 process_boolean_info: online</div><div style="font-size: 16px; "> 929.713005
Report[buf]: (2 bytes) => 16 05</div><div style="font-size: 16px; "> 929.713031 PhyMax = 0, PhyMin = 0, LogMax = 1, LogMin = 0</div><div style="font-size: 16px; "> 929.713083 Unit = 00000000, UnitExp = 0</div><div style="font-size: 16px; "> 929.713108 Exponent = 0</div><div style="font-size: 16px; "> 929.713148 Path: UPS.PowerSummary.PresentStatus.BelowRemainingCapacityLimit, Type: Feature, ReportID: 0x16, Offset: 1, Size: 1, Value: 0</div></div><div><br>Thanks Alex</div></span></div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; "><br></div> <div style="font-size: 12pt; font-family: 'times new roman', 'new york', times, serif; "> <div style="font-size: 12pt; font-family: 'times new roman', 'new york', times, serif; "> <div dir="ltr"> <font size="2" face="Arial"> <hr size="1"> <b><span style="font-weight:bold;">From:</span></b>
Charles Lepple <clepple@gmail.com><br> <b><span style="font-weight: bold;">To:</span></b> Kovacs Sandor Robert <kovacssupki@yahoo.com> <br><b><span style="font-weight: bold;">Cc:</span></b> NUT Developers List <nut-upsdev@lists.alioth.debian.org> <br> <b><span style="font-weight: bold;">Sent:</span></b> Sunday, April 1, 2012 4:56 PM<br> <b><span style="font-weight: bold;">Subject:</span></b> Re: [Nut-upsdev] Socomec sicon Netys 2000 PR ups USb driver for ubuntu<br> </font> </div> <br>
On Apr 1, 2012, at 3:08 AM, Kovacs Sandor Robert wrote:<br><br>> 0.410836 Unable to get HID descriptor (error sending control message: Timer expired)<br>> 0.410879 i=0, extra[i]=09, extra[i+1]=21<br>> 0.410897 HID descriptor, method 2: (9 bytes) => 09 21 11 01 21 01 22 16 01<br>> 0.410908 HID descriptor length 278<br>> 0.412850 Unable to get Report descriptor: Timer expired<br><br>This sounds like a problem in the UPS firmware. Retrieving the HID descriptors is a standard operation.<br><br>Can you list the USB descriptors with lsusb?<br><br>You will probably need to run something like "sudo lsusb -vv -d 06DA:0001".<br><br>-- <br>Charles Lepple<br>clepple@gmail<br><br><br><br><br><br> </div> </div> </div></body></html>