networkupstools / nut

The Network UPS Tools repository. UPS management protocol Informational RFC 9271 published by IETF at https://www.rfc-editor.org/info/rfc9271 Please star NUT on GitHub, this helps with sponsorships!
https://networkupstools.org/
Other
1.99k stars 349 forks source link

Trouble with Liebert PSI5-1500RT120LI #1028

Open darconeous opened 3 years ago

darconeous commented 3 years ago

I recently purchased a Vertiv Liebert PSI5-1500RT120LI (Admittedly not listed as an officially supported UPS), and after reading this thread I assumed that simply adding something like this to my /etc/nut/ups.conf would do the trick:

[ups]
driver = usbhid-ups
port = auto
desc = "Libert PSI5 (Rack)"
productid = 0002

And this did kinda work, except that it only reports that it is always "on battery". I haven't tried running it down to see if it ever gets to the "LB" condition.

I'm a software developer and I'm not afraid to try hacking around to get this to work, but I'm not sure where to start. Any advice or pointers would be welcome.

Here is the output from running usbhid-ups -DDDDD -a ups manually:

$ sudo -u nut /lib/nut/usbhid-ups -DDDDD -a ups
Network UPS Tools - Generic HID driver 0.41 (2.7.4)
USB communication driver 0.33
   0.000000 send_to_all: SETINFO driver.parameter.port "auto"
   0.000150 send_to_all: SETINFO driver.parameter.productid "0002"
   0.000256 debug level is '5'
   0.001567 upsdrv_initups...
   0.026776 Checking device (1D6B/0003) (002/001)
   0.055284 - VendorID: 1d6b
   0.055336 - ProductID: 0003
   0.055377 - Manufacturer: unknown
   0.055416 - Product: unknown
   0.055452 - Serial Number: unknown
   0.055487 - Bus: 002
   0.055522 - Device release number: 0510
   0.055556 Trying to match device
   0.055601 Device does not match - skipping
   0.055997 Checking device (10AF/0002) (001/003)
   0.062778 - VendorID: 10af
   0.062824 - ProductID: 0002
   0.062862 - Manufacturer: Vertiv Co.
   0.062901 - Product: Liebert PSI5
   0.062940 - Serial Number: 0000000000000000
   0.062986 - Bus: 001
   0.063023 - Device release number: 0002
   0.063062 Trying to match device
   0.063154 Device matches
   0.063248 nut_usb_set_altinterface: skipped usb_set_altinterface(udev, 0)
   0.065797 HID descriptor, method 1: (9 bytes) => 09 21 10 01 00 01 22 1b 00
   0.065840 HID descriptor length (method 1) 27
   0.065879 i=0, extra[i]=09, extra[i+1]=21
   0.065926 HID descriptor, method 2: (9 bytes) => 09 21 10 01 00 01 22 1b 00
   0.065965 HID descriptor length (method 2) 27
   0.066006 HID descriptor length 27
   0.069283 Report Descriptor size = 27
   0.069337 Report Descriptor: (27 bytes) => 06 00 ff 09 01 a1 01 09 02 15 00 26 ff 00
   0.069386  75 08 95 08 81 82 09 02 95 08 91 82 c0
   0.069614 Using subdriver: Belkin/Liebert HID 0.17
   0.069656 2 HID objects found
   0.069696 Entering libusb_get_report
   0.072032 libusb_get_report: error sending control message: Operation not permitted
   0.072084 Can't retrieve Report 00: Operation not permitted
   0.072131 hid_lookup_path: ff000001 -> not found in lookup table
   0.072171 hid_lookup_path: ff000002 -> not found in lookup table
   0.072210 Path: ff000001.ff000002, Type: Input, ReportID: 0x00, Offset: 0, Size: 8
   0.072247 Entering libusb_get_report
   0.074781 libusb_get_report: error sending control message: Operation not permitted
   0.074829 Can't retrieve Report 00: Operation not permitted
   0.074870 hid_lookup_path: ff000001 -> not found in lookup table
   0.074970 hid_lookup_path: ff000002 -> not found in lookup table
   0.075009 Path: ff000001.ff000002, Type: Output, ReportID: 0x00, Offset: 0, Size: 8
   0.075057 send_to_all: SETINFO ups.mfr "Vertiv Co."
   0.075096 send_to_all: SETINFO ups.model "Liebert PSI5"
   0.075137 send_to_all: SETINFO ups.serial "0000000000000000"
   0.075182 send_to_all: SETINFO ups.vendorid "10af"
   0.075223 send_to_all: SETINFO ups.productid "0002"
   0.075265 Report descriptor retrieved (Reportlen = 27)
   0.075302 Found HID device
   0.075340 Detected a UPS: Vertiv Co./Liebert PSI5
   0.075420 hid_lookup_usage: UPS -> 00840004
   0.075465 hid_lookup_usage: BELKINBatterySystem -> 00860010
   0.075505 hid_lookup_usage: BELKINCharge -> 00860039
   0.075542 string_to_path: depth = 3
   0.075607 hid_lookup_usage: UPS -> 00840004
   0.075644 hid_lookup_usage: PowerSummary -> 00840024
   0.075686 hid_lookup_usage: RemainingCapacityLimit -> 00850029
   0.075719 string_to_path: depth = 3
   0.075756 hid_lookup_usage: UPS -> 00840004
   0.075799 hid_lookup_usage: PowerSummary -> 00840024
   0.075842 hid_lookup_usage: WarningCapacityLimit -> 0085008c
   0.075880 string_to_path: depth = 3
   0.075917 hid_lookup_usage: UPS -> 00840004
   0.075956 hid_lookup_usage: PowerSummary -> 00840024
   0.075999 hid_lookup_usage: RunTimeToEmpty -> 00850068
   0.076035 string_to_path: depth = 3
   0.076072 hid_lookup_usage: UPS -> 00840004
   0.076110 hid_lookup_usage: PowerSummary -> 00840024
   0.076154 hid_lookup_usage: iDeviceChemistry -> 00850089
   0.076189 string_to_path: depth = 3
   0.076228 hid_lookup_usage: UPS -> 00840004
   0.076266 hid_lookup_usage: BELKINBatterySystem -> 00860010
   0.076305 hid_lookup_usage: BELKINVoltage -> 00860030
   0.076345 string_to_path: depth = 3
   0.076384 hid_lookup_usage: UPS -> 00840004
   0.076421 hid_lookup_usage: BELKINConfig -> 00860026
   0.076459 hid_lookup_usage: BELKINConfigBatteryVoltage -> 00860044
   0.076496 string_to_path: depth = 3
   0.076535 hid_lookup_usage: UPS -> 00840004
   0.076574 hid_lookup_usage: BELKINPowerState -> 0086002a
   0.076612 hid_lookup_usage: BELKINInput -> 0086001a
   0.076651 hid_lookup_usage: BELKINFrequency -> 00860032
   0.076687 string_to_path: depth = 4
   0.076726 hid_lookup_usage: UPS -> 00840004
   0.076763 hid_lookup_usage: BELKINConfig -> 00860026
   0.076800 hid_lookup_usage: BELKINConfigFrequency -> 00860042
   0.076837 string_to_path: depth = 3
   0.076875 hid_lookup_usage: UPS -> 00840004
   0.076913 hid_lookup_usage: BELKINDevice -> 00860029
   0.076952 hid_lookup_usage: BELKINVoltageSensitivity -> 00860074
   0.076991 string_to_path: depth = 3
   0.077030 hid_lookup_usage: UPS -> 00840004
   0.077067 hid_lookup_usage: BELKINConfig -> 00860026
   0.077104 hid_lookup_usage: BELKINHighVoltageTransfer -> 00860054
   0.077141 string_to_path: depth = 3
   0.077179 hid_lookup_usage: UPS -> 00840004
   0.077217 hid_lookup_usage: BELKINConfig -> 00860026
   0.077255 hid_lookup_usage: BELKINHighVoltageTransferMax -> 0086005d
   0.077292 string_to_path: depth = 3
   0.077330 hid_lookup_usage: UPS -> 00840004
   0.077367 hid_lookup_usage: BELKINConfig -> 00860026
   0.077406 hid_lookup_usage: BELKINHighVoltageTransferMin -> 0086005e
   0.077442 string_to_path: depth = 3
   0.077480 hid_lookup_usage: UPS -> 00840004
   0.077517 hid_lookup_usage: BELKINConfig -> 00860026
   0.077555 hid_lookup_usage: BELKINLowVoltageTransfer -> 00860053
   0.077591 string_to_path: depth = 3
   0.077630 hid_lookup_usage: UPS -> 00840004
   0.077667 hid_lookup_usage: BELKINConfig -> 00860026
   0.077706 hid_lookup_usage: BELKINLowVoltageTransferMax -> 0086005b
   0.077747 string_to_path: depth = 3
   0.077788 hid_lookup_usage: UPS -> 00840004
   0.077827 hid_lookup_usage: BELKINConfig -> 00860026
   0.077867 hid_lookup_usage: BELKINLowVoltageTransferMin -> 0086005c
   0.077904 string_to_path: depth = 3
   0.077944 hid_lookup_usage: UPS -> 00840004
   0.077985 hid_lookup_usage: BELKINPowerState -> 0086002a
   0.078026 hid_lookup_usage: BELKINInput -> 0086001a
   0.078069 hid_lookup_usage: BELKINVoltage -> 00860030
   0.078107 string_to_path: depth = 4
   0.078147 hid_lookup_usage: UPS -> 00840004
   0.078187 hid_lookup_usage: BELKINConfig -> 00860026
   0.078226 hid_lookup_usage: BELKINConfigVoltage -> 00860040
   0.078263 string_to_path: depth = 3
   0.078306 hid_lookup_usage: UPS -> 00840004
   0.078347 hid_lookup_usage: BELKINPowerState -> 0086002a
   0.078390 hid_lookup_usage: BELKINOutput -> 0086001c
   0.078431 hid_lookup_usage: BELKINFrequency -> 00860032
   0.078471 string_to_path: depth = 4
   0.078512 hid_lookup_usage: UPS -> 00840004
   0.078557 hid_lookup_usage: BELKINPowerState -> 0086002a
   0.078597 hid_lookup_usage: BELKINOutput -> 0086001c
   0.078641 hid_lookup_usage: BELKINVoltage -> 00860030
   0.078678 string_to_path: depth = 4
   0.078715 hid_lookup_usage: UPS -> 00840004
   0.078752 hid_lookup_usage: BELKINControls -> 00860027
   0.078794 hid_lookup_usage: BELKINAudibleAlarmControl -> 0086005a
   0.078832 string_to_path: depth = 3
   0.078874 hid_lookup_usage: UPS -> 00840004
   0.078915 hid_lookup_usage: BELKINControls -> 00860027
   0.078952 hid_lookup_usage: BELKINDelayBeforeStartup -> 00860056
   0.078992 string_to_path: depth = 3
   0.079034 hid_lookup_usage: UPS -> 00840004
   0.079074 hid_lookup_usage: BELKINControls -> 00860027
   0.079114 hid_lookup_usage: BELKINDelayBeforeShutdown -> 00860057
   0.079152 string_to_path: depth = 3
   0.079192 hid_lookup_usage: UPS -> 00840004
   0.079231 hid_lookup_usage: BELKINControls -> 00860027
   0.079273 hid_lookup_usage: BELKINDelayBeforeStartup -> 00860056
   0.079313 string_to_path: depth = 3
   0.079354 hid_lookup_usage: UPS -> 00840004
   0.079395 hid_lookup_usage: BELKINControls -> 00860027
   0.079435 hid_lookup_usage: BELKINDelayBeforeShutdown -> 00860057
   0.079472 string_to_path: depth = 3
   0.079514 hid_lookup_usage: UPS -> 00840004
   0.079555 hid_lookup_usage: BELKINControls -> 00860027
   0.079596 hid_lookup_usage: BELKINDelayBeforeReboot -> 00860055
   0.079634 string_to_path: depth = 3
   0.079676 hid_lookup_usage: UPS -> 00840004
   0.079718 hid_lookup_usage: BELKINDevice -> 00860029
   0.079757 hid_lookup_usage: BELKINUPSType -> 0086007c
   0.079795 string_to_path: depth = 3
   0.079834 hid_lookup_usage: UPS -> 00840004
   0.079874 hid_lookup_usage: BELKINPowerState -> 0086002a
   0.079914 hid_lookup_usage: BELKINOutput -> 0086001c
   0.079954 hid_lookup_usage: BELKINPercentLoad -> 00860035
   0.079991 string_to_path: depth = 4
   0.080051 hid_lookup_usage: UPS -> 00840004
   0.080093 hid_lookup_usage: BELKINConfig -> 00860026
   0.080135 hid_lookup_usage: BELKINConfigOverloadTransfer -> 00860045
   0.080173 string_to_path: depth = 3
   0.080215 hid_lookup_usage: UPS -> 00840004
   0.080258 hid_lookup_usage: PowerSummary -> 00840024
   0.080303 hid_lookup_usage: ManufacturerDate -> 00850085
   0.080343 string_to_path: depth = 3
   0.080384 hid_lookup_usage: UPS -> 00840004
   0.080425 hid_lookup_usage: BELKINConfig -> 00860026
   0.080465 hid_lookup_usage: BELKINConfigApparentPower -> 00860043
   0.080502 string_to_path: depth = 3
   0.080545 hid_lookup_usage: UPS -> 00840004
   0.080587 hid_lookup_usage: PowerSummary -> 00840024
   0.080630 hid_lookup_usage: iSerialNumber -> 008400ff
   0.080669 string_to_path: depth = 3
   0.080710 hid_lookup_usage: UPS -> 00840004
   0.080752 hid_lookup_usage: BELKINControls -> 00860027
   0.080791 hid_lookup_usage: BELKINTest -> 00860058
   0.080831 string_to_path: depth = 3
   0.080868 hid_lookup_usage: UPS -> 00840004
   0.080903 hid_lookup_usage: BELKINDevice -> 00860029
   0.080937 hid_lookup_usage: BELKINUPSType -> 0086007c
   0.080969 string_to_path: depth = 3
   0.081003 hid_lookup_usage: UPS -> 00840004
   0.081041 hid_lookup_usage: PowerSummary -> 00840024
   0.081086 hid_lookup_usage: RemainingCapacity -> 00850066
   0.081124 string_to_path: depth = 3
   0.081162 hid_lookup_usage: UPS -> 00840004
   0.081201 hid_lookup_usage: Input -> 0084001a
   0.081241 hid_lookup_usage: Frequency -> 00840032
   0.081278 string_to_path: depth = 3
   0.081318 hid_lookup_usage: UPS -> 00840004
   0.081357 hid_lookup_usage: Input -> 0084001a
   0.081397 hid_lookup_usage: Voltage -> 00840030
   0.081433 string_to_path: depth = 3
   0.081472 hid_lookup_usage: UPS -> 00840004
   0.081512 hid_lookup_usage: Output -> 0084001c
   0.081551 hid_lookup_usage: Voltage -> 00840030
   0.081589 string_to_path: depth = 3
   0.081628 hid_lookup_usage: UPS -> 00840004
   0.081668 hid_lookup_usage: PowerSummary -> 00840024
   0.081707 hid_lookup_usage: Voltage -> 00840030
   0.081744 string_to_path: depth = 3
   0.081783 hid_lookup_usage: UPS -> 00840004
   0.081822 hid_lookup_usage: PowerSummary -> 00840024
   0.081862 hid_lookup_usage: ConfigVoltage -> 00840040
   0.081900 string_to_path: depth = 3
   0.081939 hid_lookup_usage: UPS -> 00840004
   0.081979 hid_lookup_usage: Output -> 0084001c
   0.082019 hid_lookup_usage: PercentLoad -> 00840035
   0.082056 string_to_path: depth = 3
   0.082095 hid_lookup_usage: UPS -> 00840004
   0.082134 hid_lookup_usage: PowerSummary -> 00840024
   0.082176 hid_lookup_usage: Discharging -> 00850045
   0.082212 string_to_path: depth = 3
   0.082252 hid_lookup_usage: UPS -> 00840004
   0.082291 hid_lookup_usage: PowerSummary -> 00840024
   0.082338 hid_lookup_usage: Charging -> 00850044
   0.082375 string_to_path: depth = 3
   0.082414 hid_lookup_usage: UPS -> 00840004
   0.082454 hid_lookup_usage: PowerSummary -> 00840024
   0.082494 hid_lookup_usage: ShutdownImminent -> 00840069
   0.082531 string_to_path: depth = 3
   0.082570 hid_lookup_usage: UPS -> 00840004
   0.082609 hid_lookup_usage: PowerSummary -> 00840024
   0.082653 hid_lookup_usage: ACPresent -> 008500d0
   0.082690 string_to_path: depth = 3
   0.082731 hid_lookup_usage: UPS -> 00840004
   0.082772 hid_lookup_usage: PowerSummary -> 00840024
   0.082810 hid_lookup_usage: PresentStatus -> 00840002
   0.082851 hid_lookup_usage: Discharging -> 00850045
   0.082889 string_to_path: depth = 4
   0.082929 hid_lookup_usage: UPS -> 00840004
   0.082969 hid_lookup_usage: PowerSummary -> 00840024
   0.083013 hid_lookup_usage: PresentStatus -> 00840002
   0.083059 hid_lookup_usage: Charging -> 00850044
   0.083096 string_to_path: depth = 4
   0.083137 hid_lookup_usage: UPS -> 00840004
   0.083181 hid_lookup_usage: PowerSummary -> 00840024
   0.083222 hid_lookup_usage: PresentStatus -> 00840002
   0.083264 hid_lookup_usage: ShutdownImminent -> 00840069
   0.083304 string_to_path: depth = 4
   0.083343 hid_lookup_usage: UPS -> 00840004
   0.083385 hid_lookup_usage: PowerSummary -> 00840024
   0.083423 hid_lookup_usage: PresentStatus -> 00840002
   0.083467 hid_lookup_usage: ACPresent -> 008500d0
   0.083504 string_to_path: depth = 4
   0.083544 hid_lookup_usage: UPS -> 00840004
   0.083583 hid_lookup_usage: PowerSummary -> 00840024
   0.083622 hid_lookup_usage: PresentStatus -> 00840002
   0.083666 hid_lookup_usage: NeedReplacement -> 0085004b
   0.083705 string_to_path: depth = 4
   0.083744 hid_lookup_usage: UPS -> 00840004
   0.083784 hid_lookup_usage: PowerSummary -> 00840024
   0.083823 hid_lookup_usage: PresentStatus -> 00840002
   0.083868 hid_lookup_usage: BelowRemainingCapacityLimit -> 00850042
   0.083908 string_to_path: depth = 4
   0.083950 hid_lookup_usage: UPS -> 00840004
   0.083993 hid_lookup_usage: BELKINStatus -> 00860028
   0.084035 hid_lookup_usage: BELKINPowerStatus -> 00860021
   0.084072 string_to_path: depth = 3
   0.084113 hid_lookup_usage: UPS -> 00840004
   0.084155 hid_lookup_usage: BELKINStatus -> 00860028
   0.084199 hid_lookup_usage: BELKINPowerStatus -> 00860021
   0.084238 string_to_path: depth = 3
   0.084278 hid_lookup_usage: UPS -> 00840004
   0.084321 hid_lookup_usage: BELKINStatus -> 00860028
   0.084363 hid_lookup_usage: BELKINPowerStatus -> 00860021
   0.084402 string_to_path: depth = 3
   0.084443 hid_lookup_usage: UPS -> 00840004
   0.084484 hid_lookup_usage: BELKINStatus -> 00860028
   0.084527 hid_lookup_usage: BELKINPowerStatus -> 00860021
   0.084566 string_to_path: depth = 3
   0.084606 hid_lookup_usage: UPS -> 00840004
   0.084646 hid_lookup_usage: BELKINStatus -> 00860028
   0.084686 hid_lookup_usage: BELKINPowerStatus -> 00860021
   0.084726 string_to_path: depth = 3
   0.084768 hid_lookup_usage: UPS -> 00840004
   0.084811 hid_lookup_usage: BELKINStatus -> 00860028
   0.084853 hid_lookup_usage: BELKINBatteryStatus -> 00860022
   0.084908 string_to_path: depth = 3
   0.084995 hid_lookup_usage: UPS -> 00840004
   0.085037 hid_lookup_usage: BELKINStatus -> 00860028
   0.085079 hid_lookup_usage: BELKINBatteryStatus -> 00860022
   0.085118 string_to_path: depth = 3
   0.085159 hid_lookup_usage: UPS -> 00840004
   0.085201 hid_lookup_usage: BELKINStatus -> 00860028
   0.085243 hid_lookup_usage: BELKINBatteryStatus -> 00860022
   0.085283 string_to_path: depth = 3
   0.085323 hid_lookup_usage: UPS -> 00840004
   0.085362 hid_lookup_usage: BELKINControls -> 00860027
   0.085402 hid_lookup_usage: BELKINTest -> 00860058
   0.085441 string_to_path: depth = 3
   0.085480 hid_lookup_usage: UPS -> 00840004
   0.085521 hid_lookup_usage: BELKINControls -> 00860027
   0.085559 hid_lookup_usage: BELKINTest -> 00860058
   0.085600 string_to_path: depth = 3
   0.085639 hid_lookup_usage: UPS -> 00840004
   0.085678 hid_lookup_usage: BELKINControls -> 00860027
   0.085717 hid_lookup_usage: BELKINTest -> 00860058
   0.085756 string_to_path: depth = 3
   0.085798 hid_lookup_usage: UPS -> 00840004
   0.085839 hid_lookup_usage: BELKINControls -> 00860027
   0.085878 hid_lookup_usage: BELKINAudibleAlarmControl -> 0086005a
   0.085917 string_to_path: depth = 3
   0.085956 hid_lookup_usage: UPS -> 00840004
   0.085997 hid_lookup_usage: BELKINControls -> 00860027
   0.086040 hid_lookup_usage: BELKINAudibleAlarmControl -> 0086005a
   0.086080 string_to_path: depth = 3
   0.086120 hid_lookup_usage: UPS -> 00840004
   0.086159 hid_lookup_usage: BELKINControls -> 00860027
   0.086200 hid_lookup_usage: BELKINAudibleAlarmControl -> 0086005a
   0.086240 string_to_path: depth = 3
   0.086282 hid_lookup_usage: UPS -> 00840004
   0.086323 hid_lookup_usage: BELKINControls -> 00860027
   0.086366 hid_lookup_usage: BELKINAudibleAlarmControl -> 0086005a
   0.086403 string_to_path: depth = 3
   0.086442 hid_lookup_usage: UPS -> 00840004
   0.086481 hid_lookup_usage: BELKINControls -> 00860027
   0.086520 hid_lookup_usage: BELKINAudibleAlarmControl -> 0086005a
   0.086557 string_to_path: depth = 3
   0.086597 hid_lookup_usage: UPS -> 00840004
   0.086636 hid_lookup_usage: BELKINControls -> 00860027
   0.086675 hid_lookup_usage: BELKINDelayBeforeShutdown -> 00860057
   0.086712 string_to_path: depth = 3
   0.086754 hid_lookup_usage: UPS -> 00840004
   0.086795 hid_lookup_usage: BELKINControls -> 00860027
   0.086836 hid_lookup_usage: BELKINDelayBeforeStartup -> 00860056
   0.086871 string_to_path: depth = 3
   0.086906 hid_lookup_usage: UPS -> 00840004
   0.086940 hid_lookup_usage: BELKINControls -> 00860027
   0.086980 hid_lookup_usage: BELKINDelayBeforeShutdown -> 00860057
   0.087017 string_to_path: depth = 3
   0.087059 hid_lookup_usage: UPS -> 00840004
   0.087101 hid_lookup_usage: BELKINControls -> 00860027
   0.087143 hid_lookup_usage: BELKINDelayBeforeStartup -> 00860056
   0.087182 string_to_path: depth = 3
   0.087224 hid_lookup_usage: UPS -> 00840004
   0.087263 hid_lookup_usage: BELKINControls -> 00860027
   0.087305 hid_lookup_usage: BELKINDelayBeforeShutdown -> 00860057
   0.087344 string_to_path: depth = 3
   0.087385 hid_lookup_usage: UPS -> 00840004
   0.087425 hid_lookup_usage: BELKINControls -> 00860027
   0.087464 hid_lookup_usage: BELKINDelayBeforeReboot -> 00860055
   0.087502 string_to_path: depth = 3
   0.087547 find_nut_info: unknown info type: load.off.delay
   0.087593 find_nut_info: unknown info type: load.on.delay
   0.087633 find_nut_info: unknown info type: load.off.delay
   0.087679 send_to_all: SETINFO device.type "ups"
   0.087722 send_to_all: SETINFO driver.version "2.7.4"
   0.087764 send_to_all: SETINFO driver.version.internal "0.41"
   0.087806 send_to_all: SETINFO driver.name "usbhid-ups"
   0.087844 upsdrv_initinfo...
   0.087887 send_to_all: SETINFO driver.version.data "Belkin/Liebert HID 0.17"
   0.087930 send_to_all: SETINFO driver.parameter.pollfreq "30"
   0.087969 upsdrv_updateinfo...
   0.338594 libusb_get_interrupt: Connection timed out
   0.338678 Got 0 HID objects...
   0.338734 Quick update...
   0.338803 send_to_all: SETINFO ups.status "OB"
   0.338855 send_to_all: DATAOK
   0.339029 dstate_init: sock /var/run/nut/usbhid-ups-ups open on fd 5
   0.339093 send_to_all: SETINFO driver.parameter.pollinterval "2"
   0.339147 send_to_all: SETINFO driver.parameter.synchronous "no"
   0.339197 send_to_all: SETINFO device.mfr "Vertiv Co."
   0.339246 send_to_all: SETINFO device.model "Liebert PSI5"
   0.339305 send_to_all: SETINFO device.serial "0000000000000000"
   0.339356 upsdrv_updateinfo...
   0.590616 libusb_get_interrupt: Connection timed out
   0.590713 Got 0 HID objects...
   0.590785 Quick update...
   0.590936 new connection on fd 6
   0.591043 send_to_one: SETINFO device.mfr "Vertiv Co."
   0.591120 send_to_one: SETINFO device.model "Liebert PSI5"
   0.591185 send_to_one: SETINFO device.serial "0000000000000000"
   0.591258 send_to_one: SETINFO device.type "ups"
   0.591329 send_to_one: SETINFO driver.name "usbhid-ups"
   0.591393 send_to_one: SETINFO driver.parameter.pollfreq "30"
   0.591470 send_to_one: SETINFO driver.parameter.pollinterval "2"
   0.591536 send_to_one: SETINFO driver.parameter.port "auto"
   0.591600 send_to_one: SETINFO driver.parameter.productid "0002"
   0.591669 send_to_one: SETINFO driver.parameter.synchronous "no"
   0.591738 send_to_one: SETINFO driver.version "2.7.4"
   0.591802 send_to_one: SETINFO driver.version.data "Belkin/Liebert HID 0.17"
   0.591871 send_to_one: SETINFO driver.version.internal "0.41"
   0.591939 send_to_one: SETINFO ups.mfr "Vertiv Co."
   0.592002 send_to_one: SETINFO ups.model "Liebert PSI5"
   0.592073 send_to_one: SETINFO ups.productid "0002"
   0.592140 send_to_one: SETINFO ups.serial "0000000000000000"
   0.592208 send_to_one: SETINFO ups.status "OB"
   0.592273 send_to_one: SETINFO ups.vendorid "10af"
   0.592343 send_to_one: DATAOK
   0.592412 send_to_one: DUMPDONE

Broadcast message from nut@raspberrypi (somewhere) (Mon May  3 10:51:12 2021): 

Communications with UPS ups@localhost established                              

   2.341161 upsdrv_updateinfo...
   2.592629 libusb_get_interrupt: Connection timed out
   2.592728 Got 0 HID objects...
   2.592825 Quick update...
   4.342964 upsdrv_updateinfo...
   4.593963 libusb_get_interrupt: Connection timed out
   4.594047 Got 0 HID objects...
   4.594113 Quick update...
   6.344762 upsdrv_updateinfo...
   6.595583 libusb_get_interrupt: Connection timed out
   6.595674 Got 0 HID objects...
   6.595740 Quick update...
   7.645856 send_to_one: PONG
   8.345511 upsdrv_updateinfo...
   8.596558 libusb_get_interrupt: Connection timed out
   8.596765 Got 0 HID objects...
   8.596943 Quick update...
  10.347312 upsdrv_updateinfo...
  10.599192 libusb_get_interrupt: Connection timed out
  10.600111 Got 0 HID objects...
  10.600950 Quick update...
  12.349108 upsdrv_updateinfo...
  12.601291 libusb_get_interrupt: Connection timed out
  12.602225 Got 0 HID objects...
  12.603062 Quick update...
  12.695475 send_to_one: PONG
  14.350811 upsdrv_updateinfo...
  14.601838 libusb_get_interrupt: Connection timed out
  14.602770 Got 0 HID objects...
  14.603612 Quick update...
  16.352611 upsdrv_updateinfo...
  16.604463 libusb_get_interrupt: Connection timed out
  16.605420 Got 0 HID objects...
  16.606260 Quick update...
  18.354412 upsdrv_updateinfo...
  18.605465 libusb_get_interrupt: Connection timed out
  18.606411 Got 0 HID objects...
  18.607258 Quick update...
  18.765045 send_to_one: PONG
  20.354970 upsdrv_updateinfo...
  20.605782 libusb_get_interrupt: Connection timed out
  20.606713 Got 0 HID objects...
  20.607553 Quick update...
  22.356801 upsdrv_updateinfo...
  22.609190 libusb_get_interrupt: Connection timed out
  22.610102 Got 0 HID objects...
  22.610944 Quick update...
  24.358602 upsdrv_updateinfo...
  24.609920 libusb_get_interrupt: Connection timed out
  24.610829 Got 0 HID objects...
  24.611671 Quick update...
  24.826562 send_to_one: PONG
  26.360188 upsdrv_updateinfo...
  26.611208 libusb_get_interrupt: Connection timed out
  26.611307 Got 0 HID objects...
  26.611373 Quick update...

I see a bunch of timeouts on the "get_interrupt", which I suspect is part of the problem. Any ideas?

darconeous commented 3 years ago

A few additional notes:

darconeous commented 3 years ago

As a separate datapoint, I tried hooking up a cyberpower CP550HG and it worked fine via USB, so I'm hoping this isn't an RPI-specific issue.