[Nut-upsdev] TrippLite USB UPS
Peter Selinger
selinger at mathstat.dal.ca
Mon Jan 22 07:18:22 CET 2007
Congratulations, your device is now 60% supported. I have added the
product ID and most of the new data paths.
You can do "svn update" and build the driver. It should now run out of
the box and you can follow the instructions in INSTALL to set up your
system.
Before it is 100% supported, I need you to:
- run upsd and verify the output of "upsc" and report anything
suspicious (such as a voltage of 500V, or a temperature of 70
Celsius, or anything like that). [10%]
- also in "upsc", verify that ups.status shows the "OB" flag when the
UPS is on battery and the "LB" flag when the battery is low. Also
"OL" when the UPS is on line power. These are used by upsmon to
decide when to power down your machine. (Do not run upsmon yet when
you perform this test - you don't want your machine to actually
power off). [10%]
- check if all or some of the instant commands are working. Candidates
are:
test.battery.start.quick
test.battery.start.deep
test.battery.stop
beeper.on (these will only have an effect if the UPS is on battery)
beeper.off (these will only have an effect if the UPS is on battery)
*** WARNING: BEFORE TESTING THE FOLLOWING, PLUG YOUR COMPUTER INTO
*** THE WALL, NOT INTO THE UPS. Plug a desk lamp or similar into the UPS
*** to see if the load is on or off.
load.off
load.on
shutdown.return
shutdown.stop
[10%]
- finally, check whether the "-k" option to "usbhid-ups" shuts off the
load. *** WARNING: SAME AS ABOVE ***. This is necessary for a proper
shutdown process. [10%]
If all tests are positive, your UPS is 100% supported, and I will
remove the "experimental" from data/driver.list. Otherwise, we might
have to tinker a bit more.
Patrick wrote:
> > * run the hidups-ups (formerly newhidups) driver as follows:
> >
> > hidups-ups -u root -DD -x productid=4003 auto
>
> I assume you mean:
> usbhid-ups -u root -DD -x productid=4003 auto
Indeed, this is what I meant. I am not used to the new driver name
yet. -- Peter
P.S. for our future reference, I am attaching the HID Usage Trees for
two different Tripp Lite devices. As you can, see they are quite
similar.
OMNI1000LCD (09AE/2005) Usage Tree:
Path: UPS.BatterySystem.Battery.ConfigVoltage
Path: UPS.BatterySystem.Battery.PresentStatus.Charging
Path: UPS.BatterySystem.Battery.PresentStatus.Discharging
Path: UPS.BatterySystem.Battery.PresentStatus.NeedReplacement
Path: UPS.BatterySystem.Battery.Voltage
Path: UPS.BatterySystem.Test
Path: UPS.ffff0010.00ff0001.ffff007d
Path: UPS.ffff0015.00ff0001.ffff00c0
Path: UPS.ffff0015.00ff0001.ffff00c1
Path: UPS.ffff0015.00ff0001.ffff00c2
Path: UPS.ffff0015.00ff0001.ffff00c3
Path: UPS.ffff0015.00ff0001.ffff00c4
Path: UPS.ffff0015.00ff0001.ffff00c5
Path: UPS.ffff0015.00ff0001.ffff00d2
Path: UPS.Flow.ConfigApparentPower
Path: UPS.Flow.ConfigFrequency
Path: UPS.Flow.ConfigVoltage
Path: UPS.OutletSystem.Outlet.DelayBeforeReboot
Path: UPS.OutletSystem.Outlet.DelayBeforeShutdown
Path: UPS.OutletSystem.Outlet.ffff0091
Path: UPS.OutletSystem.Outlet.ffff0092
Path: UPS.OutletSystem.Outlet.ffff00c7
Path: UPS.PowerConverter.Input.Frequency
Path: UPS.PowerConverter.Input.Voltage
Path: UPS.PowerConverter.PresentStatus.AwaitingPower
Path: UPS.PowerConverter.PresentStatus.Boost
Path: UPS.PowerConverter.PresentStatus.Buck
Path: UPS.PowerConverter.PresentStatus.InternalFailure
Path: UPS.PowerConverter.PresentStatus.Overload
Path: UPS.PowerConverter.PresentStatus.OverTemperature
Path: UPS.PowerConverter.PresentStatus.Used
Path: UPS.PowerConverter.PresentStatus.VoltageOutOfRange
Path: UPS.PowerSummary.AudibleAlarmControl
Path: UPS.PowerSummary.CapacityMode
Path: UPS.PowerSummary.FullChargeCapacity
Path: UPS.PowerSummary.iDeviceChemistry
Path: UPS.PowerSummary.iManufacturer
Path: UPS.PowerSummary.Input.ConfigVoltage
Path: UPS.PowerSummary.iProduct
Path: UPS.PowerSummary.iSerialNumber
Path: UPS.PowerSummary.PresentStatus.ACPresent
Path: UPS.PowerSummary.PresentStatus.Charging
Path: UPS.PowerSummary.PresentStatus.Discharging
Path: UPS.PowerSummary.PresentStatus.NeedReplacement
Path: UPS.PowerSummary.PresentStatus.ShutdownImminent
Path: UPS.PowerSummary.PresentStatus.TLACPresent
Path: UPS.PowerSummary.PresentStatus.TLCharging
Path: UPS.PowerSummary.PresentStatus.TLDischarging
Path: UPS.PowerSummary.PresentStatus.TLNeedReplacement
Path: UPS.PowerSummary.RemainingCapacity
Path: UPS.PowerSummary.Voltage
SmartOnline SU1500RTXL2ua (09AE/4003) Usage Tree:
Path: UPS.BatterySystem.Battery.ConfigVoltage
Path: UPS.BatterySystem.Battery.PresentStatus.BelowRemainingCapacityLimit
Path: UPS.BatterySystem.Battery.PresentStatus.Charging
Path: UPS.BatterySystem.Battery.PresentStatus.Discharging
Path: UPS.BatterySystem.Battery.PresentStatus.FullyCharged
Path: UPS.BatterySystem.Battery.PresentStatus.FullyDischarged
Path: UPS.BatterySystem.Battery.PresentStatus.NeedReplacement
Path: UPS.BatterySystem.Battery.RemainingCapacity
Path: UPS.BatterySystem.Battery.Voltage
Path: UPS.BatterySystem.Temperature
Path: UPS.BatterySystem.Test
Path: UPS.ffff0010.[1].ffff0075
Path: UPS.ffff0010.[1].ffff0076
Path: UPS.ffff0010.[1].ffff007c
Path: UPS.ffff0010.[1].ffff007d
Path: UPS.ffff0010.[1].ffff009b
Path: UPS.ffff0010.[1].ffff009c
Path: UPS.Flow.ConfigApparentPower
Path: UPS.Flow.ConfigFrequency
Path: UPS.Flow.ConfigVoltage
Path: UPS.Flow.ffff0097
Path: UPS.OutletSystem.Outlet.ActivePower
Path: UPS.OutletSystem.Outlet.DelayBeforeReboot
Path: UPS.OutletSystem.Outlet.DelayBeforeShutdown
Path: UPS.OutletSystem.Outlet.DelayBeforeStartup
Path: UPS.OutletSystem.Outlet.ffff0056
Path: UPS.OutletSystem.Outlet.ffff0081
Path: UPS.OutletSystem.Outlet.ffff0091
Path: UPS.OutletSystem.Outlet.ffff0092
Path: UPS.OutletSystem.Outlet.ffff0093
Path: UPS.OutletSystem.Outlet.ffff0094
Path: UPS.OutletSystem.Outlet.ffff0095
Path: UPS.OutletSystem.Outlet.ffff0096
Path: UPS.OutletSystem.Outlet.ffff0098
Path: UPS.OutletSystem.Outlet.ffff0099
Path: UPS.OutletSystem.Outlet.ffff009a
Path: UPS.OutletSystem.Outlet.PercentLoad
Path: UPS.PowerConverter.Input.Frequency
Path: UPS.PowerConverter.Input.Voltage
Path: UPS.PowerConverter.Output.ActivePower
Path: UPS.PowerConverter.Output.Current
Path: UPS.PowerConverter.Output.ffff0057
Path: UPS.PowerConverter.Output.ffff0058
Path: UPS.PowerConverter.Output.ffff0059
Path: UPS.PowerConverter.Output.ffff005a
Path: UPS.PowerConverter.Output.Frequency
Path: UPS.PowerConverter.Output.HighVoltageTransfer
Path: UPS.PowerConverter.Output.LowVoltageTransfer
Path: UPS.PowerConverter.Output.Voltage
Path: UPS.PowerConverter.PresentStatus.AwaitingPower
Path: UPS.PowerConverter.PresentStatus.Boost
Path: UPS.PowerConverter.PresentStatus.Buck
Path: UPS.PowerConverter.PresentStatus.InternalFailure
Path: UPS.PowerConverter.PresentStatus.Overload
Path: UPS.PowerConverter.PresentStatus.OverTemperature
Path: UPS.PowerConverter.PresentStatus.Used
Path: UPS.PowerConverter.PresentStatus.VoltageOutOfRange
Path: UPS.PowerSummary.AudibleAlarmControl
Path: UPS.PowerSummary.CapacityGranularity1
Path: UPS.PowerSummary.CapacityGranularity2
Path: UPS.PowerSummary.CapacityMode
Path: UPS.PowerSummary.DesignCapacity
Path: UPS.PowerSummary.FullChargeCapacity
Path: UPS.PowerSummary.iDeviceChemistry
Path: UPS.PowerSummary.iManufacturer
Path: UPS.PowerSummary.Input.ConfigVoltage
Path: UPS.PowerSummary.Input.Voltage
Path: UPS.PowerSummary.iOEMInformation
Path: UPS.PowerSummary.iProduct
Path: UPS.PowerSummary.iSerialNumber
Path: UPS.PowerSummary.PresentStatus.ACPresent
Path: UPS.PowerSummary.PresentStatus.BelowRemainingCapacityLimit
Path: UPS.PowerSummary.PresentStatus.Charging
Path: UPS.PowerSummary.PresentStatus.Discharging
Path: UPS.PowerSummary.PresentStatus.FullyCharged
Path: UPS.PowerSummary.PresentStatus.FullyDischarged
Path: UPS.PowerSummary.PresentStatus.InternalFailure
Path: UPS.PowerSummary.PresentStatus.NeedReplacement
Path: UPS.PowerSummary.PresentStatus.ShutdownImminent
Path: UPS.PowerSummary.Rechargeable
Path: UPS.PowerSummary.RemainingCapacity
Path: UPS.PowerSummary.RemainingCapacityLimit
Path: UPS.PowerSummary.RunTimeToEmpty
Path: UPS.PowerSummary.WarningCapacityLimit
More information about the Nut-upsdev
mailing list