cythrault at gmail.com
2008-Mar-03 16:22 UTC
[Nut-upsuser] Tripplite Smart1000LCD problem with revision > r1071
Hi, With recent revision, it's impossible to get upsdrvctl started: [root at teevee nut]# /usr/local/bin/upsdrvctl start Network UPS Tools - UPS driver controller 2.3.0-1352 Network UPS Tools: 0.29 USB communication driver - core 0.33 (2.3.0-1352) Warning: This is an experimental driver. Some features may not function correctly. Using subdriver: TrippLite HID 0.2 (experimental) HIDGetDataValue: Value too large for defined data type This began with r1072... I wanted to include a debug output but it does not seems to end: [root at teevee ~]# /usr/local/bin/usbhid-ups -D -a smart1000lcd Network UPS Tools: 0.29 USB communication driver - core 0.33 (2.3.0-1352) Warning: This is an experimental driver. Some features may not function correctly. debug level is '1' upsdrv_initups... Using subdriver: TrippLite HID 0.2 (experimental) Path: UPS.PowerSummary.iProduct, Type: Feature, ReportID: 0x28, Offset: 0, Size: 8, Value: 1.000000 Path: UPS.PowerSummary.iSerialNumber, Type: Feature, ReportID: 0x29, Offset: 0, Size: 8, Value: 2.000000 Path: UPS.PowerSummary.iManufacturer, Type: Feature, ReportID: 0x2b, Offset: 0, Size: 8, Value: 3.000000 Path: UPS.PowerSummary.Input.ConfigVoltage, Type: Feature, ReportID: 0x30, Offset: 0, Size: 8, Value: 120.000000 Path: UPS.PowerSummary.AudibleAlarmControl, Type: Feature, ReportID: 0x11, Offset: 0, Size: 8, Value: 1.000000 Path: UPS.PowerSummary.iDeviceChemistry, Type: Feature, ReportID: 0x2a, Offset: 0, Size: 8, Value: 24.000000 Path: UPS.PowerSummary.CapacityMode, Type: Feature, ReportID: 0x33, Offset: 0, Size: 8, Value: 2.000000 Path: UPS.PowerSummary.RemainingCapacity, Type: Input, ReportID: 0x34, Offset: 0, Size: 8, Value: 100.000000 Path: UPS.PowerSummary.RemainingCapacity, Type: Feature, ReportID: 0x34, Offset: 0, Size: 8, Value: 100.000000 Path: UPS.PowerSummary.FullChargeCapacity, Type: Feature, ReportID: 0x37, Offset: 0, Size: 8, Value: 100.000000 Path: UPS.PowerSummary.PresentStatus.ShutdownImminent, Type: Input, ReportID: 0x32, Offset: 0, Size: 1, Value: 0.000000 Path: UPS.PowerSummary.PresentStatus.TLACPresent, Type: Input, ReportID: 0x32, Offset: 1, Size: 1, Value: 1.000000 Path: UPS.PowerSummary.PresentStatus.TLCharging, Type: Input, ReportID: 0x32, Offset: 2, Size: 1, Value: 1.000000 Path: UPS.PowerSummary.PresentStatus.TLDischarging, Type: Input, ReportID: 0x32, Offset: 3, Size: 1, Value: 0.000000 Path: UPS.PowerSummary.PresentStatus.TLNeedReplacement, Type: Input, ReportID: 0x32, Offset: 4, Size: 1, Value: 0.000000 Path: UPS.PowerSummary.PresentStatus.ShutdownImminent, Type: Feature, ReportID: 0x32, Offset: 0, Size: 1, Value: 0.000000 Path: UPS.PowerSummary.PresentStatus.ACPresent, Type: Feature, ReportID: 0x32, Offset: 1, Size: 1, Value: 1.000000 Path: UPS.PowerSummary.PresentStatus.Charging, Type: Feature, ReportID: 0x32, Offset: 2, Size: 1, Value: 1.000000 Path: UPS.PowerSummary.PresentStatus.Discharging, Type: Feature, ReportID: 0x32, Offset: 3, Size: 1, Value: 0.000000 Path: UPS.PowerSummary.PresentStatus.NeedReplacement, Type: Feature, ReportID: 0x32, Offset: 4, Size: 1, Value: 0.000000 Path: UPS.BatterySystem.Battery.ConfigVoltage, Type: Feature, ReportID: 0x04, Offset: 0, Size: 16, Value: 12.000000 Path: UPS.BatterySystem.Battery.PresentStatus.Charging, Type: Feature, ReportID: 0x23, Offset: 0, Size: 1, Value: 1.000000 Path: UPS.BatterySystem.Battery.PresentStatus.Discharging, Type: Feature, ReportID: 0x23, Offset: 1, Size: 1, Value: 0.000000 Path: UPS.BatterySystem.Battery.PresentStatus.NeedReplacement, Type: Feature, ReportID: 0x23, Offset: 2, Size: 1, Value: 0.000000 Path: UPS.BatterySystem.Test, Type: Feature, ReportID: 0x10, Offset: 0, Size: 8, Value: 0.000000 Path: UPS.Flow.ConfigVoltage, Type: Feature, ReportID: 0x01, Offset: 0, Size: 8, Value: 120.000000 Path: UPS.Flow.ConfigFrequency, Type: Feature, ReportID: 0x02, Offset: 0, Size: 8, Value: 60.000000 Path: UPS.Flow.ConfigApparentPower, Type: Feature, ReportID: 0x03, Offset: 0, Size: 16, Value: 1000.000000 Path: UPS.OutletSystem.Outlet.DelayBeforeShutdown, Type: Feature, ReportID: 0x15, Offset: 0, Size: 16, Value: 65535.000000 Path: UPS.OutletSystem.Outlet.ffff0091, Type: Feature, ReportID: 0x51, Offset: 0, Size: 8, Value: 0.000000 Path: UPS.OutletSystem.Outlet.TLWatchdog, Type: Feature, ReportID: 0x52, Offset: 0, Size: 8, Value: 0.000000 Path: UPS.OutletSystem.Outlet.ffff00c7, Type: Feature, ReportID: 0xb6, Offset: 0, Size: 8, Value: 1.000000 Path: UPS.ffff0010.[1].ffff007d, Type: Feature, ReportID: 0x6c, Offset: 0, Size: 16, Value: 8197.000000 Path: UPS.ffff0015.[1].ffff00c0, Type: Feature, ReportID: 0x96, Offset: 0, Size: 8, Value: 255.000000 Path: UPS.ffff0015.[1].ffff00d2, Type: Feature, ReportID: 0xb4, Offset: 0, Size: 32, Value: 255.000000 Path: UPS.ffff0015.[1].ffff00c1, Type: Feature, ReportID: 0x97, Offset: 0, Size: 16, Value: 255.000000 Path: UPS.ffff0015.[1].ffff00c2, Type: Feature, ReportID: 0x98, Offset: 0, Size: 8, Value: 255.000000 Path: UPS.ffff0015.[1].ffff00c3, Type: Feature, ReportID: 0x99, Offset: 0, Size: 16, Value: 255.000000 Path: UPS.ffff0015.[1].ffff00c5, Type: Feature, ReportID: 0x9b, Offset: 0, Size: 16, Value: 3.000000 Can't retrieve Report 154: Broken pipe Path: UPS.ffff0015.[1].ffff00c4, Type: Feature, ReportID: 0x9a, Offset: 0, Size: 32 Can't retrieve Report 49: Value too large for defined data type Path: UPS.PowerSummary.Voltage, Type: Feature, ReportID: 0x31, Offset: 0, Size: 8 Path: UPS.BatterySystem.Battery.Voltage, Type: Feature, ReportID: 0x20, Offset: 0, Size: 16, Value: 134.000000 Path: UPS.PowerConverter.Input.Voltage, Type: Feature, ReportID: 0x18, Offset: 0, Size: 16, Value: 118.200000 Path: UPS.PowerConverter.Input.Frequency, Type: Feature, ReportID: 0x19, Offset: 0, Size: 16, Value: 59.900000 Path: UPS.PowerConverter.PresentStatus.VoltageOutOfRange, Type: Feature, ReportID: 0x22, Offset: 0, Size: 1, Value: 0.000000 Path: UPS.PowerConverter.PresentStatus.Buck, Type: Feature, ReportID: 0x22, Offset: 1, Size: 1, Value: 0.000000 Path: UPS.PowerConverter.PresentStatus.Boost, Type: Feature, ReportID: 0x22, Offset: 2, Size: 1, Value: 0.000000 Path: UPS.PowerConverter.PresentStatus.Overload, Type: Feature, ReportID: 0x22, Offset: 4, Size: 1, Value: 0.000000 Path: UPS.PowerConverter.PresentStatus.Used, Type: Feature, ReportID: 0x22, Offset: 5, Size: 1, Value: 0.000000 Path: UPS.PowerConverter.PresentStatus.OverTemperature, Type: Feature, ReportID: 0x22, Offset: 6, Size: 1, Value: 0.000000 Path: UPS.PowerConverter.PresentStatus.InternalFailure, Type: Feature, ReportID: 0x22, Offset: 7, Size: 1, Value: 0.000000 Path: UPS.PowerConverter.PresentStatus.AwaitingPower, Type: Feature, ReportID: 0x22, Offset: 14, Size: 1, Value: 0.000000 Path: UPS.OutletSystem.Outlet.DelayBeforeReboot, Type: Feature, ReportID: 0x17, Offset: 0, Size: 16, Value: 65535.000000 Detected a UPS: Tripp Lite /TRIPP LITE UPS Can't retrieve Report 49: Value too large for defined data type HIDGetDataValue: Value too large for defined data type upsdrv_initinfo... upsdrv_updateinfo... Got 5 HID objects... Got 1 HID objects... Got 5 HID objects... Got 1 HID objects... Got 5 HID objects... Got 1 HID objects... Got 5 HID objects... Got 1 HID objects... [...] After some back and forth, I was able to locate a functioning revision (1071) so I'm now running ok... I wanted to submit this in case it might help. Thanks, cyth
Arjen de Korte
2008-Mar-03 19:54 UTC
[Nut-upsuser] Tripplite Smart1000LCD problem with revision > r1071
cythrault at gmail.com wrote:> With recent revision, it's impossible to get upsdrvctl started: > > [root at teevee nut]# /usr/local/bin/upsdrvctl start > Network UPS Tools - UPS driver controller 2.3.0-1352 > Network UPS Tools: 0.29 USB communication driver - core 0.33 (2.3.0-1352) > > Warning: This is an experimental driver. > Some features may not function correctly. > > Using subdriver: TrippLite HID 0.2 (experimental) > HIDGetDataValue: Value too large for defined data typeI don't see a message that it failed to start.> This began with r1072...Quite possible. Before then, this error condition wasn't handled. But I don't see why it should prevent the driver from starting and as far as I can see, the driver started properly.> I wanted to include a debug output but it does not seems to end:That's what it is supposed to do, it will run in the foreground until you stop it.> [root at teevee ~]# /usr/local/bin/usbhid-ups -D -a smart1000lcd > Network UPS Tools: 0.29 USB communication driver - core 0.33 (2.3.0-1352) > > Warning: This is an experimental driver. > Some features may not function correctly.[...]> Detected a UPS: Tripp Lite /TRIPP LITE UPSHere you are, the driver detected a UPS and further on in the debug output it is clear that it proceeds to 'upsdrv_updateinfo'. It wouldn't if it failed to start.> Can't retrieve Report 49: Value too large for defined data type > HIDGetDataValue: Value too large for defined data typeThe report descriptor in your UPS is broken. It wants to return more data for report 49, than it says it needs. If we then ask for this report, the libusb library will warn that the data was truncated. Nothing to worry about, unless you happen to work for Tripp Lite.> After some back and forth, I was able to locate a functioning revision > (1071) so I'm now running ok... I wanted to submit this in case it > might help.Thanks for your report. You can safely ignore this informational message (we'll remove it from the driver once it is release, you're not the first who is alarmed by it for no good reason at all). Best regards, Arjen