Kovacs Sandor Robert
2012-Mar-21 19:17 UTC
[Nut-upsdev] Socomec sicon Netys 2000 PR ups USb driver for ubuntu
Hello i tried to connect my netys 2000 pr ups to ubuntu 11.10 and i have a problem connecting it. After readin a few post i realized to dianosse the connection. I need help resolving the connextion issue So here is the response to??/lib/nut/usbhid-ups -u root -DDDDD -a netys: Network UPS Tools - Generic HID driver 0.35 (2.6.1) USB communication driver 0.31 ? ?0.000000 ? ? send_to_all: SETINFO driver.parameter.port "auto" ? ?0.000127 ? ? send_to_all: SETINFO driver.parameter.vendorid "06da" ? ?0.000184 ? ? send_to_all: SETINFO driver.parameter.productid "0001" ? ?0.000259 ? ? debug level is '5' ? ?0.001269 ? ? upsdrv_initups... ? ?0.401049 ? ? Checking device (1D6B/0001) (007/001) ? ?0.401154 ? ? - VendorID: 1d6b ? ?0.401166 ? ? - ProductID: 0001 ? ?0.401175 ? ? - Manufacturer: Linux 3.0.0-12-server ohci_hcd ? ?0.401186 ? ? - Product: OHCI Host Controller ? ?0.401196 ? ? - Serial Number: 0000:00:14.5 ? ?0.401205 ? ? - Bus: 007 ? ?0.401214 ? ? Trying to match device ? ?0.401246 ? ? Device does not match - skipping ? ?0.401263 ? ? Checking device (1D6B/0001) (006/001) ? ?0.401305 ? ? - VendorID: 1d6b ? ?0.401316 ? ? - ProductID: 0001 ? ?0.401325 ? ? - Manufacturer: Linux 3.0.0-12-server ohci_hcd ? ?0.401335 ? ? - Product: OHCI Host Controller ? ?0.401344 ? ? - Serial Number: 0000:00:13.1 ? ?0.401353 ? ? - Bus: 006 ? ?0.401362 ? ? Trying to match device ? ?0.401374 ? ? Device does not match - skipping ? ?0.401388 ? ? Checking device (1D6B/0001) (005/001) ? ?0.401429 ? ? - VendorID: 1d6b ? ?0.401440 ? ? - ProductID: 0001 ? ?0.401449 ? ? - Manufacturer: Linux 3.0.0-12-server ohci_hcd ? ?0.401459 ? ? - Product: OHCI Host Controller ? ?0.401468 ? ? - Serial Number: 0000:00:13.0 ? ?0.401477 ? ? - Bus: 005 ? ?0.401486 ? ? Trying to match device ? ?0.401496 ? ? Device does not match - skipping ? ?0.401511 ? ? Checking device (1D6B/0001) (004/001) ? ?0.401552 ? ? - VendorID: 1d6b ? ?0.401562 ? ? - ProductID: 0001 ? ?0.401571 ? ? - Manufacturer: Linux 3.0.0-12-server ohci_hcd ? ?0.401580 ? ? - Product: OHCI Host Controller ? ?0.401589 ? ? - Serial Number: 0000:00:12.1 ? ?0.401598 ? ? - Bus: 004 ? ?0.401607 ? ? Trying to match device ? ?0.401617 ? ? Device does not match - skipping ? ?0.401631 ? ? Checking device (06DA/0001) (003/003) ? ?0.406831 ? ? - VendorID: 06da ? ?0.406867 ? ? - ProductID: 0001 ? ?0.406877 ? ? - Manufacturer: unknown ? ?0.406886 ? ? - Product: unknown ? ?0.406896 ? ? - Serial Number: unknown ? ?0.406905 ? ? - Bus: 003 ? ?0.406913 ? ? Trying to match device ? ?0.407027 ? ? Device matches ? ?0.410836 ? ? Unable to get HID descriptor (error sending control message: Timer expired) ? ?0.410879 ? ? i=0, extra[i]=09, extra[i+1]=21 ? ?0.410897 ? ? HID descriptor, method 2: (9 bytes) => 09 21 11 01 21 01 22 16 01 ? ?0.410908 ? ? HID descriptor length 278 ? ?0.412850 ? ? Unable to get Report descriptor: Timer expired ? ?0.412949 ? ? Checking device (04F3/0103) (003/002) ? ?0.413014 ? ? - VendorID: 04f3 ? ?0.413064 ? ? - ProductID: 0103 ? ?0.413097 ? ? - Manufacturer: unknown ? ?0.413129 ? ? - Product: unknown ? ?0.413158 ? ? - Serial Number: unknown ? ?0.413182 ? ? - Bus: 003 ? ?0.413216 ? ? Trying to match device ? ?0.413252 ? ? Device does not match - skipping ? ?0.413287 ? ? Checking device (1D6B/0001) (003/001) ? ?0.413378 ? ? - VendorID: 1d6b ? ?0.413410 ? ? - ProductID: 0001 ? ?0.413439 ? ? - Manufacturer: Linux 3.0.0-12-server ohci_hcd ? ?0.413469 ? ? - Product: OHCI Host Controller ? ?0.413498 ? ? - Serial Number: 0000:00:12.0 ? ?0.413528 ? ? - Bus: 003 ? ?0.413557 ? ? Trying to match device ? ?0.413588 ? ? Device does not match - skipping ? ?0.413624 ? ? Checking device (1D6B/0002) (002/001) ? ?0.413685 ? ? - VendorID: 1d6b ? ?0.413716 ? ? - ProductID: 0002 ? ?0.413757 ? ? - Manufacturer: Linux 3.0.0-12-server ehci_hcd ? ?0.413787 ? ? - Product: EHCI Host Controller ? ?0.413817 ? ? - Serial Number: 0000:00:13.2 ? ?0.413846 ? ? - Bus: 002 ? ?0.413875 ? ? Trying to match device ? ?0.413906 ? ? Device does not match - skipping ? ?0.413943 ? ? Checking device (1D6B/0002) (001/001) ? ?0.414002 ? ? - VendorID: 1d6b ? ?0.414033 ? ? - ProductID: 0002 ? ?0.414062 ? ? - Manufacturer: Linux 3.0.0-12-server ehci_hcd ? ?0.414092 ? ? - Product: EHCI Host Controller ? ?0.414122 ? ? - Serial Number: 0000:00:12.2 ? ?0.414151 ? ? - Bus: 001 ? ?0.414180 ? ? Trying to match device ? ?0.414211 ? ? Device does not match - skipping ? ?0.414245 ? ? No appropriate HID device found ? ?0.414279 ? ? No matching HID UPS found Thanks Alex -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.alioth.debian.org/pipermail/nut-upsdev/attachments/20120321/3430be2f/attachment.html>
Kovacs Sandor Robert
2012-Apr-01 07:08 UTC
[Nut-upsdev] Fw: Socomec sicon Netys 2000 PR ups USb driver for ubuntu
----- Forwarded Message ----- From: Kovacs Sandor Robert <kovacssupki at yahoo.com> To: "nut-upsdev at lists.alioth.debian.org" <nut-upsdev at lists.alioth.debian.org> Sent: Wednesday, March 21, 2012 9:17 PM Subject: Socomec sicon Netys 2000 PR ups USb driver for ubuntu Hello i tried to connect my netys 2000 pr ups to ubuntu 11.10 and i have a problem connecting it. After readin a few post i realized to dianosse the connection. I need help resolving the connextion issue So here is the response to??/lib/nut/usbhid-ups -u root -DDDDD -a netys: Network UPS Tools - Generic HID driver 0.35 (2.6.1) USB communication driver 0.31 ? ?0.000000 ? ? send_to_all: SETINFO driver.parameter.port "auto" ? ?0.000127 ? ? send_to_all: SETINFO driver.parameter.vendorid "06da" ? ?0.000184 ? ? send_to_all: SETINFO driver.parameter.productid "0001" ? ?0.000259 ? ? debug level is '5' ? ?0.001269 ? ? upsdrv_initups... ? ?0.401049 ? ? Checking device (1D6B/0001) (007/001) ? ?0.401154 ? ? - VendorID: 1d6b ? ?0.401166 ? ? - ProductID: 0001 ? ?0.401175 ? ? - Manufacturer: Linux 3.0.0-12-server ohci_hcd ? ?0.401186 ? ? - Product: OHCI Host Controller ? ?0.401196 ? ? - Serial Number: 0000:00:14.5 ? ?0.401205 ? ? - Bus: 007 ? ?0.401214 ? ? Trying to match device ? ?0.401246 ? ? Device does not match - skipping ? ?0.401263 ? ? Checking device (1D6B/0001) (006/001) ? ?0.401305 ? ? - VendorID: 1d6b ? ?0.401316 ? ? - ProductID: 0001 ? ?0.401325 ? ? - Manufacturer: Linux 3.0.0-12-server ohci_hcd ? ?0.401335 ? ? - Product: OHCI Host Controller ? ?0.401344 ? ? - Serial Number: 0000:00:13.1 ? ?0.401353 ? ? - Bus: 006 ? ?0.401362 ? ? Trying to match device ? ?0.401374 ? ? Device does not match - skipping ? ?0.401388 ? ? Checking device (1D6B/0001) (005/001) ? ?0.401429 ? ? - VendorID: 1d6b ? ?0.401440 ? ? - ProductID: 0001 ? ?0.401449 ? ? - Manufacturer: Linux 3.0.0-12-server ohci_hcd ? ?0.401459 ? ? - Product: OHCI Host Controller ? ?0.401468 ? ? - Serial Number: 0000:00:13.0 ? ?0.401477 ? ? - Bus: 005 ? ?0.401486 ? ? Trying to match device ? ?0.401496 ? ? Device does not match - skipping ? ?0.401511 ? ? Checking device (1D6B/0001) (004/001) ? ?0.401552 ? ? - VendorID: 1d6b ? ?0.401562 ? ? - ProductID: 0001 ? ?0.401571 ? ? - Manufacturer: Linux 3.0.0-12-server ohci_hcd ? ?0.401580 ? ? - Product: OHCI Host Controller ? ?0.401589 ? ? - Serial Number: 0000:00:12.1 ? ?0.401598 ? ? - Bus: 004 ? ?0.401607 ? ? Trying to match device ? ?0.401617 ? ? Device does not match - skipping ? ?0.401631 ? ? Checking device (06DA/0001) (003/003) ? ?0.406831 ? ? - VendorID: 06da ? ?0.406867 ? ? - ProductID: 0001 ? ?0.406877 ? ? - Manufacturer: unknown ? ?0.406886 ? ? - Product: unknown ? ?0.406896 ? ? - Serial Number: unknown ? ?0.406905 ? ? - Bus: 003 ? ?0.406913 ? ? Trying to match device ? ?0.407027 ? ? Device matches ? ?0.410836 ? ? Unable to get HID descriptor (error sending control message: Timer expired) ? ?0.410879 ? ? i=0, extra[i]=09, extra[i+1]=21 ? ?0.410897 ? ? HID descriptor, method 2: (9 bytes) => 09 21 11 01 21 01 22 16 01 ? ?0.410908 ? ? HID descriptor length 278 ? ?0.412850 ? ? Unable to get Report descriptor: Timer expired ? ?0.412949 ? ? Checking device (04F3/0103) (003/002) ? ?0.413014 ? ? - VendorID: 04f3 ? ?0.413064 ? ? - ProductID: 0103 ? ?0.413097 ? ? - Manufacturer: unknown ? ?0.413129 ? ? - Product: unknown ? ?0.413158 ? ? - Serial Number: unknown ? ?0.413182 ? ? - Bus: 003 ? ?0.413216 ? ? Trying to match device ? ?0.413252 ? ? Device does not match - skipping ? ?0.413287 ? ? Checking device (1D6B/0001) (003/001) ? ?0.413378 ? ? - VendorID: 1d6b ? ?0.413410 ? ? - ProductID: 0001 ? ?0.413439 ? ? - Manufacturer: Linux 3.0.0-12-server ohci_hcd ? ?0.413469 ? ? - Product: OHCI Host Controller ? ?0.413498 ? ? - Serial Number: 0000:00:12.0 ? ?0.413528 ? ? - Bus: 003 ? ?0.413557 ? ? Trying to match device ? ?0.413588 ? ? Device does not match - skipping ? ?0.413624 ? ? Checking device (1D6B/0002) (002/001) ? ?0.413685 ? ? - VendorID: 1d6b ? ?0.413716 ? ? - ProductID: 0002 ? ?0.413757 ? ? - Manufacturer: Linux 3.0.0-12-server ehci_hcd ? ?0.413787 ? ? - Product: EHCI Host Controller ? ?0.413817 ? ? - Serial Number: 0000:00:13.2 ? ?0.413846 ? ? - Bus: 002 ? ?0.413875 ? ? Trying to match device ? ?0.413906 ? ? Device does not match - skipping ? ?0.413943 ? ? Checking device (1D6B/0002) (001/001) ? ?0.414002 ? ? - VendorID: 1d6b ? ?0.414033 ? ? - ProductID: 0002 ? ?0.414062 ? ? - Manufacturer: Linux 3.0.0-12-server ehci_hcd ? ?0.414092 ? ? - Product: EHCI Host Controller ? ?0.414122 ? ? - Serial Number: 0000:00:12.2 ? ?0.414151 ? ? - Bus: 001 ? ?0.414180 ? ? Trying to match device ? ?0.414211 ? ? Device does not match - skipping ? ?0.414245 ? ? No appropriate HID device found ? ?0.414279 ? ? No matching HID UPS found Thanks Alex -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.alioth.debian.org/pipermail/nut-upsdev/attachments/20120401/cfddaf49/attachment-0001.html>
Charles Lepple
2012-Apr-01 13:56 UTC
[Nut-upsdev] Socomec sicon Netys 2000 PR ups USb driver for ubuntu
On Apr 1, 2012, at 3:08 AM, Kovacs Sandor Robert wrote:> 0.410836 Unable to get HID descriptor (error sending control message: Timer expired) > 0.410879 i=0, extra[i]=09, extra[i+1]=21 > 0.410897 HID descriptor, method 2: (9 bytes) => 09 21 11 01 21 01 22 16 01 > 0.410908 HID descriptor length 278 > 0.412850 Unable to get Report descriptor: Timer expiredThis sounds like a problem in the UPS firmware. Retrieving the HID descriptors is a standard operation. Can you list the USB descriptors with lsusb? You will probably need to run something like "sudo lsusb -vv -d 06DA:0001". -- Charles Lepple clepple at gmail
Kovacs Sandor Robert
2012-Apr-01 14:48 UTC
[Nut-upsdev] Socomec sicon Netys 2000 PR ups USb driver for ubuntu
This is the result of that command: Bus 003 Device 002: ID 06da:0001 Phoenixtec Power Co., Ltd Device Descriptor: ? bLength ? ? ? ? ? ? ? ?18 ? bDescriptorType ? ? ? ? 1 ? bcdUSB ? ? ? ? ? ? ? 1.10 ? bDeviceClass ? ? ? ? ? ?0 (Defined at Interface level) ? bDeviceSubClass ? ? ? ? 0 ? bDeviceProtocol ? ? ? ? 0 ? bMaxPacketSize0 ? ? ? ? 8 ? idVendor ? ? ? ? ? 0x06da Phoenixtec Power Co., Ltd ? idProduct ? ? ? ? ?0x0001 ? bcdDevice ? ? ? ? ? ?0.01 ? iManufacturer ? ? ? ? ? 3 SOCOMEC SICON UPS ? iProduct ? ? ? ? ? ? ? ?1 NETYS UPS ? iSerial ? ? ? ? ? ? ? ? 2 ? bNumConfigurations ? ? ?1 ? Configuration Descriptor: ? ? bLength ? ? ? ? ? ? ? ? 9 ? ? bDescriptorType ? ? ? ? 2 ? ? wTotalLength ? ? ? ? ? 34 ? ? bNumInterfaces ? ? ? ? ?1 ? ? bConfigurationValue ? ? 1 ? ? iConfiguration ? ? ? ? ?0 ? ? bmAttributes ? ? ? ? 0xa0 ? ? ? (Bus Powered) ? ? ? Remote Wakeup ? ? MaxPower ? ? ? ? ? ? ? 30mA ? ? Interface Descriptor: ? ? ? bLength ? ? ? ? ? ? ? ? 9 ? ? ? bDescriptorType ? ? ? ? 4 ? ? ? bInterfaceNumber ? ? ? ?0 ? ? ? bAlternateSetting ? ? ? 0 ? ? ? bNumEndpoints ? ? ? ? ? 1 ? ? ? bInterfaceClass ? ? ? ? 3 Human Interface Device ? ? ? bInterfaceSubClass ? ? ?0 No Subclass ? ? ? bInterfaceProtocol ? ? ?0 None ? ? ? iInterface ? ? ? ? ? ? ?0 ? ? ? ? HID Device Descriptor: ? ? ? ? ? bLength ? ? ? ? ? ? ? ? 9 ? ? ? ? ? bDescriptorType ? ? ? ?33 ? ? ? ? ? bcdHID ? ? ? ? ? ? ? 1.11 ? ? ? ? ? bCountryCode ? ? ? ? ? 33 US ? ? ? ? ? bNumDescriptors ? ? ? ? 1 ? ? ? ? ? bDescriptorType ? ? ? ?34 Report ? ? ? ? ? wDescriptorLength ? ? 278 ? ? ? ? ?Report Descriptors: ? ? ? ? ? ?** UNAVAILABLE ** ? ? ? 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 ? ? ? ? ? ? ?30 Device Status: ? ? 0x0000 ? (Bus Powered) But i managed to get some logs when it connected to the UPS here are the results of the (/lib/nut/usbhid-ups -u root -DDDDD -a netys ): ?923.706216 ? ? Got 0 HID objects... ?923.706231 ? ? Quick update... ?923.706243 ? ? Entering libusb_get_report ?923.708177 ? ? Report[get]: (2 bytes) => 16 05 ?923.708247 ? ? PhyMax = 0, PhyMin = 0, LogMax = 1, LogMin = 0 ?923.708324 ? ? Unit = 00000000, UnitExp = 0 ?923.708364 ? ? Exponent = 0 ?923.708391 ? ? Path: UPS.PowerSummary.PresentStatus.ACPresent, Type: Feature, ReportID: 0x16, Offset: 0, Size: 1, Value: 1 ?923.708435 ? ? hu_find_infoval: found online (value: 1) ?923.708460 ? ? process_boolean_info: online ?923.708488 ? ? Report[buf]: (2 bytes) => 16 05 ?923.708531 ? ? PhyMax = 0, PhyMin = 0, LogMax = 1, LogMin = 0 ?923.708557 ? ? Unit = 00000000, UnitExp = 0 ?923.708594 ? ? Exponent = 0 ?923.708622 ? ? Path: UPS.PowerSummary.PresentStatus.BelowRemainingCapacityLimit, Type: Feature, ReportID: 0x16, Offset: 1, Size: 1, Value: 0 ?923.708662 ? ? hu_find_infoval: found !lowbatt (value: 0) ?923.708688 ? ? process_boolean_info: !lowbatt ?923.708719 ? ? Report[buf]: (2 bytes) => 16 05 ?923.708747 ? ? PhyMax = 0, PhyMin = 0, LogMax = 1, LogMin = 0 ?923.708781 ? ? Unit = 00000000, UnitExp = 0 ?923.708806 ? ? Exponent = 0 ?923.708841 ? ? Path: UPS.PowerSummary.PresentStatus.Charging, Type: Feature, ReportID: 0x16, Offset: 2, Size: 1, Value: 1 ?923.708868 ? ? hu_find_infoval: found chrg (value: 1) ?923.708900 ? ? process_boolean_info: chrg ?923.708927 ? ? Report[buf]: (2 bytes) => 16 05 ?923.708961 ? ? PhyMax = 0, PhyMin = 0, LogMax = 1, LogMin = 0 ?923.708987 ? ? Unit = 00000000, UnitExp = 0 ?923.709014 ? ? Exponent = 0 ?923.709050 ? ? Path: UPS.PowerSummary.PresentStatus.Discharging, Type: Feature, ReportID: 0x16, Offset: 3, Size: 1, Value: 0 ?923.709081 ? ? hu_find_infoval: found !dischrg (value: 0) ?923.709120 ? ? process_boolean_info: !dischrg ?925.457123 ? ? upsdrv_updateinfo... ?925.708313 ? ? libusb_get_interrupt: Connection timed out ?925.708387 ? ? Got 0 HID objects... ?925.708419 ? ? Quick update... ?925.708450 ? ? Entering libusb_get_report ?925.710315 ? ? Report[get]: (2 bytes) => 16 05 ?925.710385 ? ? PhyMax = 0, PhyMin = 0, LogMax = 1, LogMin = 0 ?925.710458 ? ? Unit = 00000000, UnitExp = 0 ?925.710498 ? ? Exponent = 0 ?925.710526 ? ? Path: UPS.PowerSummary.PresentStatus.ACPresent, Type: Feature, ReportID: 0x16, Offset: 0, Size: 1, Value: 1 ?925.710577 ? ? hu_find_infoval: found online (value: 1) ?925.710603 ? ? process_boolean_info: online ?925.710632 ? ? Report[buf]: (2 bytes) => 16 05 ?925.710657 ? ? PhyMax = 0, PhyMin = 0, LogMax = 1, LogMin = 0 ?925.710786 ? ? Unit = 00000000, UnitExp = 0 ?925.710811 ? ? Exponent = 0 ?925.710842 ? ? Path: UPS.PowerSummary.PresentStatus.BelowRemainingCapacityLimit, Type: Feature, ReportID: 0x16, Offset: 1, Size: 1, Value: 0 ?925.710890 ? ? hu_find_infoval: found !lowbatt (value: 0) ?925.710916 ? ? process_boolean_info: !lowbatt ?925.710947 ? ? Report[buf]: (2 bytes) => 16 05 ?925.710976 ? ? PhyMax = 0, PhyMin = 0, LogMax = 1, LogMin = 0 ?925.711005 ? ? Unit = 00000000, UnitExp = 0 ?925.711035 ? ? Exponent = 0 ?925.711069 ? ? Path: UPS.PowerSummary.PresentStatus.Charging, Type: Feature, ReportID: 0x16, Offset: 2, Size: 1, Value: 1 ?925.711101 ? ? hu_find_infoval: found chrg (value: 1) ?925.711133 ? ? process_boolean_info: chrg ?925.711161 ? ? Report[buf]: (2 bytes) => 16 05 ?925.711189 ? ? PhyMax = 0, PhyMin = 0, LogMax = 1, LogMin = 0 ?925.711223 ? ? Unit = 00000000, UnitExp = 0 ?925.711261 ? ? Exponent = 0 ?925.711292 ? ? Path: UPS.PowerSummary.PresentStatus.Discharging, Type: Feature, ReportID: 0x16, Offset: 3, Size: 1, Value: 0 ?925.711328 ? ? hu_find_infoval: found !dischrg (value: 0) ?925.711354 ? ? process_boolean_info: !dischrg ?927.458916 ? ? upsdrv_updateinfo... ?927.710422 ? ? libusb_get_interrupt: Connection timed out ?927.710495 ? ? Got 0 HID objects... ?927.710527 ? ? Full update... ?927.710560 ? ? Entering libusb_get_report ?927.712443 ? ? Report[get]: (3 bytes) => 0b 20 e1 ?927.712513 ? ? PhyMax = 0, PhyMin = 0, LogMax = 255, LogMin = 0 ?927.712585 ? ? Unit = 00f0d121, UnitExp = 7 ?927.712626 ? ? Exponent = 0 ?927.712656 ? ? Path: UPS.PowerSummary.Voltage, Type: Feature, ReportID: 0x0b, Offset: 8, Size: 8, Value: 225 ?927.712703 ? ? Entering libusb_get_report ?927.715458 ? ? Report[get]: (2 bytes) => 1f e6 ?927.715527 ? ? PhyMax = 0, PhyMin = 0, LogMax = 255, LogMin = 0 ?927.715556 ? ? Unit = 00f0d121, UnitExp = 7 ?927.715584 ? ? Exponent = 0 ?927.715651 ? ? Path: UPS.PowerSummary.ConfigVoltage, Type: Feature, ReportID: 0x1f, Offset: 0, Size: 8, Value: 230 ?927.715685 ? ? Entering libusb_get_report ?927.718459 ? ? Report[get]: (5 bytes) => 15 62 00 00 00 ?927.718529 ? ? PhyMax = 0, PhyMin = 0, LogMax = 100, LogMin = 0 ?927.718595 ? ? Unit = 00000000, UnitExp = 0 ?927.718633 ? ? Exponent = 0 ?927.718662 ? ? Path: UPS.PowerSummary.RemainingCapacity, Type: Feature, ReportID: 0x15, Offset: 0, Size: 8, Value: 98 ?927.718750 ? ? Report[buf]: (5 bytes) => 15 62 00 00 00 ?927.718779 ? ? PhyMax = 0, PhyMin = 0, LogMax = 16777215, LogMin = 0 ?927.718804 ? ? Unit = 00001001, UnitExp = 0 ?927.718828 ? ? Exponent = 0 ?927.718856 ? ? Path: UPS.PowerSummary.RunTimeToEmpty, Type: Feature, ReportID: 0x15, Offset: 8, Size: 24, Value: 0 ?927.718913 ? ? Entering libusb_get_report ?927.721442 ? ? Report[get]: (8 bytes) => 01 04 01 64 02 02 01 04 ?927.721574 ? ? PhyMax = 0, PhyMin = 0, LogMax = 255, LogMin = 0 ?927.721608 ? ? Unit = 00000000, UnitExp = 0 ?927.721634 ? ? Exponent = 0 ?927.721666 ? ? Path: UPS.PowerSummary.iDeviceChemistry, Type: Feature, ReportID: 0x01, Offset: 48, Size: 8, Value: 4 ?927.728466 ? ? Report[buf]: (3 bytes) => 0b 20 e1 ?927.728535 ? ? PhyMax = 0, PhyMin = 0, LogMax = 255, LogMin = 0 ?927.728564 ? ? Unit = 00000000, UnitExp = 0 ?927.728593 ? ? Exponent = 0 ?927.728660 ? ? Path: UPS.PowerSummary.PercentLoad, Type: Feature, ReportID: 0x0b, Offset: 0, Size: 8, Value: 32 ?927.728695 ? ? Entering libusb_get_report ?927.731457 ? ? Report[get]: (2 bytes) => 16 05 ?927.731526 ? ? PhyMax = 0, PhyMin = 0, LogMax = 1, LogMin = 0 ?927.731554 ? ? Unit = 00000000, UnitExp = 0 ?927.731584 ? ? Exponent = 0 ?927.731650 ? ? Path: UPS.PowerSummary.PresentStatus.ACPresent, Type: Feature, ReportID: 0x16, Offset: 0, Size: 1, Value: 1 ?927.731693 ? ? hu_find_infoval: found online (value: 1) ?927.731718 ? ? process_boolean_info: online ?927.731747 ? ? Report[buf]: (2 bytes) => 16 05 ?927.731776 ? ? PhyMax = 0, PhyMin = 0, LogMax = 1, LogMin = 0 ?927.731801 ? ? Unit = 00000000, UnitExp = 0 ?927.731844 ? ? Exponent = 0 ?927.731871 ? ? Path: UPS.PowerSummary.PresentStatus.BelowRemainingCapacityLimit, Type: Feature, ReportID: 0x16, Offset: 1, Size: 1, Value: 0 ?927.731913 ? ? hu_find_infoval: found !lowbatt (value: 0) ?927.731955 ? ? process_boolean_info: !lowbatt ?927.731997 ? ? Report[buf]: (2 bytes) => 16 05 ?927.732023 ? ? PhyMax = 0, PhyMin = 0, LogMax = 1, LogMin = 0 ?927.732056 ? ? Unit = 00000000, UnitExp = 0 ?927.732080 ? ? Exponent = 0 ?927.732108 ? ? Path: UPS.PowerSummary.PresentStatus.Charging, Type: Feature, ReportID: 0x16, Offset: 2, Size: 1, Value: 1 ?927.732141 ? ? hu_find_infoval: found chrg (value: 1) ?927.732169 ? ? process_boolean_info: chrg ?927.732202 ? ? Report[buf]: (2 bytes) => 16 05 ?927.732228 ? ? PhyMax = 0, PhyMin = 0, LogMax = 1, LogMin = 0 ?927.732256 ? ? Unit = 00000000, UnitExp = 0 ?927.732288 ? ? Exponent = 0 ?927.732315 ? ? Path: UPS.PowerSummary.PresentStatus.Discharging, Type: Feature, ReportID: 0x16, Offset: 3, Size: 1, Value: 0 ?927.732345 ? ? hu_find_infoval: found !dischrg (value: 0) ?927.732372 ? ? process_boolean_info: !dischrg ?927.732444 ? ? Report[buf]: (2 bytes) => 16 05 ?927.732475 ? ? PhyMax = 0, PhyMin = 0, LogMax = 1, LogMin = 0 ?927.732505 ? ? Unit = 00000000, UnitExp = 0 ?927.732536 ? ? Exponent = 0 ?927.732572 ? ? Path: UPS.PowerSummary.PresentStatus.Overload, Type: Feature, ReportID: 0x16, Offset: 4, Size: 1, Value: 0 ?927.732604 ? ? hu_find_infoval: found !overload (value: 0) ?927.732629 ? ? process_boolean_info: !overload ?927.732661 ? ? Report[buf]: (2 bytes) => 16 05 ?927.732691 ? ? PhyMax = 0, PhyMin = 0, LogMax = 1, LogMin = 0 ?927.732725 ? ? Unit = 00000000, UnitExp = 0 ?927.732757 ? ? Exponent = 0 ?927.732784 ? ? Path: UPS.PowerSummary.PresentStatus.ShutdownImminent, Type: Feature, ReportID: 0x16, Offset: 5, Size: 1, Value: 0 ?927.732814 ? ? hu_find_infoval: found !shutdownimm (value: 0) ?927.732843 ? ? process_boolean_info: !shutdownimm ?929.460706 ? ? upsdrv_updateinfo... ?929.712596 ? ? libusb_get_interrupt: Connection timed out ?929.712671 ? ? Got 0 HID objects... ?929.712703 ? ? Quick update... ?929.712740 ? ? Report[buf]: (2 bytes) => 16 05 ?929.712770 ? ? PhyMax = 0, PhyMin = 0, LogMax = 1, LogMin = 0 ?929.712796 ? ? Unit = 00000000, UnitExp = 0 ?929.712821 ? ? Exponent = 0 ?929.712893 ? ? Path: UPS.PowerSummary.PresentStatus.ACPresent, Type: Feature, ReportID: 0x16, Offset: 0, Size: 1, Value: 1 ?929.712921 ? ? hu_find_infoval: found online (value: 1) ?929.712962 ? ? process_boolean_info: online ?929.713005 ? ? Report[buf]: (2 bytes) => 16 05 ?929.713031 ? ? PhyMax = 0, PhyMin = 0, LogMax = 1, LogMin = 0 ?929.713083 ? ? Unit = 00000000, UnitExp = 0 ?929.713108 ? ? Exponent = 0 ?929.713148 ? ? Path: UPS.PowerSummary.PresentStatus.BelowRemainingCapacityLimit, Type: Feature, ReportID: 0x16, Offset: 1, Size: 1, Value: 0 Thanks Alex ________________________________ From: Charles Lepple <clepple at gmail.com> To: Kovacs Sandor Robert <kovacssupki at yahoo.com> Cc: NUT Developers List <nut-upsdev at lists.alioth.debian.org> Sent: Sunday, April 1, 2012 4:56 PM Subject: Re: [Nut-upsdev] Socomec sicon Netys 2000 PR ups USb driver for ubuntu On Apr 1, 2012, at 3:08 AM, Kovacs Sandor Robert wrote:>? ? 0.410836? ? Unable to get HID descriptor (error sending control message: Timer expired) >? ? 0.410879? ? i=0, extra[i]=09, extra[i+1]=21 >? ? 0.410897? ? HID descriptor, method 2: (9 bytes) => 09 21 11 01 21 01 22 16 01 >? ? 0.410908? ? HID descriptor length 278 >? ? 0.412850? ? Unable to get Report descriptor: Timer expiredThis sounds like a problem in the UPS firmware. Retrieving the HID descriptors is a standard operation. Can you list the USB descriptors with lsusb? You will probably need to run something like "sudo lsusb -vv -d 06DA:0001". -- Charles Lepple clepple at gmail -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.alioth.debian.org/pipermail/nut-upsdev/attachments/20120401/1f1121f2/attachment-0001.html>
Charles Lepple
2012-Apr-01 19:10 UTC
[Nut-upsdev] Socomec sicon Netys 2000 PR ups USb driver for ubuntu
On Apr 1, 2012, at 3:08 PM, Kovacs Sandor Robert wrote:> [106952.596077] usb 4-1: new low speed USB device number 3 using ohci_hcd > [106953.140114] usb 4-1: device not accepting address 3, error -62 > [106953.196067] hub 4-0:1.0: unable to enumerate USB device on port 1 > [106955.216092] usb 4-1: new low speed USB device number 5 using ohci_hcdThis is not good, and is something we can't fix in the NUT code. -- Charles Lepple clepple at gmail
Kovacs Alexandru Robert
2012-Apr-18 20:38 UTC
[Nut-upsdev] Socomec sicon Netys 2000 PR ups USb driver for ubuntu
739.548074 hu_find_infoval: found chrg (value: 1) 739.548141 process_boolean_info: chrg 739.548177 Report[buf]: (2 bytes) => 16 05 739.548209 PhyMax = 0, PhyMin = 0, LogMax = 1, LogMin = 0 739.548239 Unit = 00000000, UnitExp = 0 739.548272 Exponent = 0 739.548307 Path: UPS.PowerSummary.PresentStatus.Discharging, Type: Feature, ReportID: 0x16, Offset: 3, Size: 1, Value: 0 739.548362 hu_find_infoval: found !dischrg (value: 0) 739.548393 process_boolean_info: !dischrg 741.294400 upsdrv_updateinfo... 741.545303 libusb_get_interrupt: Connection timed out 741.545349 Got 0 HID objects... 741.545365 Quick update... 741.545377 Entering libusb_get_report 741.547308 Report[get]: (2 bytes) => 16 05 741.547374 PhyMax = 0, PhyMin = 0, LogMax = 1, LogMin = 0 741.547388 Unit = 00000000, UnitExp = 0 741.547399 Exponent = 0 741.547437 Path: UPS.PowerSummary.PresentStatus.ACPresent, Type: Feature, ReportID: 0x16, Offset: 0, Size: 1, Value: 1 741.547451 hu_find_infoval: found online (value: 1) 741.547463 process_boolean_info: online 741.547477 Report[buf]: (2 bytes) => 16 05 741.547488 PhyMax = 0, PhyMin = 0, LogMax = 1, LogMin = 0 741.547500 Unit = 00000000, UnitExp = 0 741.547510 Exponent = 0 741.547523 Path: UPS.PowerSummary.PresentStatus.BelowRemainingCapacityLimit, Type: Feature, ReportID: 0x16, Offset: 1, Size: 1, Value: 0 741.547536 hu_find_infoval: found !lowbatt (value: 0) 741.547547 process_boolean_info: !lowbatt 741.547560 Report[buf]: (2 bytes) => 16 05 741.547572 PhyMax = 0, PhyMin = 0, LogMax = 1, LogMin = 0 741.547583 Unit = 00000000, UnitExp = 0 741.547593 Exponent = 0 741.547605 Path: UPS.PowerSummary.PresentStatus.Charging, Type: Feature, ReportID: 0x16, Offset: 2, Size: 1, Value: 1 741.547618 hu_find_infoval: found chrg (value: 1) 741.547628 process_boolean_info: chrg 741.547641 Report[buf]: (2 bytes) => 16 05 741.547652 PhyMax = 0, PhyMin = 0, LogMax = 1, LogMin = 0 741.547664 Unit = 00000000, UnitExp = 0 741.547674 Exponent = 0 741.547687 Path: UPS.PowerSummary.PresentStatus.Discharging, Type: Feature, ReportID: 0x16, Offset: 3, Size: 1, Value: 0 741.547699 hu_find_infoval: found !dischrg (value: 0) 741.547710 process_boolean_info: !dischrg 743.296200 upsdrv_updateinfo... 743.547455 libusb_get_interrupt: Connection timed out 743.547503 Got 0 HID objects... 743.547519 Quick update... 743.547532 Entering libusb_get_report 743.549447 Report[get]: (2 bytes) => 16 05 743.549490 PhyMax = 0, PhyMin = 0, LogMax = 1, LogMin = 0 743.549504 Unit = 00000000, UnitExp = 0 743.549515 Exponent = 0 743.549530 Path: UPS.PowerSummary.PresentStatus.ACPresent, Type: Feature, ReportID: 0x16, Offset: 0, Size: 1, Value: 1 743.549544 hu_find_infoval: found online (value: 1) 743.549556 process_boolean_info: online 743.549571 Report[buf]: (2 bytes) => 16 05 743.549583 PhyMax = 0, PhyMin = 0, LogMax = 1, LogMin = 0 743.549595 Unit = 00000000, UnitExp = 0 743.549606 Exponent = 0 743.549619 Path: UPS.PowerSummary.PresentStatus.BelowRemainingCapacityLimit, Type: Feature, ReportID: 0x16, Offset: 1, Size: 1, Value: 0 743.549632 hu_find_infoval: found !lowbatt (value: 0) 743.549643 process_boolean_info: !lowbatt 743.549657 Report[buf]: (2 bytes) => 16 05 743.549669 PhyMax = 0, PhyMin = 0, LogMax = 1, LogMin = 0 743.549680 Unit = 00000000, UnitExp = 0 743.549690 Exponent = 0 743.549703 Path: UPS.PowerSummary.PresentStatus.Charging, Type: Feature, ReportID: 0x16, Offset: 2, Size: 1, Value: 1 743.549716 hu_find_infoval: found chrg (value: 1) 743.549726 process_boolean_info: chrg 743.549739 Report[buf]: (2 bytes) => 16 05 743.549751 PhyMax = 0, PhyMin = 0, LogMax = 1, LogMin = 0 743.549762 Unit = 00000000, UnitExp = 0 743.549772 Exponent = 0 743.549785 Path: UPS.PowerSummary.PresentStatus.Discharging, Type: Feature, ReportID: 0x16, Offset: 3, Size: 1, Value: 0 743.549797 hu_find_infoval: found !dischrg (value: 0) 743.549808 process_boolean_info: !dischrg These are my other logs can anybody help me? -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.alioth.debian.org/pipermail/nut-upsdev/attachments/20120418/b5fd41c2/attachment.html>