[Nut-upsdev] Tripplite OMNI1000LCD Watchdog

Thomas Golding thomasg at worldradiolink.com
Wed Dec 12 17:03:32 UTC 2007


> -----Original Message-----
> From: Arjen de Korte [mailto:nut+devel at de-korte.org] 
> Sent: Wednesday, December 12, 2007 1:09 AM
> To: Thomas Golding
> Cc: nut-upsdev at lists.alioth.debian.org
> Subject: Re: [Nut-upsdev] Tripplite OMNI1000LCD Watchdog
> 
> > I tried to trace this one on my own, but something seems to have 
> > broken for me since 2.2.0. I can compile the SVN fine, but 
> when I try: 
> > usbhid-ups -DDDDD -a omni1000lcd I get this:
> >
> > -- snip lots of similar output --
> 
> Regrettably you removed this, the startup of the driver would 
> provide a clue to what the report descriptor looks like. You 
> need to run it with -DD only, otherwise the excessive debug 
> information would clutter the output.
> Without this information, debugging this is looking for a 
> needle in a haystack.

My Apologies,

here's the output of: usbhid-ups -DD -a omni1000lcd

debug level is '2'
upsdrv_initups...
Checking device (09AE/2005) (3/5)
- VendorID: 09ae
- ProductID: 2005
- Manufacturer: Tripp Lite 
- Product: TRIPP LITE UPS 
- Serial Number: 692195 A 
- Bus: 3
Trying to match device
Device matches
Warning: two different HID descriptors retrieved (Reportlen = 459 vs. 618)
HID descriptor length 618
Report Descriptor size = 618
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: 2.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: 115.900000
Path: UPS.PowerConverter.Input.Frequency, Type: Feature, ReportID: 0x19,
Offset: 0, Size: 16, Value: 60.000000
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
Network UPS Tools: 0.29 USB communication driver - core 0.32 (2.3.0-1175)

Report descriptor retrieved (Reportlen = 618)
Found HID device
Detected a UPS: Tripp Lite /TRIPP LITE UPS 
Path: UPS.PowerSummary.RemainingCapacity, Type: Feature, ReportID: 0x34,
Offset: 0, Size: 8, Value: 100.000000
Path: UPS.BatterySystem.Battery.Voltage, Type: Feature, ReportID: 0x20,
Offset: 0, Size: 16, Value: 134.000000
Path: UPS.BatterySystem.Battery.ConfigVoltage, Type: Feature, ReportID:
0x04, Offset: 0, Size: 16, Value: 12.000000
Path: UPS.PowerSummary.iDeviceChemistry, Type: Feature, ReportID: 0x2a,
Offset: 0, Size: 8, Value: 24.000000
Path: UPS.OutletSystem.Outlet.DelayBeforeShutdown, Type: Feature, ReportID:
0x15, Offset: 0, Size: 16, Value: 65535.000000
Path: UPS.OutletSystem.Outlet.DelayBeforeReboot, Type: Feature, ReportID:
0x17, Offset: 0, Size: 16, Value: 65535.000000
Path: UPS.BatterySystem.Test, Type: Feature, ReportID: 0x10, Offset: 0,
Size: 8, Value: 0.000000
Path: UPS.PowerSummary.AudibleAlarmControl, Type: Feature, ReportID: 0x11,
Offset: 0, Size: 8, Value: 2.000000
Path: UPS.Flow.ConfigApparentPower, Type: Feature, ReportID: 0x03, Offset:
0, Size: 16, Value: 1000.000000
Path: UPS.OutletSystem.Outlet.TLWatchdog, Type: Feature, ReportID: 0x52,
Offset: 0, Size: 8, Value: 0.000000
Path: UPS.PowerSummary.PresentStatus.ACPresent, Type: Feature, ReportID:
0x32, Offset: 1, 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.Charging, Type: Feature, ReportID:
0x32, Offset: 2, Size: 1, Value: 1.000000
Path: UPS.PowerSummary.PresentStatus.ShutdownImminent, Type: Feature,
ReportID: 0x32, Offset: 0, 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.VoltageOutOfRange, Type: Feature,
ReportID: 0x22, Offset: 0, Size: 1, Value: 0.000000
Path: UPS.PowerSummary.PresentStatus.NeedReplacement, Type: Feature,
ReportID: 0x32, Offset: 4, 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.Buck, Type: Feature, ReportID: 0x22,
Offset: 1, 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.AwaitingPower, Type: Feature,
ReportID: 0x22, Offset: 14, Size: 1, Value: 0.000000
Path: UPS.PowerConverter.PresentStatus.InternalFailure, Type: Feature,
ReportID: 0x22, Offset: 7, Size: 1, Value: 0.000000
Path: UPS.PowerConverter.Input.Voltage, Type: Feature, ReportID: 0x18,
Offset: 0, Size: 16, Value: 115.900000
Path: UPS.PowerSummary.Input.ConfigVoltage, Type: Feature, ReportID: 0x30,
Offset: 0, Size: 8, Value: 120.000000
Path: UPS.PowerConverter.Input.Frequency, Type: Feature, ReportID: 0x19,
Offset: 0, Size: 16, Value: 60.000000
Can't retrieve Report 49: Value too large for defined data type
HIDGetDataValue: Value too large for defined data type
Can't initialize data from HID UPS

I'll attempt the quick fix you mentioned so I can test the watchdog stuff.

Also,
Charles,

I'm ok with jumping through some hoops to turn watchdog on. I agree with
your perspective that the average user would need to stay very far away from
this feature.

Thanks for your help!

Thomas Golding
Information Technology Engineer
World Radio Link
208-733-3551 ext. 14
thomasg at worldradiolink.com




More information about the Nut-upsdev mailing list