[Nut-upsuser] Re: your Tripp-Lite AVR550U
Peter Selinger
selinger at mathstat.dal.ca
Sat Jul 8 03:28:48 UTC 2006
Hi Patrick,
Patrick Nolan wrote:
>
> Remember me? Back in May we exchanged some messages about my Tripp-Lite
> UPS. My boss has gone on vacation, so I finally got a chance to take a
> look at this.
>
> Peter Selinger wrote:
> ...
> > In case you feel like experimenting with this, I am attaching a patch
> > that *might* enable this device to be supported by the newhidups
> > driver, when applied to the current development version from the SVN
> > repository. Some fine-tuning will probably be required, for which the
> > output of "newhidups -u root -DD -x generic -x vendorid=09ae auto"
> > would still be useful.
> >
> > -- Peter
>
> OK. I downloaded the latest development version and added your patch.
> Here's what comes out. It seems to go into an infinite loop on the
> notifications.
Yes, that is useful info. The "infinite loop" is of course normal; it
means that the driver is functioning and reading data from the UPS.
I would be very concerned if it suddenly stopped.
I will have a look at the "Path:" lines and refine the driver later
(right now I am, as usual, traveling).
Meanwhile, you can try running it without the -x generic -x
vendorid=09ae options and see what happens.
Once the driver is running, you should also run upsd, and then use
upsc to display info from the UPS. You can follow the installation
instructions.
-- Peter
P.S. please keep this discussion on the mailing list (i.e., "reply to
all").
>
> $ sudo ./newhidups -u root -DD -x generic -x vendorid=09ae auto
> Network UPS Tools: 0.28 USB communication driver 0.28 - core 0.30 (2.1.0)
>
> debug level is '2'
> Checking device (09AE/1003) (002/003)
> - VendorID: 09ae
> - ProductID: 1003
> - Manufacturer: Tripp Lite
> - Product: TRIPP LITE UPS
> - Serial Number: 692186 A
> - Bus: 002
> Trying to match device
> Device matches
> HID descriptor retrieved (Reportlen = 459)
> Report descriptor retrieved (Reportlen = 459)
> Found HID device
> Report Descriptor size = 459
> Detected a UPS: Tripp Lite /TRIPP LITE UPS
> Using subdriver: GENERIC HID 0.1
> Path: UPS.PowerSummary.iProduct, Type: Feature, Value: 1.000000
> Path: UPS.PowerSummary.iSerialNumber, Type: Feature, Value: 2.000000
> Path: UPS.PowerSummary.iManufacturer, Type: Feature, Value: 3.000000
> Path: UPS.PowerSummary.Input.ConfigVoltage, Type: Feature, Value: 120.000000
> Path: UPS.PowerSummary.AudibleAlarmControl, Type: Feature, Value: 2.000000
> Path: UPS.PowerSummary.iDeviceChemistry, Type: Feature, Value: 24.000000
> Path: UPS.PowerSummary.CapacityMode, Type: Feature, Value: 2.000000
> Path: UPS.PowerSummary.RemainingCapacity, Type: Input, Value: 100.000000
> Path: UPS.PowerSummary.RemainingCapacity, Type: Feature, Value: 100.000000
> Path: UPS.PowerSummary.FullChargeCapacity, Type: Feature, Value: 100.000000
> Path: UPS.PowerSummary.PresentStatus.ShutdownImminent, Type: Input,
> Value: 0.000000
> Can't find object UPS.PowerSummary.PresentStatus.008400d0
> Path: UPS.PowerSummary.PresentStatus.008400d0, Type: Input
> Can't find object UPS.PowerSummary.PresentStatus.ConfigActivePower
> Path: UPS.PowerSummary.PresentStatus.ConfigActivePower, Type: Input
> Can't find object UPS.PowerSummary.PresentStatus.ConfigPercentLoad
> Path: UPS.PowerSummary.PresentStatus.ConfigPercentLoad, Type: Input
> Can't find object UPS.PowerSummary.PresentStatus.0084004b
> Path: UPS.PowerSummary.PresentStatus.0084004b, Type: Input
> Path: UPS.PowerSummary.PresentStatus.ShutdownImminent, Type: Feature,
> Value: 0.000000
> Path: UPS.PowerSummary.PresentStatus.ACPresent, Type: Feature, Value:
> 1.000000
> Path: UPS.PowerSummary.PresentStatus.Charging, Type: Feature, Value:
> 1.000000
> Path: UPS.PowerSummary.PresentStatus.Discharging, Type: Feature, Value:
> 0.000000
> Path: UPS.PowerSummary.PresentStatus.NeedReplacement, Type: Feature,
> Value: 0.000000
> Path: UPS.BatterySystem.Battery.ConfigVoltage, Type: Feature, Value:
> 12.000000
> Path: UPS.BatterySystem.Battery.PresentStatus.Charging, Type: Feature,
> Value: 1.000000
> Path: UPS.BatterySystem.Battery.PresentStatus.Discharging, Type:
> Feature, Value: 0.000000
> Path: UPS.BatterySystem.Battery.PresentStatus.NeedReplacement, Type:
> Feature, Value: 0.000000
> Path: UPS.BatterySystem.Test, Type: Feature, Value: 0.000000
> Path: UPS.Flow.ConfigVoltage, Type: Feature, Value: 120.000000
> Path: UPS.Flow.ConfigFrequency, Type: Feature, Value: 60.000000
> Path: UPS.Flow.ConfigApparentPower, Type: Feature, Value: 550.000000
> Path: UPS.OutletSystem.Outlet.DelayBeforeShutdown, Type: Feature, Value:
> 65535.000000
> Path: UPS.OutletSystem.Outlet.ffff0091, Type: Feature, Value: 0.000000
> Path: UPS.OutletSystem.Outlet.ffff0092, Type: Feature, Value: 0.000000
> Path: UPS.OutletSystem.Outlet.ffff00c7, Type: Feature, Value: 1.000000
> Path: UPS.ffff0010.00ff0001.ffff007d, Type: Feature, Value: 4099.000000
> Path: UPS.ffff0015.00ff0001.ffff00c0, Type: Feature, Value: 255.000000
> Path: UPS.ffff0015.00ff0001.ffff00d2, Type: Feature, Value: 255.000000
> Path: UPS.ffff0015.00ff0001.ffff00c1, Type: Feature, Value: 255.000000
> Path: UPS.ffff0015.00ff0001.ffff00c2, Type: Feature, Value: 255.000000
> Path: UPS.ffff0015.00ff0001.ffff00c3, Type: Feature, Value: 255.000000
> Path: UPS.ffff0015.00ff0001.ffff00c5, Type: Feature, Value: 2.000000
> Can't retrieve Report 154 (-32/32): Broken pipe
> Path: UPS.ffff0015.00ff0001.ffff00c4, Type: Feature
> entering identify_ups(0x09ae, 0x1003)
>
> upsdrv_updateinfo...
> dstate_init: sock /var/state/ups/newhidups-auto open on fd 5
> upsdrv_updateinfo...
> Waiting for notifications...
>
> =>Got 1 HID Objects...
> find_hid_info: unknown variable: UPS.PowerSummary.RemainingCapacity
>
> upsdrv_updateinfo...
> Waiting for notifications...
>
> =>Got 5 HID Objects...
> find_hid_info: unknown variable: UPS.PowerSummary.PresentStatus.0084004b
>
> find_hid_info: unknown variable:
> UPS.PowerSummary.PresentStatus.ConfigPercentLoad
>
> find_hid_info: unknown variable:
> UPS.PowerSummary.PresentStatus.ConfigActivePower
>
> find_hid_info: unknown variable: UPS.PowerSummary.PresentStatus.008400d0
>
> find_hid_info: unknown variable:
> UPS.PowerSummary.PresentStatus.ShutdownImminent
>
> upsdrv_updateinfo...
> Waiting for notifications...
>
> =>Got 1 HID Objects...
> find_hid_info: unknown variable: UPS.PowerSummary.RemainingCapacity
>
> upsdrv_updateinfo...
> Waiting for notifications...
>
> =>Got 5 HID Objects...
> find_hid_info: unknown variable: UPS.PowerSummary.PresentStatus.0084004b
>
> find_hid_info: unknown variable:
> UPS.PowerSummary.PresentStatus.ConfigPercentLoad
>
> find_hid_info: unknown variable:
> UPS.PowerSummary.PresentStatus.ConfigActivePower
>
> find_hid_info: unknown variable: UPS.PowerSummary.PresentStatus.008400d0
>
> find_hid_info: unknown variable:
> UPS.PowerSummary.PresentStatus.ShutdownImminent
>
> upsdrv_updateinfo...
> Waiting for notifications...
>
> =>Got 1 HID Objects...
> find_hid_info: unknown variable: UPS.PowerSummary.RemainingCapacity
>
> upsdrv_updateinfo...
> Waiting for notifications...
>
> =>Got 5 HID Objects...
> find_hid_info: unknown variable: UPS.PowerSummary.PresentStatus.0084004b
>
> find_hid_info: unknown variable:
> UPS.PowerSummary.PresentStatus.ConfigPercentLoad
>
> find_hid_info: unknown variable:
> UPS.PowerSummary.PresentStatus.ConfigActivePower
>
> find_hid_info: unknown variable: UPS.PowerSummary.PresentStatus.008400d0
>
> find_hid_info: unknown variable:
> UPS.PowerSummary.PresentStatus.ShutdownImminent
>
> upsdrv_updateinfo...
> Waiting for notifications...
>
> =>Got 1 HID Objects...
> find_hid_info: unknown variable: UPS.PowerSummary.RemainingCapacity
>
> upsdrv_updateinfo...
> Waiting for notifications...
>
> =>Got 5 HID Objects...
> find_hid_info: unknown variable: UPS.PowerSummary.PresentStatus.0084004b
>
> find_hid_info: unknown variable:
> UPS.PowerSummary.PresentStatus.ConfigPercentLoad
>
> find_hid_info: unknown variable:
> UPS.PowerSummary.PresentStatus.ConfigActivePower
>
> find_hid_info: unknown variable: UPS.PowerSummary.PresentStatus.008400d0
>
> find_hid_info: unknown variable:
> UPS.PowerSummary.PresentStatus.ShutdownImminent
>
> upsdrv_updateinfo...
> Waiting for notifications...
>
More information about the Nut-upsuser
mailing list