Paul Nickerson
2021-May-09 03:46 UTC
[Nut-upsuser] Tripp Lite model number AVR900U didn't change, but USB product ID did
I'm running Raspbian GNU/Linux 10 (buster) on a Raspberry Pi 4. I have nut-client and nut-server version 2.7.4-8 armhf installed from the Raspbian Buster main apt repository. I have a Tripp Lite AVR900U series AG-0309 connected via USB to the Pi. The USB vendor ID is 09ae as expected, but the product ID is 3024. The compatibility page at https://networkupstools.org/ddl/Tripp_Lite/AVR900U.html says the product ID is expected to be 2010. There's no manufacturing date printed on the UPS or box, but I bought it from Amazon.com this week. I have these settings: /etc/nut/ups.conf [tripplite] driver = usbhid-ups port = auto desc = "Tripp Lite AVR900U" vendorid = 09ae productid = 3024 /etc/nut/nut.conf MODE=standalone Starting from the beginning, this fails: systemctl restart nut-driver.service I see that it tries to run: /sbin/upsdrvctl start This also fails. I added debug flags, and discovered that it's running this: /lib/nut/usbhid-ups -a tripplite Which also fails. I added debug flags to that, and got useful output, which I'll show you now. root at raspberrypi4:~# /lib/nut/usbhid-ups -a tripplite -DDDDDD Network UPS Tools - Generic HID driver 0.41 (2.7.4) USB communication driver 0.33 0.000000 debug level is '6' 0.000830 upsdrv_initups... ... 0.002583 Checking device (09AE/3024) (001/004) 0.002638 - VendorID: 09ae 0.002660 - ProductID: 3024 0.002679 - Manufacturer: unknown 0.002700 - Product: unknown 0.002724 - Serial Number: unknown 0.002746 - Bus: 001 0.002770 - Device release number: 0002 0.002790 Trying to match device 0.002814 This TrippLite device (09ae:3024) is not (or perhaps not yet) supported by usbhid-ups. Please make sure you have an up-to-date version of NUT. If this does not fix the problem, try running the driver with the '-x productid=3024' option. Please report your results to the NUT user's mailing list <nut-upsuser at lists.alioth.debian.org>. 0.002854 Device does not match - skipping ... 0.003689 No appropriate HID device found 0.003714 No matching HID UPS found I'm not sure if USB info would be useful for you, but if it is, here it is: root at raspberrypi4:~# lsusb --verbose Bus 001 Device 004: ID 09ae:3024 Tripp Lite Device Descriptor: bLength 18 bDescriptorType 1 bcdUSB 2.00 bDeviceClass 0 bDeviceSubClass 0 bDeviceProtocol 0 bMaxPacketSize0 64 idVendor 0x09ae Tripp Lite idProduct 0x3024 bcdDevice 0.02 iManufacturer 3 Tripp Lite iProduct 1 AVR900U iSerial 5 3050BV4OM882300258 bNumConfigurations 1 Configuration Descriptor: bLength 9 bDescriptorType 2 wTotalLength 0x0022 bNumInterfaces 1 bConfigurationValue 1 iConfiguration 0 bmAttributes 0xa0 (Bus Powered) Remote Wakeup MaxPower 100mA Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 0 bAlternateSetting 0 bNumEndpoints 1 bInterfaceClass 3 Human Interface Device bInterfaceSubClass 0 bInterfaceProtocol 0 iInterface 0 HID Device Descriptor: bLength 9 bDescriptorType 33 bcdHID 1.11 bCountryCode 33 US bNumDescriptors 1 bDescriptorType 34 Report wDescriptorLength 885 Report Descriptors: ** UNAVAILABLE ** Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x81 EP 1 IN bmAttributes 3 Transfer Type Interrupt Synch Type None Usage Type Data wMaxPacketSize 0x0040 1x 64 bytes bInterval 255 can't get device qualifier: Resource temporarily unavailable can't get debug descriptor: Resource temporarily unavailable Device Status: 0x0002 (Bus Powered) Remote Wakeup Enabled To get usbhid-ups to try communicating with the UPS anyways, I added this udev rule and then unplugged and plugged back in the USB cord: /lib/udev/rules.d/62-nut-usbups.rules ATTR{idVendor}=="09ae", ATTR{idProduct}=="3024", MODE="664", GROUP="nut" It looks like forcing usbhid-ups to communicate works, maybe? I'm not sure what's expected here: root at raspberrypi4:~# /lib/nut/usbhid-ups -a tripplite -DD -x productid=3024 -x explore Network UPS Tools - Generic HID driver 0.41 (2.7.4) USB communication driver 0.33 0.000000 debug level is '2' 0.002081 upsdrv_initups... ... 0.005719 Checking device (09AE/3024) (001/009) 0.011434 - VendorID: 09ae 0.011499 - ProductID: 3024 0.011541 - Manufacturer: Tripp Lite 0.011587 - Product: AVR900U 0.011631 - Serial Number: 3050BV4OM882300258 0.011674 - Bus: 001 0.011719 - Device release number: 0002 0.011761 Trying to match device 0.011890 Device matches 0.014215 HID descriptor length 885 0.018081 Report Descriptor size = 885 0.018945 Using subdriver: EXPLORE HID 0.1 0.018992 87 HID objects found 0.020830 Path: UPS.PowerSummary.iProduct, Type: Feature, ReportID: 0x28, Offset: 0, Size: 8, Value: 1 0.021572 Path: UPS.PowerSummary.iSerialNumber, Type: Feature, ReportID: 0x29, Offset: 0, Size: 8, Value: 5 0.022377 Path: UPS.PowerSummary.iManufacturer, Type: Feature, ReportID: 0x2b, Offset: 0, Size: 8, Value: 3 0.022965 Path: UPS.PowerSummary.Input.ConfigVoltage, Type: Feature, ReportID: 0x30, Offset: 0, Size: 8, Value: 120 0.023703 Path: UPS.PowerSummary.Input.Voltage, Type: Feature, ReportID: 0x31, Offset: 0, Size: 16, Value: 0.001254 0.024453 Path: UPS.PowerSummary.AudibleAlarmControl, Type: Feature, ReportID: 0x11, Offset: 0, Size: 8, Value: 3 0.025201 Path: UPS.PowerSummary.PresentStatus.InternalFailure, Type: Feature, ReportID: 0x32, Offset: 7, Size: 1, Value: 0 0.025263 Path: UPS.PowerSummary.PresentStatus.InternalFailure, Type: Input, ReportID: 0x32, Offset: 7, Size: 1, Value: 0 0.025320 Path: UPS.PowerSummary.PresentStatus.ShutdownImminent, Type: Feature, ReportID: 0x32, Offset: 9, Size: 1, Value: 0 0.025375 Path: UPS.PowerSummary.PresentStatus.ShutdownImminent, Type: Input, ReportID: 0x32, Offset: 9, Size: 1, Value: 0 0.025431 Path: UPS.PowerSummary.PresentStatus.ACPresent, Type: Input, ReportID: 0x32, Offset: 16, Size: 1, Value: 1 0.025490 Path: UPS.PowerSummary.PresentStatus.ACPresent, Type: Feature, ReportID: 0x32, Offset: 16, Size: 1, Value: 1 0.025546 Path: UPS.PowerSummary.PresentStatus.BelowRemainingCapacityLimit, Type: Input, ReportID: 0x32, Offset: 18, Size: 1, Value: 0 0.025601 Path: UPS.PowerSummary.PresentStatus.FullyCharged, Type: Input, ReportID: 0x32, Offset: 19, Size: 1, Value: 0 0.025656 Path: UPS.PowerSummary.PresentStatus.Charging, Type: Input, ReportID: 0x32, Offset: 20, Size: 1, Value: 1 0.025710 Path: UPS.PowerSummary.PresentStatus.Discharging, Type: Input, ReportID: 0x32, Offset: 21, Size: 1, Value: 0 0.025768 Path: UPS.PowerSummary.PresentStatus.FullyDischarged, Type: Input, ReportID: 0x32, Offset: 22, Size: 1, Value: 0 0.025820 Path: UPS.PowerSummary.PresentStatus.NeedReplacement, Type: Input, ReportID: 0x32, Offset: 23, Size: 1, Value: 0 0.025875 Path: UPS.PowerSummary.PresentStatus.BelowRemainingCapacityLimit, Type: Feature, ReportID: 0x32, Offset: 18, Size: 1, Value: 0 0.025929 Path: UPS.PowerSummary.PresentStatus.FullyCharged, Type: Feature, ReportID: 0x32, Offset: 19, Size: 1, Value: 0 0.025983 Path: UPS.PowerSummary.PresentStatus.Charging, Type: Feature, ReportID: 0x32, Offset: 20, Size: 1, Value: 1 0.026038 Path: UPS.PowerSummary.PresentStatus.Discharging, Type: Feature, ReportID: 0x32, Offset: 21, Size: 1, Value: 0 0.026092 Path: UPS.PowerSummary.PresentStatus.FullyDischarged, Type: Feature, ReportID: 0x32, Offset: 22, Size: 1, Value: 0 0.026149 Path: UPS.PowerSummary.PresentStatus.NeedReplacement, Type: Feature, ReportID: 0x32, Offset: 23, Size: 1, Value: 0 0.027950 Path: UPS.PowerSummary.iDeviceChemistry, Type: Feature, ReportID: 0x2a, Offset: 0, Size: 8, Value: 4 0.028693 Path: UPS.PowerSummary.iOEMInformation, Type: Feature, ReportID: 0x62, Offset: 0, Size: 8, Value: 2 0.029319 Path: UPS.PowerSummary.CapacityMode, Type: Feature, ReportID: 0x33, Offset: 0, Size: 8, Value: 2 0.029957 Path: UPS.PowerSummary.RemainingCapacity, Type: Input, ReportID: 0x34, Offset: 0, Size: 8, Value: 94 0.030016 Path: UPS.PowerSummary.RemainingCapacity, Type: Feature, ReportID: 0x34, Offset: 0, Size: 8, Value: 94 0.030583 Path: UPS.PowerSummary.FullChargeCapacity, Type: Feature, ReportID: 0x37, Offset: 0, Size: 8, Value: 100 0.031318 Path: UPS.PowerSummary.DesignCapacity, Type: Feature, ReportID: 0x36, Offset: 0, Size: 8, Value: 100 0.031943 Path: UPS.PowerSummary.WarningCapacityLimit, Type: Feature, ReportID: 0x38, Offset: 0, Size: 8, Value: 30 0.032697 Path: UPS.PowerSummary.Rechargeable, Type: Feature, ReportID: 0x2c, Offset: 0, Size: 8, Value: 1 0.033446 Path: UPS.PowerSummary.RunTimeToEmpty, Type: Input, ReportID: 0x35, Offset: 0, Size: 16, Value: 3650 0.033507 Path: UPS.PowerSummary.RunTimeToEmpty, Type: Feature, ReportID: 0x35, Offset: 0, Size: 16, Value: 3650 0.034195 Path: UPS.BatterySystem.Battery.ConfigVoltage, Type: Feature, ReportID: 0x04, Offset: 0, Size: 16, Value: 12 0.034945 Path: UPS.BatterySystem.Battery.Voltage, Type: Feature, ReportID: 0x20, Offset: 0, Size: 16, Value: 0.000137 0.035581 Path: UPS.BatterySystem.Battery.PresentStatus.BelowRemainingCapacityLimit, Type: Feature, ReportID: 0x23, Offset: 2, Size: 1, Value: 0 0.035641 Path: UPS.BatterySystem.Battery.PresentStatus.FullyCharged, Type: Feature, ReportID: 0x23, Offset: 3, Size: 1, Value: 0 0.035697 Path: UPS.BatterySystem.Battery.PresentStatus.Charging, Type: Feature, ReportID: 0x23, Offset: 4, Size: 1, Value: 1 0.035752 Path: UPS.BatterySystem.Battery.PresentStatus.Discharging, Type: Feature, ReportID: 0x23, Offset: 5, Size: 1, Value: 0 0.035806 Path: UPS.BatterySystem.Battery.PresentStatus.FullyDischarged, Type: Feature, ReportID: 0x23, Offset: 6, Size: 1, Value: 0 0.035861 Path: UPS.BatterySystem.Battery.PresentStatus.NeedReplacement, Type: Feature, ReportID: 0x23, Offset: 7, Size: 1, Value: 0 0.038212 Path: UPS.BatterySystem.Battery.RemainingCapacity, Type: Feature, ReportID: 0x21, Offset: 0, Size: 8, Value: 94 0.038944 Path: UPS.BatterySystem.Battery.Test, Type: Feature, ReportID: 0x10, Offset: 0, Size: 8, Value: 6 0.039705 Path: UPS.Flow.ConfigVoltage, Type: Feature, ReportID: 0x01, Offset: 0, Size: 8, Value: 120 0.040453 Path: UPS.Flow.ConfigFrequency, Type: Feature, ReportID: 0x02, Offset: 0, Size: 8, Value: 60 0.041199 Path: UPS.Flow.ffff0097, Type: Feature, ReportID: 0x55, Offset: 0, Size: 8, Value: 2 0.041950 Path: UPS.Flow.ConfigApparentPower, Type: Feature, ReportID: 0x03, Offset: 0, Size: 16, Value: 900 0.042589 Path: UPS.PowerConverter.Input.Voltage, Type: Feature, ReportID: 0x18, Offset: 0, Size: 16, Value: 0.001254 0.043213 Path: UPS.PowerConverter.Input.Frequency, Type: Feature, ReportID: 0x19, Offset: 0, Size: 16, Value: 6020 0.043713 Path: UPS.PowerConverter.Output.Voltage, Type: Feature, ReportID: 0x1b, Offset: 0, Size: 16, Value: 0.001264 0.044211 Path: UPS.PowerConverter.Output.Frequency, Type: Feature, ReportID: 0x1c, Offset: 0, Size: 16, Value: 6020 0.044835 Path: UPS.PowerConverter.Output.Current, Type: Feature, ReportID: 0x46, Offset: 0, Size: 16, Value: 0 0.045573 Path: UPS.PowerConverter.Output.ActivePower, Type: Feature, ReportID: 0x47, Offset: 0, Size: 16, Value: 0 0.046325 Path: UPS.PowerConverter.Output.LowVoltageTransfer, Type: Feature, ReportID: 0x06, Offset: 0, Size: 16, Value: 89 0.047075 Path: UPS.PowerConverter.Output.HighVoltageTransfer, Type: Feature, ReportID: 0x09, Offset: 0, Size: 16, Value: 145 0.047823 Path: UPS.PowerConverter.PresentStatus.VoltageOutOfRange, Type: Feature, ReportID: 0x22, Offset: 0, Size: 1, Value: 0 0.047880 Path: UPS.PowerConverter.PresentStatus.Buck, Type: Feature, ReportID: 0x22, Offset: 1, Size: 1, Value: 0 0.047933 Path: UPS.PowerConverter.PresentStatus.Boost, Type: Feature, ReportID: 0x22, Offset: 2, Size: 1, Value: 0 0.047986 Path: UPS.PowerConverter.PresentStatus.Overload, Type: Feature, ReportID: 0x22, Offset: 4, Size: 1, Value: 0 0.048040 Path: UPS.PowerConverter.PresentStatus.Used, Type: Feature, ReportID: 0x22, Offset: 5, Size: 1, Value: 1 0.048098 Path: UPS.PowerConverter.PresentStatus.OverTemperature, Type: Feature, ReportID: 0x22, Offset: 6, Size: 1, Value: 0 0.048151 Path: UPS.PowerConverter.PresentStatus.InternalFailure, Type: Feature, ReportID: 0x22, Offset: 7, Size: 1, Value: 0 0.048204 Path: UPS.PowerConverter.PresentStatus.AwaitingPower, Type: Feature, ReportID: 0x22, Offset: 14, Size: 1, Value: 0 0.050451 Path: UPS.OutletSystem.Outlet.DelayBeforeShutdown, Type: Feature, ReportID: 0x15, Offset: 0, Size: 16, Value: 65535 0.051202 Path: UPS.OutletSystem.Outlet.ffff0056, Type: Feature, ReportID: 0x16, Offset: 0, Size: 16, Value: -60 0.051951 Path: UPS.OutletSystem.Outlet.DelayBeforeReboot, Type: Feature, ReportID: 0x17, Offset: 0, Size: 16, Value: 65535 0.052704 Path: UPS.OutletSystem.Outlet.DelayBeforeStartup, Type: Feature, ReportID: 0x61, Offset: 0, Size: 16, Value: 65535 0.053450 Path: UPS.OutletSystem.Outlet.PercentLoad, Type: Feature, ReportID: 0x1e, Offset: 0, Size: 8, Value: 0 0.054199 Path: UPS.OutletSystem.Outlet.ffff0081, Type: Feature, ReportID: 0x41, Offset: 0, Size: 8, Value: 0 0.054953 Path: UPS.OutletSystem.Outlet.ffff0091, Type: Feature, ReportID: 0x51, Offset: 0, Size: 8, Value: 0 0.055699 Path: UPS.OutletSystem.Outlet.ffff0092, Type: Feature, ReportID: 0x52, Offset: 0, Size: 8, Value: 0 0.056451 Path: UPS.ffff00fe.ffff0075, Type: Feature, ReportID: 0x0d, Offset: 0, Size: 8, Value: 6 0.057199 Path: UPS.ffff00fe.ffff0076, Type: Feature, ReportID: 0x0e, Offset: 0, Size: 8, Value: 7 0.057837 Path: UPS.ffff00fe.ffff007c, Type: Feature, ReportID: 0x0f, Offset: 0, Size: 8, Value: 162 0.058574 Path: UPS.ffff00fe.ffff009c, Type: Feature, ReportID: 0x43, Offset: 0, Size: 8, Value: 1 0.059086 Path: UPS.ffff00fe.ffff00a0, Type: Feature, ReportID: 0x57, Offset: 0, Size: 8, Value: 0 0.059698 Path: UPS.ffff00fe.ffff00a1, Type: Feature, ReportID: 0x58, Offset: 0, Size: 8, Value: 0 0.060435 libusb_get_report: error sending control message: Operation not permitted 0.060491 Can't retrieve Report 59: Operation not permitted 0.060545 Path: UPS.ffff00fe.ffff00a2, Type: Feature, ReportID: 0x59, Offset: 0, Size: 8 0.061202 Path: UPS.ffff00fe.ffff007d, Type: Feature, ReportID: 0x6c, Offset: 0, Size: 16, Value: 12324 0.061948 Path: UPS.ffff00fe.ffff0062, Type: Feature, ReportID: 0x5d, Offset: 0, Size: 8, Value: 1 0.062686 libusb_get_report: error sending control message: Operation not permitted 0.062741 Can't retrieve Report 60: Operation not permitted 0.062792 Path: UPS.ffff00fe.ffff0060, Type: Feature, ReportID: 0x60, Offset: 0, Size: 8 0.063455 Path: UPS.ffff00ff.ffff00d6, Type: Feature, ReportID: 0xc2, Offset: 0, Size: 32, Value: 1.76439e+09 0.064204 Path: UPS.ffff00ff.ffff00d7, Type: Feature, ReportID: 0xc3, Offset: 0, Size: 32, Value: 2562 0.064955 Path: UPS.ffff00ff.ffff00ef, Type: Input, ReportID: 0xe3, Offset: 0, Size: 8, Value: 0 0.065015 Path: UPS.ffff00ff.ffff00ef, Type: Feature, ReportID: 0xe3, Offset: 0, Size: 8, Value: 0 0.065089 Report descriptor retrieved (Reportlen = 885) 0.065135 Found HID device 0.065178 Detected a UPS: Tripp Lite/AVR900U 0.065230 find_nut_info: unknown info type: load.off.delay 0.065273 find_nut_info: unknown info type: load.on.delay 0.065315 find_nut_info: unknown info type: load.off.delay 0.065374 upsdrv_initinfo... 0.065467 upsdrv_updateinfo... 0.066954 Got 1 HID objects... 0.067017 Path: UPS.PowerSummary.RunTimeToEmpty, Type: Input, ReportID: 0x35, Offset: 0, Size: 16, Value: 3650 0.067065 Quick update... 0.067229 dstate_init: sock /var/run/nut/usbhid-ups-tripplite open on fd 5 0.067300 upsdrv_updateinfo... 0.195017 Got 9 HID objects... 0.195120 Path: UPS.PowerSummary.PresentStatus.InternalFailure, Type: Input, ReportID: 0x32, Offset: 7, Size: 1, Value: 0 0.195194 Path: UPS.PowerSummary.PresentStatus.ShutdownImminent, Type: Input, ReportID: 0x32, Offset: 9, Size: 1, Value: 0 0.195284 Path: UPS.PowerSummary.PresentStatus.ACPresent, Type: Input, ReportID: 0x32, Offset: 16, Size: 1, Value: 1 0.195361 Path: UPS.PowerSummary.PresentStatus.BelowRemainingCapacityLimit, Type: Input, ReportID: 0x32, Offset: 18, Size: 1, Value: 0 0.195439 Path: UPS.PowerSummary.PresentStatus.FullyCharged, Type: Input, ReportID: 0x32, Offset: 19, Size: 1, Value: 0 0.195494 Path: UPS.PowerSummary.PresentStatus.Charging, Type: Input, ReportID: 0x32, Offset: 20, Size: 1, Value: 1 0.195545 Path: UPS.PowerSummary.PresentStatus.Discharging, Type: Input, ReportID: 0x32, Offset: 21, Size: 1, Value: 0 0.195608 Path: UPS.PowerSummary.PresentStatus.FullyDischarged, Type: Input, ReportID: 0x32, Offset: 22, Size: 1, Value: 0 0.195657 Path: UPS.PowerSummary.PresentStatus.NeedReplacement, Type: Input, ReportID: 0x32, Offset: 23, Size: 1, Value: 0 0.195722 Quick update... 2.068005 upsdrv_updateinfo... 2.197223 Got 1 HID objects... 2.197303 Path: UPS.PowerSummary.RemainingCapacity, Type: Input, ReportID: 0x34, Offset: 0, Size: 8, Value: 94 2.197348 Quick update... 4.071967 upsdrv_updateinfo... 4.201458 Got 1 HID objects... 4.201533 Path: UPS.PowerSummary.RunTimeToEmpty, Type: Input, ReportID: 0x35, Offset: 0, Size: 16, Value: 3649 4.201574 Quick update... 6.072388 upsdrv_updateinfo... 6.201718 Got 9 HID objects... 6.201804 Path: UPS.PowerSummary.PresentStatus.InternalFailure, Type: Input, ReportID: 0x32, Offset: 7, Size: 1, Value: 0 6.201863 Path: UPS.PowerSummary.PresentStatus.ShutdownImminent, Type: Input, ReportID: 0x32, Offset: 9, Size: 1, Value: 0 6.201917 Path: UPS.PowerSummary.PresentStatus.ACPresent, Type: Input, ReportID: 0x32, Offset: 16, Size: 1, Value: 1 6.201981 Path: UPS.PowerSummary.PresentStatus.BelowRemainingCapacityLimit, Type: Input, ReportID: 0x32, Offset: 18, Size: 1, Value: 0 6.202036 Path: UPS.PowerSummary.PresentStatus.FullyCharged, Type: Input, ReportID: 0x32, Offset: 19, Size: 1, Value: 0 6.202088 Path: UPS.PowerSummary.PresentStatus.Charging, Type: Input, ReportID: 0x32, Offset: 20, Size: 1, Value: 1 6.202139 Path: UPS.PowerSummary.PresentStatus.Discharging, Type: Input, ReportID: 0x32, Offset: 21, Size: 1, Value: 0 6.202195 Path: UPS.PowerSummary.PresentStatus.FullyDischarged, Type: Input, ReportID: 0x32, Offset: 22, Size: 1, Value: 0 6.202249 Path: UPS.PowerSummary.PresentStatus.NeedReplacement, Type: Input, ReportID: 0x32, Offset: 23, Size: 1, Value: 0 6.202291 Quick update... 8.074300 upsdrv_updateinfo... 8.203949 Got 1 HID objects... 8.204037 Path: UPS.PowerSummary.RemainingCapacity, Type: Input, ReportID: 0x34, Offset: 0, Size: 8, Value: 94 8.204083 Quick update... 10.076166 upsdrv_updateinfo... 10.205204 Got 1 HID objects... 10.205305 Path: UPS.PowerSummary.RunTimeToEmpty, Type: Input, ReportID: 0x35, Offset: 0, Size: 16, Value: 3650 10.205355 Quick update... 12.078075 upsdrv_updateinfo... 12.207436 Got 9 HID objects... 12.207952 Path: UPS.PowerSummary.PresentStatus.InternalFailure, Type: Input, ReportID: 0x32, Offset: 7, Size: 1, Value: 0 12.208103 Path: UPS.PowerSummary.PresentStatus.ShutdownImminent, Type: Input, ReportID: 0x32, Offset: 9, Size: 1, Value: 0 12.208249 Path: UPS.PowerSummary.PresentStatus.ACPresent, Type: Input, ReportID: 0x32, Offset: 16, Size: 1, Value: 1 12.208626 Path: UPS.PowerSummary.PresentStatus.BelowRemainingCapacityLimit, Type: Input, ReportID: 0x32, Offset: 18, Size: 1, Value: 0 12.208775 Path: UPS.PowerSummary.PresentStatus.FullyCharged, Type: Input, ReportID: 0x32, Offset: 19, Size: 1, Value: 0 12.209140 Path: UPS.PowerSummary.PresentStatus.Charging, Type: Input, ReportID: 0x32, Offset: 20, Size: 1, Value: 1 12.209289 Path: UPS.PowerSummary.PresentStatus.Discharging, Type: Input, ReportID: 0x32, Offset: 21, Size: 1, Value: 0 12.209656 Path: UPS.PowerSummary.PresentStatus.FullyDischarged, Type: Input, ReportID: 0x32, Offset: 22, Size: 1, Value: 0 12.209798 Path: UPS.PowerSummary.PresentStatus.NeedReplacement, Type: Input, ReportID: 0x32, Offset: 23, Size: 1, Value: 0 12.210143 Quick update... 14.079987 upsdrv_updateinfo... 14.209670 Got 1 HID objects... 14.209753 Path: UPS.PowerSummary.RemainingCapacity, Type: Input, ReportID: 0x34, Offset: 0, Size: 8, Value: 94 14.209795 Quick update... 16.081844 upsdrv_updateinfo... 16.210923 Got 1 HID objects... 16.211041 Path: UPS.PowerSummary.RunTimeToEmpty, Type: Input, ReportID: 0x35, Offset: 0, Size: 16, Value: 3649 16.211181 Quick update... Should I run this without -x explore? Is there a way to get upsdrvctl to send the option -x productid=3024 to usbhid-ups? Would that be a good idea? ~ Paul Nickerson -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://alioth-lists.debian.net/pipermail/nut-upsuser/attachments/20210508/66fa9ebe/attachment-0001.htm>
Charles Lepple
2021-May-09 16:48 UTC
[Nut-upsuser] Tripp Lite model number AVR900U didn't change, but USB product ID did
On May 8, 2021, at 11:46 PM, Paul Nickerson via Nut-upsuser wrote:> > I'm running Raspbian GNU/Linux 10 (buster) on a Raspberry Pi 4. > I have nut-client and nut-server version 2.7.4-8 armhf installed from the Raspbian Buster main apt repository. > I have a Tripp Lite AVR900U series AG-0309 connected via USB to the Pi. The USB vendor ID is 09ae as expected, but the product ID is 3024. The compatibility page at https://networkupstools.org/ddl/Tripp_Lite/AVR900U.html <https://networkupstools.org/ddl/Tripp_Lite/AVR900U.html> says the product ID is expected to be 2010.I think we need some better background text on the DDL pages to explain this, but the way to look at it is that the 2010 product ID is the last "known good" version of the AVR900U model. I don't remember offhand when we started to see the under-the-hood change to 30xx product IDs, but this was discussed about a year ago: https://alioth-lists.debian.net/pipermail/nut-upsuser/2020-May/thread.html#11840 <https://alioth-lists.debian.net/pipermail/nut-upsuser/2020-May/thread.html#11840> Towards the end was discussion of the "data stale" error, which is a higher-level symptom of the driver (usbhid-ups, in your case) not being able to stay connected to the UPS. (I have an UPS with product ID 3016 which does the same thing on Linux with newer motherboards. It seems to be a combination of hardware issues with a lack of error handling for this particular fault in the Linux USB driver.)> There's no manufacturing date printed on the UPS or box, but I bought it from Amazon.com this week.I thought we had more info on how to interpret serial numbers, but all I can find is this: https://www.tripplite.com/support/identify-products <https://www.tripplite.com/support/identify-products> so the first four digits are the "date code", which do seem to be pretty close to the one mentioned in the May 2020 thread.> I have these settings: > > /etc/nut/ups.conf > [tripplite] > driver = usbhid-ups > port = auto > desc = "Tripp Lite AVR900U" > vendorid = 09ae > productid = 3024^ The last line tells upsdrvctl to add "-x productid = 3024" to the command line, so you should be set with this config.> To get usbhid-ups to try communicating with the UPS anyways, I added this udev rule and then unplugged and plugged back in the USB cord: > > /lib/udev/rules.d/62-nut-usbups.rules > ATTR{idVendor}=="09ae", ATTR{idProduct}=="3024", MODE="664", GROUP="nut"This udev rule is necessary until 3024 is added to NUT, yes.> It looks like forcing usbhid-ups to communicate works, maybe? I'm not sure what's expected here:At this point, if you restart with "productid = 3024" in ups.conf, things should work.> 0.023703 Path: UPS.PowerSummary.Input.Voltage, Type: Feature, ReportID: 0x31, Offset: 0, Size: 16, Value: 0.001254We have a couple of hacks in the driver to handle cases like this (Input.Voltage is being reported with 100,000x too low): https://github.com/networkupstools/nut/blob/v2.7.4/drivers/tripplite-hid.c#L59 <https://github.com/networkupstools/nut/blob/v2.7.4/drivers/tripplite-hid.c#L59> It looks like one of these was merged for 3024 recently: https://github.com/networkupstools/nut/issues/962 <https://github.com/networkupstools/nut/issues/962> You might also want to check other issues labeled Tripp Lite in GitHub: https://github.com/networkupstools/nut/labels/Tripp%20Lite <https://github.com/networkupstools/nut/labels/Tripp%20Lite>> 0.043213 Path: UPS.PowerConverter.Input.Frequency, Type: Feature, ReportID: 0x19, Offset: 0, Size: 16, Value: 6020Similar issue with frequency (x100)> Should I run this without -x explore? Is there a way to get upsdrvctl to send the option -x productid=3024 to usbhid-ups? Would that be a good idea?Correct, "-x explore" is only useful when adding support for a new UPS. It doesn't send anything to upsd. It sounds like you will need a newer build of NUT than 2.7.4 to get the fix for Issue 962 mentioned above (which still doesn't address the "data stale" issue). I don't have a lot of time to work on the NUT codebase these days, though. Hopefully some other folks on the list can help out. We also have some tips on rebuilding NUT on the GitHub wiki: https://github.com/networkupstools/nut/wiki <https://github.com/networkupstools/nut/wiki>> > ~ Paul Nickerson > _______________________________________________ > Nut-upsuser mailing list > Nut-upsuser at alioth-lists.debian.net > https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/nut-upsuser-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://alioth-lists.debian.net/pipermail/nut-upsuser/attachments/20210509/5dbd0b71/attachment.htm>
David Zomaya
2021-May-09 16:51 UTC
[Nut-upsuser] [EXTERNAL] Tripp Lite model number AVR900U didn't change, but USB product ID did
>> I have a Tripp Lite AVR900U series AG-0309 connected via USB to the Pi. The USB vendor ID is 09ae as expected, but the product ID is 3024. The compatibility page at https://networkupstools.org/ddl/Tripp_Lite/AVR900U.html says the product ID is expected to be 2010.I can confirm we changed many of our old 20xx protocols to 302x. I put in this request a while back: https://alioth-lists.debian.net/pipermail/nut-upsdev/2020-June/007473.html But I think I need to do a better job collaborating with those on the development side of the project. Generally, productid=3024 in the ups.conf does the trick. Thank you, David Zomaya Tripp Lite From: Nut-upsuser <nut-upsuser-bounces+david_zomaya=tripplite.com at alioth-lists.debian.net> on behalf of Paul Nickerson via Nut-upsuser <nut-upsuser at alioth-lists.debian.net> Sent: Saturday, May 8, 2021 10:46 PM To: nut-upsuser at lists.alioth.debian.org Subject: [EXTERNAL] [Nut-upsuser] Tripp Lite model number AVR900U didn't change, but USB product ID did This is an EXTERNAL email. Please take a moment and think before clicking any links or opening any attachments from this email. If suspicious, please forward to ishelpdesk at tripplite.com for review. I'm running Raspbian GNU/Linux 10 (buster) on a Raspberry Pi 4. I have nut-client and nut-server version 2.7.4-8 armhf installed from the Raspbian Buster main apt repository. There's no manufacturing date printed on the UPS or box, but I bought it from Amazon.com this week. I have these settings: /etc/nut/ups.conf [tripplite] driver = usbhid-ups port = auto desc = "Tripp Lite AVR900U" vendorid = 09ae productid = 3024 /etc/nut/nut.conf MODE=standalone Starting from the beginning, this fails: systemctl restart nut-driver.service I see that it tries to run: /sbin/upsdrvctl start This also fails. I added debug flags, and discovered that it's running this: /lib/nut/usbhid-ups -a tripplite Which also fails. I added debug flags to that, and got useful output, which I'll show you now. root at raspberrypi4:~# /lib/nut/usbhid-ups -a tripplite -DDDDDD Network UPS Tools - Generic HID driver 0.41 (2.7.4) USB communication driver 0.33 0.000000 debug level is '6' 0.000830 upsdrv_initups... ... 0.002583 Checking device (09AE/3024) (001/004) 0.002638 - VendorID: 09ae 0.002660 - ProductID: 3024 0.002679 - Manufacturer: unknown 0.002700 - Product: unknown 0.002724 - Serial Number: unknown 0.002746 - Bus: 001 0.002770 - Device release number: 0002 0.002790 Trying to match device 0.002814 This TrippLite device (09ae:3024) is not (or perhaps not yet) supported by usbhid-ups. Please make sure you have an up-to-date version of NUT. If this does not fix the problem, try running the driver with the '-x productid=3024' option. Please report your results to the NUT user's mailing list <nut-upsuser at lists.alioth.debian.org>. 0.002854 Device does not match - skipping ... 0.003689 No appropriate HID device found 0.003714 No matching HID UPS found I'm not sure if USB info would be useful for you, but if it is, here it is: root at raspberrypi4:~# lsusb --verbose Bus 001 Device 004: ID 09ae:3024 Tripp Lite Device Descriptor: bLength 18 bDescriptorType 1 bcdUSB 2.00 bDeviceClass 0 bDeviceSubClass 0 bDeviceProtocol 0 bMaxPacketSize0 64 idVendor 0x09ae Tripp Lite idProduct 0x3024 bcdDevice 0.02 iManufacturer 3 Tripp Lite iProduct 1 AVR900U iSerial 5 3050BV4OM882300258 bNumConfigurations 1 Configuration Descriptor: bLength 9 bDescriptorType 2 wTotalLength 0x0022 bNumInterfaces 1 bConfigurationValue 1 iConfiguration 0 bmAttributes 0xa0 (Bus Powered) Remote Wakeup MaxPower 100mA Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 0 bAlternateSetting 0 bNumEndpoints 1 bInterfaceClass 3 Human Interface Device bInterfaceSubClass 0 bInterfaceProtocol 0 iInterface 0 HID Device Descriptor: bLength 9 bDescriptorType 33 bcdHID 1.11 bCountryCode 33 US bNumDescriptors 1 bDescriptorType 34 Report wDescriptorLength 885 Report Descriptors: ** UNAVAILABLE ** Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x81 EP 1 IN bmAttributes 3 Transfer Type Interrupt Synch Type None Usage Type Data wMaxPacketSize 0x0040 1x 64 bytes bInterval 255 can't get device qualifier: Resource temporarily unavailable can't get debug descriptor: Resource temporarily unavailable Device Status: 0x0002 (Bus Powered) Remote Wakeup Enabled To get usbhid-ups to try communicating with the UPS anyways, I added this udev rule and then unplugged and plugged back in the USB cord: /lib/udev/rules.d/62-nut-usbups.rules ATTR{idVendor}=="09ae", ATTR{idProduct}=="3024", MODE="664", GROUP="nut" It looks like forcing usbhid-ups to communicate works, maybe? I'm not sure what's expected here: root at raspberrypi4:~# /lib/nut/usbhid-ups -a tripplite -DD -x productid=3024 -x explore Network UPS Tools - Generic HID driver 0.41 (2.7.4) USB communication driver 0.33 0.000000 debug level is '2' 0.002081 upsdrv_initups... ... 0.005719 Checking device (09AE/3024) (001/009) 0.011434 - VendorID: 09ae 0.011499 - ProductID: 3024 0.011541 - Manufacturer: Tripp Lite 0.011587 - Product: AVR900U 0.011631 - Serial Number: 3050BV4OM882300258 0.011674 - Bus: 001 0.011719 - Device release number: 0002 0.011761 Trying to match device 0.011890 Device matches 0.014215 HID descriptor length 885 0.018081 Report Descriptor size = 885 0.018945 Using subdriver: EXPLORE HID 0.1 0.018992 87 HID objects found 0.020830 Path: UPS.PowerSummary.iProduct, Type: Feature, ReportID: 0x28, Offset: 0, Size: 8, Value: 1 0.021572 Path: UPS.PowerSummary.iSerialNumber, Type: Feature, ReportID: 0x29, Offset: 0, Size: 8, Value: 5 0.022377 Path: UPS.PowerSummary.iManufacturer, Type: Feature, ReportID: 0x2b, Offset: 0, Size: 8, Value: 3 0.022965 Path: UPS.PowerSummary.Input.ConfigVoltage, Type: Feature, ReportID: 0x30, Offset: 0, Size: 8, Value: 120 0.023703 Path: UPS.PowerSummary.Input.Voltage, Type: Feature, ReportID: 0x31, Offset: 0, Size: 16, Value: 0.001254 0.024453 Path: UPS.PowerSummary.AudibleAlarmControl, Type: Feature, ReportID: 0x11, Offset: 0, Size: 8, Value: 3 0.025201 Path: UPS.PowerSummary.PresentStatus.InternalFailure, Type: Feature, ReportID: 0x32, Offset: 7, Size: 1, Value: 0 0.025263 Path: UPS.PowerSummary.PresentStatus.InternalFailure, Type: Input, ReportID: 0x32, Offset: 7, Size: 1, Value: 0 0.025320 Path: UPS.PowerSummary.PresentStatus.ShutdownImminent, Type: Feature, ReportID: 0x32, Offset: 9, Size: 1, Value: 0 0.025375 Path: UPS.PowerSummary.PresentStatus.ShutdownImminent, Type: Input, ReportID: 0x32, Offset: 9, Size: 1, Value: 0 0.025431 Path: UPS.PowerSummary.PresentStatus.ACPresent, Type: Input, ReportID: 0x32, Offset: 16, Size: 1, Value: 1 0.025490 Path: UPS.PowerSummary.PresentStatus.ACPresent, Type: Feature, ReportID: 0x32, Offset: 16, Size: 1, Value: 1 0.025546 Path: UPS.PowerSummary.PresentStatus.BelowRemainingCapacityLimit, Type: Input, ReportID: 0x32, Offset: 18, Size: 1, Value: 0 0.025601 Path: UPS.PowerSummary.PresentStatus.FullyCharged, Type: Input, ReportID: 0x32, Offset: 19, Size: 1, Value: 0 0.025656 Path: UPS.PowerSummary.PresentStatus.Charging, Type: Input, ReportID: 0x32, Offset: 20, Size: 1, Value: 1 0.025710 Path: UPS.PowerSummary.PresentStatus.Discharging, Type: Input, ReportID: 0x32, Offset: 21, Size: 1, Value: 0 0.025768 Path: UPS.PowerSummary.PresentStatus.FullyDischarged, Type: Input, ReportID: 0x32, Offset: 22, Size: 1, Value: 0 0.025820 Path: UPS.PowerSummary.PresentStatus.NeedReplacement, Type: Input, ReportID: 0x32, Offset: 23, Size: 1, Value: 0 0.025875 Path: UPS.PowerSummary.PresentStatus.BelowRemainingCapacityLimit, Type: Feature, ReportID: 0x32, Offset: 18, Size: 1, Value: 0 0.025929 Path: UPS.PowerSummary.PresentStatus.FullyCharged, Type: Feature, ReportID: 0x32, Offset: 19, Size: 1, Value: 0 0.025983 Path: UPS.PowerSummary.PresentStatus.Charging, Type: Feature, ReportID: 0x32, Offset: 20, Size: 1, Value: 1 0.026038 Path: UPS.PowerSummary.PresentStatus.Discharging, Type: Feature, ReportID: 0x32, Offset: 21, Size: 1, Value: 0 0.026092 Path: UPS.PowerSummary.PresentStatus.FullyDischarged, Type: Feature, ReportID: 0x32, Offset: 22, Size: 1, Value: 0 0.026149 Path: UPS.PowerSummary.PresentStatus.NeedReplacement, Type: Feature, ReportID: 0x32, Offset: 23, Size: 1, Value: 0 0.027950 Path: UPS.PowerSummary.iDeviceChemistry, Type: Feature, ReportID: 0x2a, Offset: 0, Size: 8, Value: 4 0.028693 Path: UPS.PowerSummary.iOEMInformation, Type: Feature, ReportID: 0x62, Offset: 0, Size: 8, Value: 2 0.029319 Path: UPS.PowerSummary.CapacityMode, Type: Feature, ReportID: 0x33, Offset: 0, Size: 8, Value: 2 0.029957 Path: UPS.PowerSummary.RemainingCapacity, Type: Input, ReportID: 0x34, Offset: 0, Size: 8, Value: 94 0.030016 Path: UPS.PowerSummary.RemainingCapacity, Type: Feature, ReportID: 0x34, Offset: 0, Size: 8, Value: 94 0.030583 Path: UPS.PowerSummary.FullChargeCapacity, Type: Feature, ReportID: 0x37, Offset: 0, Size: 8, Value: 100 0.031318 Path: UPS.PowerSummary.DesignCapacity, Type: Feature, ReportID: 0x36, Offset: 0, Size: 8, Value: 100 0.031943 Path: UPS.PowerSummary.WarningCapacityLimit, Type: Feature, ReportID: 0x38, Offset: 0, Size: 8, Value: 30 0.032697 Path: UPS.PowerSummary.Rechargeable, Type: Feature, ReportID: 0x2c, Offset: 0, Size: 8, Value: 1 0.033446 Path: UPS.PowerSummary.RunTimeToEmpty, Type: Input, ReportID: 0x35, Offset: 0, Size: 16, Value: 3650 0.033507 Path: UPS.PowerSummary.RunTimeToEmpty, Type: Feature, ReportID: 0x35, Offset: 0, Size: 16, Value: 3650 0.034195 Path: UPS.BatterySystem.Battery.ConfigVoltage, Type: Feature, ReportID: 0x04, Offset: 0, Size: 16, Value: 12 0.034945 Path: UPS.BatterySystem.Battery.Voltage, Type: Feature, ReportID: 0x20, Offset: 0, Size: 16, Value: 0.000137 0.035581 Path: UPS.BatterySystem.Battery.PresentStatus.BelowRemainingCapacityLimit, Type: Feature, ReportID: 0x23, Offset: 2, Size: 1, Value: 0 0.035641 Path: UPS.BatterySystem.Battery.PresentStatus.FullyCharged, Type: Feature, ReportID: 0x23, Offset: 3, Size: 1, Value: 0 0.035697 Path: UPS.BatterySystem.Battery.PresentStatus.Charging, Type: Feature, ReportID: 0x23, Offset: 4, Size: 1, Value: 1 0.035752 Path: UPS.BatterySystem.Battery.PresentStatus.Discharging, Type: Feature, ReportID: 0x23, Offset: 5, Size: 1, Value: 0 0.035806 Path: UPS.BatterySystem.Battery.PresentStatus.FullyDischarged, Type: Feature, ReportID: 0x23, Offset: 6, Size: 1, Value: 0 0.035861 Path: UPS.BatterySystem.Battery.PresentStatus.NeedReplacement, Type: Feature, ReportID: 0x23, Offset: 7, Size: 1, Value: 0 0.038212 Path: UPS.BatterySystem.Battery.RemainingCapacity, Type: Feature, ReportID: 0x21, Offset: 0, Size: 8, Value: 94 0.038944 Path: UPS.BatterySystem.Battery.Test, Type: Feature, ReportID: 0x10, Offset: 0, Size: 8, Value: 6 0.039705 Path: UPS.Flow.ConfigVoltage, Type: Feature, ReportID: 0x01, Offset: 0, Size: 8, Value: 120 0.040453 Path: UPS.Flow.ConfigFrequency, Type: Feature, ReportID: 0x02, Offset: 0, Size: 8, Value: 60 0.041199 Path: UPS.Flow.ffff0097, Type: Feature, ReportID: 0x55, Offset: 0, Size: 8, Value: 2 0.041950 Path: UPS.Flow.ConfigApparentPower, Type: Feature, ReportID: 0x03, Offset: 0, Size: 16, Value: 900 0.042589 Path: UPS.PowerConverter.Input.Voltage, Type: Feature, ReportID: 0x18, Offset: 0, Size: 16, Value: 0.001254 0.043213 Path: UPS.PowerConverter.Input.Frequency, Type: Feature, ReportID: 0x19, Offset: 0, Size: 16, Value: 6020 0.043713 Path: UPS.PowerConverter.Output.Voltage, Type: Feature, ReportID: 0x1b, Offset: 0, Size: 16, Value: 0.001264 0.044211 Path: UPS.PowerConverter.Output.Frequency, Type: Feature, ReportID: 0x1c, Offset: 0, Size: 16, Value: 6020 0.044835 Path: UPS.PowerConverter.Output.Current, Type: Feature, ReportID: 0x46, Offset: 0, Size: 16, Value: 0 0.045573 Path: UPS.PowerConverter.Output.ActivePower, Type: Feature, ReportID: 0x47, Offset: 0, Size: 16, Value: 0 0.046325 Path: UPS.PowerConverter.Output.LowVoltageTransfer, Type: Feature, ReportID: 0x06, Offset: 0, Size: 16, Value: 89 0.047075 Path: UPS.PowerConverter.Output.HighVoltageTransfer, Type: Feature, ReportID: 0x09, Offset: 0, Size: 16, Value: 145 0.047823 Path: UPS.PowerConverter.PresentStatus.VoltageOutOfRange, Type: Feature, ReportID: 0x22, Offset: 0, Size: 1, Value: 0 0.047880 Path: UPS.PowerConverter.PresentStatus.Buck, Type: Feature, ReportID: 0x22, Offset: 1, Size: 1, Value: 0 0.047933 Path: UPS.PowerConverter.PresentStatus.Boost, Type: Feature, ReportID: 0x22, Offset: 2, Size: 1, Value: 0 0.047986 Path: UPS.PowerConverter.PresentStatus.Overload, Type: Feature, ReportID: 0x22, Offset: 4, Size: 1, Value: 0 0.048040 Path: UPS.PowerConverter.PresentStatus.Used, Type: Feature, ReportID: 0x22, Offset: 5, Size: 1, Value: 1 0.048098 Path: UPS.PowerConverter.PresentStatus.OverTemperature, Type: Feature, ReportID: 0x22, Offset: 6, Size: 1, Value: 0 0.048151 Path: UPS.PowerConverter.PresentStatus.InternalFailure, Type: Feature, ReportID: 0x22, Offset: 7, Size: 1, Value: 0 0.048204 Path: UPS.PowerConverter.PresentStatus.AwaitingPower, Type: Feature, ReportID: 0x22, Offset: 14, Size: 1, Value: 0 0.050451 Path: UPS.OutletSystem.Outlet.DelayBeforeShutdown, Type: Feature, ReportID: 0x15, Offset: 0, Size: 16, Value: 65535 0.051202 Path: UPS.OutletSystem.Outlet.ffff0056, Type: Feature, ReportID: 0x16, Offset: 0, Size: 16, Value: -60 0.051951 Path: UPS.OutletSystem.Outlet.DelayBeforeReboot, Type: Feature, ReportID: 0x17, Offset: 0, Size: 16, Value: 65535 0.052704 Path: UPS.OutletSystem.Outlet.DelayBeforeStartup, Type: Feature, ReportID: 0x61, Offset: 0, Size: 16, Value: 65535 0.053450 Path: UPS.OutletSystem.Outlet.PercentLoad, Type: Feature, ReportID: 0x1e, Offset: 0, Size: 8, Value: 0 0.054199 Path: UPS.OutletSystem.Outlet.ffff0081, Type: Feature, ReportID: 0x41, Offset: 0, Size: 8, Value: 0 0.054953 Path: UPS.OutletSystem.Outlet.ffff0091, Type: Feature, ReportID: 0x51, Offset: 0, Size: 8, Value: 0 0.055699 Path: UPS.OutletSystem.Outlet.ffff0092, Type: Feature, ReportID: 0x52, Offset: 0, Size: 8, Value: 0 0.056451 Path: UPS.ffff00fe.ffff0075, Type: Feature, ReportID: 0x0d, Offset: 0, Size: 8, Value: 6 0.057199 Path: UPS.ffff00fe.ffff0076, Type: Feature, ReportID: 0x0e, Offset: 0, Size: 8, Value: 7 0.057837 Path: UPS.ffff00fe.ffff007c, Type: Feature, ReportID: 0x0f, Offset: 0, Size: 8, Value: 162 0.058574 Path: UPS.ffff00fe.ffff009c, Type: Feature, ReportID: 0x43, Offset: 0, Size: 8, Value: 1 0.059086 Path: UPS.ffff00fe.ffff00a0, Type: Feature, ReportID: 0x57, Offset: 0, Size: 8, Value: 0 0.059698 Path: UPS.ffff00fe.ffff00a1, Type: Feature, ReportID: 0x58, Offset: 0, Size: 8, Value: 0 0.060435 libusb_get_report: error sending control message: Operation not permitted 0.060491 Can't retrieve Report 59: Operation not permitted 0.060545 Path: UPS.ffff00fe.ffff00a2, Type: Feature, ReportID: 0x59, Offset: 0, Size: 8 0.061202 Path: UPS.ffff00fe.ffff007d, Type: Feature, ReportID: 0x6c, Offset: 0, Size: 16, Value: 12324 0.061948 Path: UPS.ffff00fe.ffff0062, Type: Feature, ReportID: 0x5d, Offset: 0, Size: 8, Value: 1 0.062686 libusb_get_report: error sending control message: Operation not permitted 0.062741 Can't retrieve Report 60: Operation not permitted 0.062792 Path: UPS.ffff00fe.ffff0060, Type: Feature, ReportID: 0x60, Offset: 0, Size: 8 0.063455 Path: UPS.ffff00ff.ffff00d6, Type: Feature, ReportID: 0xc2, Offset: 0, Size: 32, Value: 1.76439e+09 0.064204 Path: UPS.ffff00ff.ffff00d7, Type: Feature, ReportID: 0xc3, Offset: 0, Size: 32, Value: 2562 0.064955 Path: UPS.ffff00ff.ffff00ef, Type: Input, ReportID: 0xe3, Offset: 0, Size: 8, Value: 0 0.065015 Path: UPS.ffff00ff.ffff00ef, Type: Feature, ReportID: 0xe3, Offset: 0, Size: 8, Value: 0 0.065089 Report descriptor retrieved (Reportlen = 885) 0.065135 Found HID device 0.065178 Detected a UPS: Tripp Lite/AVR900U 0.065230 find_nut_info: unknown info type: load.off.delay 0.065273 find_nut_info: unknown info type: load.on.delay 0.065315 find_nut_info: unknown info type: load.off.delay 0.065374 upsdrv_initinfo... 0.065467 upsdrv_updateinfo... 0.066954 Got 1 HID objects... 0.067017 Path: UPS.PowerSummary.RunTimeToEmpty, Type: Input, ReportID: 0x35, Offset: 0, Size: 16, Value: 3650 0.067065 Quick update... 0.067229 dstate_init: sock /var/run/nut/usbhid-ups-tripplite open on fd 5 0.067300 upsdrv_updateinfo... 0.195017 Got 9 HID objects... 0.195120 Path: UPS.PowerSummary.PresentStatus.InternalFailure, Type: Input, ReportID: 0x32, Offset: 7, Size: 1, Value: 0 0.195194 Path: UPS.PowerSummary.PresentStatus.ShutdownImminent, Type: Input, ReportID: 0x32, Offset: 9, Size: 1, Value: 0 0.195284 Path: UPS.PowerSummary.PresentStatus.ACPresent, Type: Input, ReportID: 0x32, Offset: 16, Size: 1, Value: 1 0.195361 Path: UPS.PowerSummary.PresentStatus.BelowRemainingCapacityLimit, Type: Input, ReportID: 0x32, Offset: 18, Size: 1, Value: 0 0.195439 Path: UPS.PowerSummary.PresentStatus.FullyCharged, Type: Input, ReportID: 0x32, Offset: 19, Size: 1, Value: 0 0.195494 Path: UPS.PowerSummary.PresentStatus.Charging, Type: Input, ReportID: 0x32, Offset: 20, Size: 1, Value: 1 0.195545 Path: UPS.PowerSummary.PresentStatus.Discharging, Type: Input, ReportID: 0x32, Offset: 21, Size: 1, Value: 0 0.195608 Path: UPS.PowerSummary.PresentStatus.FullyDischarged, Type: Input, ReportID: 0x32, Offset: 22, Size: 1, Value: 0 0.195657 Path: UPS.PowerSummary.PresentStatus.NeedReplacement, Type: Input, ReportID: 0x32, Offset: 23, Size: 1, Value: 0 0.195722 Quick update... 2.068005 upsdrv_updateinfo... 2.197223 Got 1 HID objects... 2.197303 Path: UPS.PowerSummary.RemainingCapacity, Type: Input, ReportID: 0x34, Offset: 0, Size: 8, Value: 94 2.197348 Quick update... 4.071967 upsdrv_updateinfo... 4.201458 Got 1 HID objects... 4.201533 Path: UPS.PowerSummary.RunTimeToEmpty, Type: Input, ReportID: 0x35, Offset: 0, Size: 16, Value: 3649 4.201574 Quick update... 6.072388 upsdrv_updateinfo... 6.201718 Got 9 HID objects... 6.201804 Path: UPS.PowerSummary.PresentStatus.InternalFailure, Type: Input, ReportID: 0x32, Offset: 7, Size: 1, Value: 0 6.201863 Path: UPS.PowerSummary.PresentStatus.ShutdownImminent, Type: Input, ReportID: 0x32, Offset: 9, Size: 1, Value: 0 6.201917 Path: UPS.PowerSummary.PresentStatus.ACPresent, Type: Input, ReportID: 0x32, Offset: 16, Size: 1, Value: 1 6.201981 Path: UPS.PowerSummary.PresentStatus.BelowRemainingCapacityLimit, Type: Input, ReportID: 0x32, Offset: 18, Size: 1, Value: 0 6.202036 Path: UPS.PowerSummary.PresentStatus.FullyCharged, Type: Input, ReportID: 0x32, Offset: 19, Size: 1, Value: 0 6.202088 Path: UPS.PowerSummary.PresentStatus.Charging, Type: Input, ReportID: 0x32, Offset: 20, Size: 1, Value: 1 6.202139 Path: UPS.PowerSummary.PresentStatus.Discharging, Type: Input, ReportID: 0x32, Offset: 21, Size: 1, Value: 0 6.202195 Path: UPS.PowerSummary.PresentStatus.FullyDischarged, Type: Input, ReportID: 0x32, Offset: 22, Size: 1, Value: 0 6.202249 Path: UPS.PowerSummary.PresentStatus.NeedReplacement, Type: Input, ReportID: 0x32, Offset: 23, Size: 1, Value: 0 6.202291 Quick update... 8.074300 upsdrv_updateinfo... 8.203949 Got 1 HID objects... 8.204037 Path: UPS.PowerSummary.RemainingCapacity, Type: Input, ReportID: 0x34, Offset: 0, Size: 8, Value: 94 8.204083 Quick update... 10.076166 upsdrv_updateinfo... 10.205204 Got 1 HID objects... 10.205305 Path: UPS.PowerSummary.RunTimeToEmpty, Type: Input, ReportID: 0x35, Offset: 0, Size: 16, Value: 3650 10.205355 Quick update... 12.078075 upsdrv_updateinfo... 12.207436 Got 9 HID objects... 12.207952 Path: UPS.PowerSummary.PresentStatus.InternalFailure, Type: Input, ReportID: 0x32, Offset: 7, Size: 1, Value: 0 12.208103 Path: UPS.PowerSummary.PresentStatus.ShutdownImminent, Type: Input, ReportID: 0x32, Offset: 9, Size: 1, Value: 0 12.208249 Path: UPS.PowerSummary.PresentStatus.ACPresent, Type: Input, ReportID: 0x32, Offset: 16, Size: 1, Value: 1 12.208626 Path: UPS.PowerSummary.PresentStatus.BelowRemainingCapacityLimit, Type: Input, ReportID: 0x32, Offset: 18, Size: 1, Value: 0 12.208775 Path: UPS.PowerSummary.PresentStatus.FullyCharged, Type: Input, ReportID: 0x32, Offset: 19, Size: 1, Value: 0 12.209140 Path: UPS.PowerSummary.PresentStatus.Charging, Type: Input, ReportID: 0x32, Offset: 20, Size: 1, Value: 1 12.209289 Path: UPS.PowerSummary.PresentStatus.Discharging, Type: Input, ReportID: 0x32, Offset: 21, Size: 1, Value: 0 12.209656 Path: UPS.PowerSummary.PresentStatus.FullyDischarged, Type: Input, ReportID: 0x32, Offset: 22, Size: 1, Value: 0 12.209798 Path: UPS.PowerSummary.PresentStatus.NeedReplacement, Type: Input, ReportID: 0x32, Offset: 23, Size: 1, Value: 0 12.210143 Quick update... 14.079987 upsdrv_updateinfo... 14.209670 Got 1 HID objects... 14.209753 Path: UPS.PowerSummary.RemainingCapacity, Type: Input, ReportID: 0x34, Offset: 0, Size: 8, Value: 94 14.209795 Quick update... 16.081844 upsdrv_updateinfo... 16.210923 Got 1 HID objects... 16.211041 Path: UPS.PowerSummary.RunTimeToEmpty, Type: Input, ReportID: 0x35, Offset: 0, Size: 16, Value: 3649 16.211181 Quick update... Should I run this without -x explore? Is there a way to get upsdrvctl to send the option -x productid=3024 to usbhid-ups? Would that be a good idea? ~ Paul Nickerson ________________________________ This message is for the addressee's use only. It may contain confidential information. If you receive this message in error, please delete it and notify the sender. Tripp Lite disclaims all warranties and liabilities, and assumes no responsibility for viruses which may infect an email sent to you from Tripp Lite and which damage your electronic systems or information. It is your responsibility to maintain virus detection systems to prevent damage to your electronic systems and information.