Hi Charles. I patched, reconfigured, remake'd, remake install'd - but no change. however, some more likely helpful information below for you. Thank you
On Mon, Jun 8, 2015 at 12:34 PM, Greg Hersch <[email protected]> wrote: > > > On Sun, 7 Jun 2015, Charles Lepple wrote: > >> [please use reply-all to include the list, as the list does not override >> the Reply-To header.] >> >> On Jun 7, 2015, at 5:02 PM, Greg Hersch <[email protected]> wrote: >> >>> Here is the driver debug log. If I just let it run, it pops up with >>> libusb_get_string_invalid argument over and over again, mixed in the >>> debug output. seems to be several issues reported in the log, but they >>> arent easily interpreted. >> >> >> Does the libusb_get_string error occur only every 30 seconds or so? > > > Yes - thats correct. perhaps more like every 15 sec. I was incorrect. they occur every 6 seconds. and there are two of them each time. hopefully that narrows it down! > >> >>> 1.164089 Path: UPS.ffff0015.[1].ffff00c5, Type: Feature, >>> ReportID: 0x9b, Offset: 0, Size: 16, Value: 3 >>> 1.172696 libusb_get_report: Value too large for defined data type >>> 1.172928 Can't retrieve Report c2: Value too large for defined data >>> type >> >> >> The entries with hex numbers in the path aren't important - the driver >> tries to dump them once at startup, then does not refer to them again. > > > ok thanks > >> >>> 3.402389 libusb_get_string: Invalid argument >> >> >> I think this is from trying to retrieve the value corresponding to >> "device.part" - which should also only be attempted once at startup. >> >> Try the attached patch? > > > Will do. i'll write back with how it goes - thank you > >> >> Also, I would be interested in the output of "lsusb -vvv -d 09ae:" for >> your UPS. Here it is: Bus 001 Device 006: ID 09ae:1007 Tripp Lite Device Descriptor: bLength 18 bDescriptorType 1 bcdUSB 1.10 bDeviceClass 0 bDeviceSubClass 0 bDeviceProtocol 0 bMaxPacketSize0 8 idVendor 0x09ae Tripp Lite idProduct 0x1007 bcdDevice 0.10 iManufacturer 3 Tripp Lite iProduct 1 TRIPP LITE UPS iSerial 2 FW-2263 E bNumConfigurations 1 Configuration Descriptor: bLength 9 bDescriptorType 2 wTotalLength 34 bNumInterfaces 1 bConfigurationValue 1 iConfiguration 0 bmAttributes 0xa0 (Bus Powered) Remote Wakeup MaxPower 100mA Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 0 bAlternateSetting 0 bNumEndpoints 1 bInterfaceClass 3 Human Interface Device bInterfaceSubClass 0 bInterfaceProtocol 0 iInterface 0 HID Device Descriptor: bLength 9 bDescriptorType 33 bcdHID 1.10 bCountryCode 0 Not supported bNumDescriptors 1 bDescriptorType 34 Report wDescriptorLength 447 Report Descriptor: (length is 447) Item(Global): Usage Page, data= [ 0x84 ] 132 Power Device Page Item(Local ): Usage, data= [ 0x04 ] 4 UPS Item(Main ): Collection, data= [ 0x01 ] 1 Application Item(Local ): Usage, data= [ 0x24 ] 36 Power Summary Item(Main ): Collection, data= [ 0x02 ] 2 Logical Item(Global): Usage Page, data= [ 0x84 ] 132 Power Device Page Item(Global): Report ID, data= [ 0x28 ] 40 Item(Local ): Usage, data= [ 0xfe ] 254 iProduct Item(Global): Report Size, data= [ 0x08 ] 8 Item(Global): Report Count, data= [ 0x01 ] 1 Item(Global): Logical Maximum, data= [ 0xff 0x00 ] 255 Item(Global): Logical Minimum, data= [ 0x00 ] 0 Item(Main ): Feature, data= [ 0x03 ] 3 Constant Variable Absolute No_Wrap Linear Preferred_State No_Null_Position Non_Volatile Bitfield Item(Global): Report ID, data= [ 0x29 ] 41 Item(Local ): Usage, data= [ 0xff ] 255 iSerialNumber Item(Main ): Feature, data= [ 0x03 ] 3 Constant Variable Absolute No_Wrap Linear Preferred_State No_Null_Position Non_Volatile Bitfield Item(Global): Report ID, data= [ 0x2b ] 43 Item(Local ): Usage, data= [ 0xfd ] 253 iManufacturer Item(Main ): Feature, data= [ 0x03 ] 3 Constant Variable Absolute No_Wrap Linear Preferred_State No_Null_Position Non_Volatile Bitfield Item(Local ): Usage, data= [ 0x1a ] 26 Input Item(Main ): Collection, data= [ 0x02 ] 2 Logical Item(Local ): Usage, data= [ 0x40 ] 64 Config Voltage Item(Global): Report ID, data= [ 0x30 ] 48 Item(Main ): Feature, data= [ 0x83 ] 131 Constant Variable Absolute No_Wrap Linear Preferred_State No_Null_Position Volatile Bitfield Item(Main ): End Collection, data=none Item(Global): Report ID, data= [ 0x11 ] 17 Item(Local ): Usage, data= [ 0x5a ] 90 Audible Alarm Control Item(Main ): Feature, data= [ 0x82 ] 130 Data Variable Absolute No_Wrap Linear Preferred_State No_Null_Position Volatile Bitfield Item(Global): Usage Page, data= [ 0x85 ] 133 Battery System Page Item(Global): Report ID, data= [ 0x2a ] 42 Item(Local ): Usage, data= [ 0x89 ] 137 iDeviceChemistry Item(Main ): Feature, data= [ 0x03 ] 3 Constant Variable Absolute No_Wrap Linear Preferred_State No_Null_Position Non_Volatile Bitfield Item(Global): Report ID, data= [ 0x33 ] 51 Item(Local ): Usage, data= [ 0x2c ] 44 Capacity Mode Item(Main ): Feature, data= [ 0x03 ] 3 Constant Variable Absolute No_Wrap Linear Preferred_State No_Null_Position Non_Volatile Bitfield Item(Global): Logical Maximum, data= [ 0xff 0xff 0x00 0x00 ] 65535 Item(Global): Report Size, data= [ 0x10 ] 16 Item(Global): Report ID, data= [ 0x35 ] 53 Item(Local ): Usage, data= [ 0x68 ] 104 Run Time To Empty Item(Main ): Input, data= [ 0xa2 ] 162 Data Variable Absolute No_Wrap Linear No_Preferred_State No_Null_Position Volatile Bitfield Item(Global): Report ID, data= [ 0x35 ] 53 Item(Local ): Usage, data= [ 0x68 ] 104 Run Time To Empty Item(Main ): Feature, data= [ 0xa2 ] 162 Data Variable Absolute No_Wrap Linear No_Preferred_State No_Null_Position Volatile Bitfield Item(Global): Logical Maximum, data= [ 0x64 ] 100 Item(Global): Report Size, data= [ 0x08 ] 8 Item(Global): Report ID, data= [ 0x34 ] 52 Item(Local ): Usage, data= [ 0x66 ] 102 Remaining Capacity Item(Main ): Input, data= [ 0xa2 ] 162 Data Variable Absolute No_Wrap Linear No_Preferred_State No_Null_Position Volatile Bitfield Item(Global): Report ID, data= [ 0x34 ] 52 Item(Local ): Usage, data= [ 0x66 ] 102 Remaining Capacity Item(Main ): Feature, data= [ 0xa2 ] 162 Data Variable Absolute No_Wrap Linear No_Preferred_State No_Null_Position Volatile Bitfield Item(Global): Report ID, data= [ 0x37 ] 55 Item(Local ): Usage, data= [ 0x67 ] 103 Full Charge Capacity Item(Main ): Feature, data= [ 0x03 ] 3 Constant Variable Absolute No_Wrap Linear Preferred_State No_Null_Position Non_Volatile Bitfield Item(Global): Usage Page, data= [ 0x84 ] 132 Power Device Page Item(Local ): Usage, data= [ 0x02 ] 2 Present Status Item(Main ): Collection, data= [ 0x02 ] 2 Logical Item(Global): Logical Maximum, data= [ 0x01 ] 1 Item(Global): Report Size, data= [ 0x01 ] 1 Item(Global): Report ID, data= [ 0x32 ] 50 Item(Global): Usage Page, data= [ 0x84 ] 132 Power Device Page Item(Global): Report Count, data= [ 0x01 ] 1 Item(Local ): Usage, data= [ 0x69 ] 105 Shutdown Imminent Item(Main ): Input, data= [ 0xa2 ] 162 Data Variable Absolute No_Wrap Linear No_Preferred_State No_Null_Position Volatile Bitfield Item(Local ): Usage, data= [ 0xd0 ] 208 (null) Item(Main ): Input, data= [ 0xa2 ] 162 Data Variable Absolute No_Wrap Linear No_Preferred_State No_Null_Position Volatile Bitfield Item(Global): Report Count, data= [ 0x03 ] 3 Item(Local ): Usage, data= [ 0x44 ] 68 Config Active Power Item(Local ): Usage, data= [ 0x45 ] 69 Config Percent Load Item(Local ): Usage, data= [ 0x4b ] 75 (null) Item(Main ): Input, data= [ 0xa2 ] 162 Data Variable Absolute No_Wrap Linear No_Preferred_State No_Null_Position Volatile Bitfield Item(Global): Report Count, data= [ 0x03 ] 3 Item(Main ): Input, data= [ 0x01 ] 1 Constant Array Absolute No_Wrap Linear Preferred_State No_Null_Position Non_Volatile Bitfield Item(Global): Report ID, data= [ 0x32 ] 50 Item(Global): Usage Page, data= [ 0x84 ] 132 Power Device Page Item(Global): Report Size, data= [ 0x01 ] 1 Item(Global): Report Count, data= [ 0x01 ] 1 Item(Local ): Usage, data= [ 0x69 ] 105 Shutdown Imminent Item(Main ): Feature, data= [ 0xa2 ] 162 Data Variable Absolute No_Wrap Linear No_Preferred_State No_Null_Position Volatile Bitfield Item(Global): Usage Page, data= [ 0x85 ] 133 Battery System Page Item(Local ): Usage, data= [ 0xd0 ] 208 AC Present Item(Main ): Feature, data= [ 0xa2 ] 162 Data Variable Absolute No_Wrap Linear No_Preferred_State No_Null_Position Volatile Bitfield Item(Global): Report Count, data= [ 0x03 ] 3 Item(Local ): Usage, data= [ 0x44 ] 68 Charging Item(Local ): Usage, data= [ 0x45 ] 69 Discharging Item(Local ): Usage, data= [ 0x4b ] 75 Need Replacement Item(Main ): Feature, data= [ 0xa2 ] 162 Data Variable Absolute No_Wrap Linear No_Preferred_State No_Null_Position Volatile Bitfield Item(Global): Report Count, data= [ 0x03 ] 3 Item(Main ): Feature, data= [ 0x01 ] 1 Constant Array Absolute No_Wrap Linear Preferred_State No_Null_Position Non_Volatile Bitfield Item(Main ): End Collection, data=none Item(Main ): End Collection, data=none Item(Global): Usage Page, data= [ 0x84 ] 132 Power Device Page Item(Local ): Usage, data= [ 0x10 ] 16 Battery System Item(Main ): Collection, data= [ 0x02 ] 2 Logical Item(Local ): Usage, data= [ 0x12 ] 18 Battery Item(Main ): Collection, data= [ 0x02 ] 2 Logical Item(Global): Report ID, data= [ 0x04 ] 4 Item(Local ): Usage, data= [ 0x40 ] 64 Config Voltage Item(Global): Report Size, data= [ 0x10 ] 16 Item(Global): Report Count, data= [ 0x01 ] 1 Item(Global): Logical Maximum, data= [ 0xff 0xff 0x00 0x00 ] 65535 Item(Main ): Feature, data= [ 0x02 ] 2 Data Variable Absolute No_Wrap Linear Preferred_State No_Null_Position Non_Volatile Bitfield Item(Global): Usage Page, data= [ 0x84 ] 132 Power Device Page Item(Local ): Usage, data= [ 0x02 ] 2 Present Status Item(Main ): Collection, data= [ 0x02 ] 2 Logical Item(Global): Report ID, data= [ 0x23 ] 35 Item(Global): Usage Page, data= [ 0x85 ] 133 Battery System Page Item(Global): Report Size, data= [ 0x01 ] 1 Item(Global): Logical Maximum, data= [ 0x01 ] 1 Item(Global): Report Count, data= [ 0x03 ] 3 Item(Local ): Usage, data= [ 0x44 ] 68 Charging Item(Local ): Usage, data= [ 0x45 ] 69 Discharging Item(Local ): Usage, data= [ 0x4b ] 75 Need Replacement Item(Main ): Feature, data= [ 0x82 ] 130 Data Variable Absolute No_Wrap Linear Preferred_State No_Null_Position Volatile Bitfield Item(Global): Report Count, data= [ 0x05 ] 5 Item(Main ): Feature, data= [ 0x01 ] 1 Constant Array Absolute No_Wrap Linear Preferred_State No_Null_Position Non_Volatile Bitfield Item(Main ): End Collection, data=none Item(Main ): End Collection, data=none Item(Global): Usage Page, data= [ 0x84 ] 132 Power Device Page Item(Global): Report Count, data= [ 0x01 ] 1 Item(Global): Report Size, data= [ 0x08 ] 8 Item(Global): Logical Maximum, data= [ 0xff 0x00 ] 255 Item(Local ): Usage, data= [ 0x58 ] 88 Test Item(Global): Report ID, data= [ 0x10 ] 16 Item(Main ): Feature, data= [ 0x82 ] 130 Data Variable Absolute No_Wrap Linear Preferred_State No_Null_Position Volatile Bitfield Item(Main ): End Collection, data=none Item(Global): Usage Page, data= [ 0x84 ] 132 Power Device Page Item(Local ): Usage, data= [ 0x1e ] 30 Flow Item(Main ): Collection, data= [ 0x02 ] 2 Logical Item(Global): Report ID, data= [ 0x01 ] 1 Item(Local ): Usage, data= [ 0x40 ] 64 Config Voltage Item(Main ): Feature, data= [ 0x03 ] 3 Constant Variable Absolute No_Wrap Linear Preferred_State No_Null_Position Non_Volatile Bitfield Item(Global): Report ID, data= [ 0x02 ] 2 Item(Local ): Usage, data= [ 0x42 ] 66 Config Frequency Item(Main ): Feature, data= [ 0x03 ] 3 Constant Variable Absolute No_Wrap Linear Preferred_State No_Null_Position Non_Volatile Bitfield Item(Global): Usage Page, data= [ 0x84 ] 132 Power Device Page Item(Global): Report ID, data= [ 0x03 ] 3 Item(Local ): Usage, data= [ 0x43 ] 67 Config Apparent Power Item(Global): Report Size, data= [ 0x10 ] 16 Item(Global): Report Count, data= [ 0x01 ] 1 Item(Global): Logical Maximum, data= [ 0xff 0xff 0x00 0x00 ] 65535 Item(Main ): Feature, data= [ 0x03 ] 3 Constant Variable Absolute No_Wrap Linear Preferred_State No_Null_Position Non_Volatile Bitfield Item(Main ): End Collection, data=none Item(Global): Usage Page, data= [ 0x84 ] 132 Power Device Page Item(Global): Report Count, data= [ 0x01 ] 1 Item(Global): Report Size, data= [ 0x08 ] 8 Item(Global): Logical Maximum, data= [ 0xff 0x00 ] 255 Item(Local ): Usage, data= [ 0x18 ] 24 Outlet System Item(Main ): Collection, data= [ 0x02 ] 2 Logical Item(Local ): Usage, data= [ 0x20 ] 32 Outlet Item(Main ): Collection, data= [ 0x02 ] 2 Logical Item(Global): Report Count, data= [ 0x01 ] 1 Item(Global): Report Size, data= [ 0x10 ] 16 Item(Global): Logical Maximum, data= [ 0xff 0xff 0x00 0x00 ] 65535 Item(Global): Report ID, data= [ 0x15 ] 21 Item(Local ): Usage, data= [ 0x57 ] 87 Delay Before Shutdown Item(Main ): Feature, data= [ 0x82 ] 130 Data Variable Absolute No_Wrap Linear Preferred_State No_Null_Position Volatile Bitfield Item(Global): Report Size, data= [ 0x08 ] 8 Item(Global): Logical Maximum, data= [ 0xff 0x00 ] 255 Item(Global): Usage Page, data= [ 0xff 0xff ] 65535 (null) Item(Global): Report ID, data= [ 0x51 ] 81 Item(Local ): Usage, data= [ 0x91 ] 145 (null) Item(Main ): Feature, data= [ 0x82 ] 130 Data Variable Absolute No_Wrap Linear Preferred_State No_Null_Position Volatile Bitfield Item(Global): Report ID, data= [ 0x52 ] 82 Item(Local ): Usage, data= [ 0x92 ] 146 (null) Item(Main ): Feature, data= [ 0x82 ] 130 Data Variable Absolute No_Wrap Linear Preferred_State No_Null_Position Volatile Bitfield Item(Global): Report ID, data= [ 0xb6 ] 182 Item(Local ): Usage, data= [ 0xc7 ] 199 (null) Item(Main ): Feature, data= [ 0x82 ] 130 Data Variable Absolute No_Wrap Linear Preferred_State No_Null_Position Volatile Bitfield Item(Main ): End Collection, data=none Item(Main ): End Collection, data=none Item(Global): Usage Page, data= [ 0xff 0xff ] 65535 (null) Item(Local ): Usage, data= [ 0x10 ] 16 (null) Item(Main ): Collection, data= [ 0x81 ] 129 Vendor defined Item(Global): Report Size, data= [ 0x10 ] 16 Item(Global): Report Count, data= [ 0x01 ] 1 Item(Global): Logical Maximum, data= [ 0xff 0xff 0x00 0x00 ] 65535 Item(Global): Report ID, data= [ 0x6c ] 108 Item(Local ): Usage, data= [ 0x7d ] 125 (null) Item(Main ): Feature, data= [ 0x03 ] 3 Constant Variable Absolute No_Wrap Linear Preferred_State No_Null_Position Non_Volatile Bitfield Item(Main ): End Collection, data=none Item(Global): Usage Page, data= [ 0xff 0xff ] 65535 (null) Item(Local ): Usage, data= [ 0x15 ] 21 (null) Item(Main ): Collection, data= [ 0x81 ] 129 Vendor defined Item(Global): Report Size, data= [ 0x08 ] 8 Item(Global): Report Count, data= [ 0x01 ] 1 Item(Global): Logical Maximum, data= [ 0xff 0x00 ] 255 Item(Global): Report ID, data= [ 0x96 ] 150 Item(Local ): Usage, data= [ 0xc0 ] 192 (null) Item(Main ): Feature, data= [ 0x02 ] 2 Data Variable Absolute No_Wrap Linear Preferred_State No_Null_Position Non_Volatile Bitfield Item(Global): Report Size, data= [ 0x20 ] 32 Item(Global): Report ID, data= [ 0xb4 ] 180 Item(Local ): Usage, data= [ 0xd2 ] 210 (null) Item(Main ): Feature, data= [ 0x02 ] 2 Data Variable Absolute No_Wrap Linear Preferred_State No_Null_Position Non_Volatile Bitfield Item(Global): Report Size, data= [ 0x10 ] 16 Item(Global): Report ID, data= [ 0x97 ] 151 Item(Local ): Usage, data= [ 0xc1 ] 193 (null) Item(Main ): Feature, data= [ 0x02 ] 2 Data Variable Absolute No_Wrap Linear Preferred_State No_Null_Position Non_Volatile Bitfield Item(Global): Report Size, data= [ 0x08 ] 8 Item(Global): Report ID, data= [ 0x98 ] 152 Item(Local ): Usage, data= [ 0xc2 ] 194 (null) Item(Main ): Feature, data= [ 0x02 ] 2 Data Variable Absolute No_Wrap Linear Preferred_State No_Null_Position Non_Volatile Bitfield Item(Global): Report Size, data= [ 0x10 ] 16 Item(Global): Report ID, data= [ 0x99 ] 153 Item(Local ): Usage, data= [ 0xc3 ] 195 (null) Item(Main ): Feature, data= [ 0x02 ] 2 Data Variable Absolute No_Wrap Linear Preferred_State No_Null_Position Non_Volatile Bitfield Item(Global): Report ID, data= [ 0x9b ] 155 Item(Local ): Usage, data= [ 0xc5 ] 197 (null) Item(Main ): Feature, data= [ 0x02 ] 2 Data Variable Absolute No_Wrap Linear Preferred_State No_Null_Position Non_Volatile Bitfield Item(Global): Report Size, data= [ 0x20 ] 32 Item(Global): Report ID, data= [ 0xc2 ] 194 Item(Local ): Usage, data= [ 0xd6 ] 214 (null) Item(Main ): Feature, data= [ 0x02 ] 2 Data Variable Absolute No_Wrap Linear Preferred_State No_Null_Position Non_Volatile Bitfield Item(Global): Report ID, data= [ 0x9a ] 154 Item(Local ): Usage, data= [ 0xc4 ] 196 (null) Item(Main ): Feature, data= [ 0x02 ] 2 Data Variable Absolute No_Wrap Linear Preferred_State No_Null_Position Non_Volatile Bitfield Item(Main ): End Collection, data=none Item(Main ): End Collection, data=none 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 40 can't get debug descriptor: Resource temporarily unavailable Device Status: 0x0000 (Bus Powered) _______________________________________________ Nut-upsdev mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsdev
