[Nut-upsdev] Tripplite OMNI1000LCD Watchdog
Thomas Golding
thomasg at worldradiolink.com
Wed Dec 12 23:40:37 UTC 2007
> -----Original Message-----
> > I'll attempt the quick fix you mentioned so I can test the
> watchdog stuff.
>
> Good. I patched the version in the trunk too, so you can
> check that out as well. If all works, could you run
>
> upsc <ups>
>
> and post the output here, so that we can check if everything
> reported by the UPS is also used?
Hmm... I checked out 1181 and had another problem. When I do usbhid-ups -DD
-a omni1000lcd I can see that it does indeed skip over the previous errors,
however, I can't break out of it. I just get an infinite stream of interrupt
checks until I use another tty to SIGKILL the process. Not a problem
normally, except that when I do "upsdrvctl start" it blocks forever and
finally returns with
"Startup timer elapsed, continuing..."
Then when I start upsd, it says:
"Can't connect to UPS [omni1000lcd] (usbhid-ups-omni1000lcd): No such file
or directory"
Thus, I can't run any other useful commands. It's like usbhid-ups is just
running in a blind loop, not wanting to communicate with anything else.
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: 135.000000
Path: UPS.PowerConverter.Input.Voltage, Type: Feature, ReportID: 0x18,
Offset: 0, Size: 16, Value: 116.400000
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 Network UPS Tools: 0.29 USB
communication driver - core 0.32 (2.3.0-1181)
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: 135.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: 116.400000
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: 59.900000 Can't retrieve Report 49: Value too
large for defined data type
HIDGetDataValue: Value too large for defined data type
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.BatterySystem.Test, Type: Feature, ReportID: 0x10, Offset: 0,
Size: 8, Value: 0.000000
Path: UPS.BatterySystem.Test, Type: Feature, ReportID: 0x10, Offset: 0,
Size: 8, Value: 0.000000
Path: UPS.BatterySystem.Test, Type: Feature, ReportID: 0x10, Offset: 0,
Size: 8, Value: 0.000000
Path: UPS.OutletSystem.Outlet.DelayBeforeShutdown, Type: Feature, ReportID:
0x15, Offset: 0, Size: 16, Value: 65535.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.OutletSystem.Outlet.DelayBeforeShutdown, Type: Feature, ReportID:
0x15, Offset: 0, Size: 16, Value: 65535.000000
Path: UPS.OutletSystem.Outlet.TLWatchdog, Type: Feature, ReportID: 0x52,
Offset: 0, Size: 8, Value: 0.000000
Path: UPS.PowerSummary.AudibleAlarmControl, Type: Feature, ReportID: 0x11,
Offset: 0, Size: 8, Value: 2.000000
Path: UPS.PowerSummary.AudibleAlarmControl, Type: Feature, ReportID: 0x11,
Offset: 0, Size: 8, Value: 2.000000
Path: UPS.PowerSummary.AudibleAlarmControl, Type: Feature, ReportID: 0x11,
Offset: 0, Size: 8, Value: 2.000000
Path: UPS.PowerSummary.AudibleAlarmControl, Type: Feature, ReportID: 0x11,
Offset: 0, Size: 8, Value: 2.000000
Path: UPS.PowerSummary.AudibleAlarmControl, Type: Feature, ReportID: 0x11,
Offset: 0, Size: 8, Value: 2.000000 upsdrv_initinfo...
upsdrv_updateinfo...
*** <loops>
Got 1 HID objects...
Path: UPS.PowerSummary.RemainingCapacity, Type: Input, ReportID: 0x34,
Offset: 0, Size: 8, Value: 100.000000
Got 8 HID objects...
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.00000000, Type: Input, ReportID: 0x32,
Offset: 5, Size: 1, Value: 0.000000 NUT doesn't use this HID object
Path: UPS.PowerSummary.PresentStatus.00000000, Type: Input, ReportID: 0x32,
Offset: 6, Size: 1, Value: 0.000000 NUT doesn't use this HID object
Path: UPS.PowerSummary.PresentStatus.00000000, Type: Input, ReportID: 0x32,
Offset: 7, Size: 1, Value: 0.000000 NUT doesn't use this HID object
*** </loops>
Any ideas why this thing won't play nice with the other processes now?
Thanks,
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