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.91k stars 344 forks source link

No load.on instant command with APC Back-UPS ES 850G2 #1304

Open irudoy opened 2 years ago

irudoy commented 2 years ago

I recently tried to control my APC Back-UPS ES 850G2 UPS with NUT, and it's working very well. But there is no load.on instant command that's crucial for my application. All status information outputs properly, and almost all available instant commands work well, except load.on.

There is no load.on command in upscmd -l output:

$ upscmd -u user -p pass -l apcbu@0.0.0.0

beeper.disable - Disable the UPS beeper
beeper.enable - Enable the UPS beeper
beeper.mute - Temporarily mute the UPS beeper
beeper.off - Obsolete (use beeper.disable or beeper.mute)
beeper.on - Obsolete (use beeper.enable)
load.off - Turn off the load immediately
load.off.delay - Turn off the load with a delay (seconds)
shutdown.reboot - Shut down the load briefly while rebooting the UPS
shutdown.stop - Stop a shutdown in progress
test.battery.start.deep - Start a deep battery test
test.battery.start.quick - Start a quick battery test
test.battery.stop - Stop the battery test
test.panel.start - Start testing the UPS panel
test.panel.stop - Stop a UPS panel test

$ upscmd -u user -p pass apcbu@0.0.0.0 load.on

Unexpected response from upsd: ERR CMD-NOT-SUPPORTED

Just want to know, is it a hardware limitation and it's impossible to do switch-on programmatically over USB, or it's implementation-related, and there is a chance it will work someday with my device? UPS successfully reports all available data and responds correctly to other commands, and it could even switch beeper status while it's in the turned-off state.

I tried building from a source from the master branch, with libusb 1.0, and can't connect to the device. Output:

$ sudo /usr/local/ups/bin/usbhid-ups -a apcbu -DDDDDDDDDD

Network UPS Tools - Generic HID driver 0.45 (2.7.4-4654-gb19fd97d)
USB communication driver (libusb 1.0) 0.42
   0.000000 [D1] debug level is '10'
   0.001721 [D5] send_to_all: SETINFO device.type "ups"
   0.001778 [D2] Initializing an USB-connected UPS with library libusb-1.0.22 (API: 0x1000106) (NUT subdriver name='USB communication driver (libusb 1.0)' ver='0.42')
   0.001820 [D1] upsdrv_initups (non-SHUT)...
   0.020148 [D2] Checking device 1 of 6 (1D6B/0003)
   0.020262 [D1] Failed to open device (1D6B/0003), skipping: Access denied (insufficient permissions)
   0.020301 [D2] Checking device 2 of 6 (051D/0002)
   0.020368 [D1] Failed to open device (051D/0002), skipping: Access denied (insufficient permissions)
   0.020404 [D2] Checking device 3 of 6 (10C4/EA60)
   0.020461 [D1] Failed to open device (10C4/EA60), skipping: Access denied (insufficient permissions)
   0.020497 [D2] Checking device 4 of 6 (14CD/168A)
   0.020553 [D1] Failed to open device (14CD/168A), skipping: Access denied (insufficient permissions)
   0.020588 [D2] Checking device 5 of 6 (2109/3431)
   0.020641 [D1] Failed to open device (2109/3431), skipping: Access denied (insufficient permissions)
   0.020676 [D2] Checking device 6 of 6 (1D6B/0002)
   0.020729 [D1] Failed to open device (1D6B/0002), skipping: Access denied (insufficient permissions)
   0.020767 [D2] libusb1: No appropriate HID device found
   0.020803 No matching HID UPS found

My env:

Linux 4.19 Raspbian GNU/Linux 10 (buster) 10 (buster)
Raspberry Pi 4 Model B Rev 1.2
upsc output ``` $ upsc apcbu@0.0.0.0 Init SSL without certificate database battery.charge: 100 battery.charge.low: 10 battery.charge.warning: 50 battery.date: 2001/09/25 battery.mfr.date: 2021/03/02 battery.runtime: 944 battery.runtime.low: 120 battery.type: PbAc battery.voltage: 13.5 battery.voltage.nominal: 12.0 device.mfr: American Power Conversion device.model: Back-UPS ES 850G2 device.serial: 5B2109T81980 device.type: ups driver.name: usbhid-ups driver.parameter.pollfreq: 30 driver.parameter.pollinterval: 15 driver.parameter.port: auto driver.parameter.productid: 0002 driver.parameter.serial: 5B2109T81980 driver.parameter.synchronous: no driver.parameter.vendorid: 051d driver.version: 2.7.4 driver.version.data: APC HID 0.96 driver.version.internal: 0.41 input.sensitivity: medium input.transfer.high: 266 input.transfer.low: 180 input.voltage: 221.0 input.voltage.nominal: 230 ups.beeper.status: enabled ups.delay.shutdown: 20 ups.firmware: 938.a2 .I ups.firmware.aux: a2 ups.load: 31 ups.mfr: American Power Conversion ups.mfr.date: 2021/03/02 ups.model: Back-UPS ES 850G2 ups.productid: 0002 ups.realpower.nominal: 520 ups.serial: 5B2109T81980 ups.status: OL ups.test.result: No test initiated ups.timer.reboot: 0 ups.timer.shutdown: -1 ups.vendorid: 051d ```
usbhid-ups output ``` full version: https://pastebin.com/uAS1cBZ3 $ sudo /lib/nut/usbhid-ups -a apcbu -DDDDDDDDDD Network UPS Tools - Generic HID driver 0.41 (2.7.4) USB communication driver 0.33 0.000000 debug level is '10' 0.001994 upsdrv_initups... 0.030930 Checking device (1D6B/0003) (002/001) 0.059984 - VendorID: 1d6b 0.060642 - ProductID: 0003 0.061224 - Manufacturer: unknown 0.061871 - Product: unknown 0.062480 - Serial Number: unknown 0.063053 - Bus: 002 0.063668 - Device release number: 0419 0.064160 Trying to match device 0.064567 Device does not match - skipping 0.065143 Checking device (051D/0002) (001/006) 0.070832 - VendorID: 051d 0.071445 - ProductID: 0002 0.072012 - Manufacturer: American Power Conversion 0.072583 - Product: Back-UPS ES 850G2 FW:938.a2 .I USB FW:a2 0.073153 - Serial Number: 5B2109T81980 0.073780 - Bus: 001 0.074355 - Device release number: 0090 0.074887 Trying to match device 0.075880 Device matches 0.076475 failed to claim USB device: could not claim interface 0: Device or resource busy 0.077147 detached kernel driver from USB device... 0.077973 nut_usb_set_altinterface: skipped usb_set_altinterface(udev, 0) 0.083235 HID descriptor, method 1: (9 bytes) => 09 21 00 01 21 01 22 19 04 0.083797 HID descriptor length (method 1) 1049 0.084231 i=0, extra[i]=09, extra[i+1]=21 0.084713 HID descriptor, method 2: (9 bytes) => 09 21 00 01 21 01 22 19 04 0.085174 HID descriptor length (method 2) 1049 0.085633 HID descriptor length 1049 0.092338 Report Descriptor size = 1049 0.092531 Report Descriptor: (1049 bytes) => 05 84 09 04 a1 01 09 24 a1 00 85 01 09 0.092617 fe 79 02 75 08 95 01 15 00 26 ff 00 b1 22 85 02 09 ff 79 03 b1 22 85 03 05 0.092799 85 09 89 79 04 b1 22 85 04 09 8f 79 01 b1 22 85 05 09 8b b1 22 85 06 09 44 0.092883 81 a2 09 44 b1 a2 09 45 81 a2 09 45 b1 a2 06 86 ff 09 60 81 a2 09 60 b1 a2 0.093068 85 07 05 85 09 85 75 10 27 ff ff 00 00 b1 a2 85 08 05 84 09 40 67 21 d1 f0 0.093152 00 55 05 b1 22 85 09 09 30 b1 a2 85 0a 09 fd 75 08 26 ff 00 65 00 55 00 79 0.093387 01 b1 22 85 0b 05 85 09 2c b1 22 85 0c 09 66 25 64 81 a2 09 66 b1 a2 09 68 0.093472 75 10 27 ff ff 00 00 66 01 10 81 a2 09 68 b1 a2 85 0d 09 83 75 08 25 64 65 0.093660 00 b1 22 85 0e 09 67 b1 22 85 0f 09 8c b1 22 85 10 09 8e b1 22 85 11 09 29 0.093743 15 01 b1 a2 85 12 09 8d 15 00 b1 22 85 13 09 d0 25 01 81 a2 09 d0 b1 a2 85 0.093924 14 09 42 81 a2 09 42 b1 a2 05 84 09 69 81 a2 09 69 b1 a2 85 15 09 57 75 10 0.094007 16 ff ff 26 ff 7f 66 01 10 b1 a2 09 02 a1 02 85 16 05 85 65 00 75 01 15 00 0.094190 25 01 09 44 81 a2 09 44 b1 a2 09 45 81 a2 09 45 b1 a2 09 d0 81 a2 09 d0 b1 0.094273 a2 09 d1 81 a2 09 d1 b1 a2 09 42 81 a2 09 42 b1 a2 05 84 09 69 81 a2 09 69 0.094453 b1 a2 05 85 09 43 81 a2 09 43 b1 a2 05 84 09 73 81 a2 09 73 b1 a2 05 85 09 0.094633 4b 81 a2 09 4b b1 a2 05 84 09 65 81 a2 09 65 b1 a2 05 85 09 db 81 a2 09 db 0.094717 b1 a2 95 15 81 01 b1 01 c0 85 17 09 2a 95 01 75 10 27 ff ff 00 00 66 01 10 0.094897 b1 a2 85 18 05 84 09 5a 75 08 15 01 25 02 65 00 b1 a2 c0 09 12 a1 00 85 1c 0.094981 06 86 ff 09 16 75 18 15 00 27 ff ff ff 00 b2 a2 01 85 20 05 85 09 85 75 10 0.095161 27 ff ff 00 00 b1 a2 85 21 05 84 09 58 75 08 25 06 81 a2 09 58 b1 a2 85 22 0.095244 05 85 09 66 25 64 b1 a2 85 23 09 68 75 10 27 ff ff 00 00 66 01 10 b1 a2 85 0.095424 24 09 2a b1 a2 85 25 05 84 09 40 67 21 d1 f0 00 55 05 b1 22 85 26 09 30 b1 0.095507 a2 85 27 06 86 ff 09 24 75 10 16 e9 00 26 fe 00 65 00 55 00 b1 a2 85 28 09 0.095687 18 75 20 17 01 00 00 80 27 ff ff ff 7f b2 a2 01 c0 05 84 09 1a a1 00 85 30 0.095770 05 84 09 40 75 08 15 00 26 ff 00 67 21 d1 f0 00 55 07 b1 22 85 31 09 30 75 0.095949 10 b1 a2 85 32 09 53 16 a0 00 26 c4 00 b1 a2 85 33 09 54 16 00 01 26 16 01 0.096032 b1 a2 85 34 06 86 ff 09 24 16 73 00 26 8d 00 65 00 55 00 b1 a2 85 35 75 08 0.096214 09 61 15 00 25 02 b1 a2 85 36 09 52 25 0d b1 a2 c0 09 05 a1 00 85 40 09 7c 0.096389 25 01 b1 a2 85 41 09 7d 75 10 16 ff ff 26 ff 7f 66 01 10 b1 a2 85 42 05 84 0.096477 09 57 b1 a2 c0 09 16 a1 00 85 50 09 35 75 08 15 00 25 64 65 00 b1 a2 85 51 0.096656 06 86 ff 09 24 16 73 00 26 8d 00 b1 a2 85 52 05 84 09 44 75 10 15 00 27 ff 0.096740 ff 00 00 66 21 d1 55 07 b1 a2 c0 06 86 ff 09 01 a1 00 85 60 09 23 65 00 55 0.096920 00 b1 a2 85 61 09 26 75 08 16 10 00 26 8d 00 b1 a2 85 62 09 25 75 20 17 01 0.097003 00 00 80 27 ff ff ff 7f b2 a2 01 c0 85 7f 05 84 09 fe 79 05 75 08 95 01 15 0.097183 00 26 ff 00 b1 22 85 7e 06 86 ff 09 42 79 07 b1 22 85 7d 05 84 09 ff 79 03 0.097268 b1 22 85 7c 09 fd 79 01 b1 22 85 7b 05 85 09 85 75 10 27 ff ff 00 00 b1 a2 0.097450 05 84 09 02 a1 02 85 7a 05 85 09 44 75 01 25 01 b1 a2 09 45 b1 a2 09 d0 b1 0.097533 a2 09 d1 b1 a2 09 42 b1 a2 05 84 09 69 b1 a2 05 85 09 43 b1 a2 05 84 09 73 0.097713 b1 a2 05 85 09 4b b1 a2 05 84 09 65 b1 a2 05 85 09 db b1 a2 95 15 b1 01 c0 0.097796 85 79 06 86 ff 09 72 75 08 95 01 b1 a2 85 78 05 84 09 5a 15 01 25 02 b1 a2 0.097976 85 75 06 86 ff 09 29 75 10 15 00 27 ff ff 00 00 b1 a2 85 74 06 86 ff 09 2a 0.098059 75 20 17 01 00 00 80 27 ff ff ff 7f b1 a2 a1 00 06 00 ff 85 80 09 55 15 00 0.098233 26 ff 00 75 08 95 01 b1 82 c0 c0 0.098591 Using subdriver: APC HID 0.96 0.099004 105 HID objects found 0.099201 Entering libusb_get_report 0.101084 Report[get]: (2 bytes) => 01 02 0.101230 PhyMax = 0, PhyMin = 0, LogMax = 255, LogMin = 0 0.101362 Unit = 00000000, UnitExp = 0 0.101438 Exponent = 0 0.101571 hid_lookup_path: 00840004 -> UPS 0.101643 hid_lookup_path: 00840024 -> PowerSummary 0.101781 hid_lookup_path: 008400fe -> iProduct 0.101917 Path: UPS.PowerSummary.iProduct, Type: Feature, ReportID: 0x01, Offset: 0, Size: 8, Value: 2 0.102052 Entering libusb_get_report 0.103831 Report[get]: (2 bytes) => 02 03 0.103975 PhyMax = 0, PhyMin = 0, LogMax = 255, LogMin = 0 0.104051 Unit = 00000000, UnitExp = 0 0.104183 Exponent = 0 0.104256 hid_lookup_path: 00840004 -> UPS 0.104388 hid_lookup_path: 00840024 -> PowerSummary 0.104526 hid_lookup_path: 008400ff -> iSerialNumber 0.104604 Path: UPS.PowerSummary.iSerialNumber, Type: Feature, ReportID: 0x02, Offset: 0, Size: 8, Value: 3 0.104738 Entering libusb_get_report 0.106581 Report[get]: (2 bytes) => 03 04 0.106662 PhyMax = 0, PhyMin = 0, LogMax = 255, LogMin = 0 0.106799 Unit = 00000000, UnitExp = 0 0.106869 Exponent = 0 0.107001 hid_lookup_path: 00840004 -> UPS 0.107072 hid_lookup_path: 00840024 -> PowerSummary 0.107210 hid_lookup_path: 00850089 -> iDeviceChemistry 0.107350 Path: UPS.PowerSummary.iDeviceChemistry, Type: Feature, ReportID: 0x03, Offset: 0, Size: 8, Value: 4 0.107422 Entering libusb_get_report 0.109331 Report[get]: (2 bytes) => 04 01 0.109410 PhyMax = 0, PhyMin = 0, LogMax = 255, LogMin = 0 0.109544 Unit = 00000000, UnitExp = 0 0.109671 Exponent = 0 0.109747 hid_lookup_path: 00840004 -> UPS 0.109907 hid_lookup_path: 00840024 -> PowerSummary 0.110041 hid_lookup_path: 0085008f -> iOEMInformation 0.110179 Path: UPS.PowerSummary.iOEMInformation, Type: Feature, ReportID: 0x04, Offset: 0, Size: 8, Value: 1 0.110250 Entering libusb_get_report 0.112081 Report[get]: (2 bytes) => 05 01 0.112160 PhyMax = 0, PhyMin = 0, LogMax = 255, LogMin = 0 0.112293 Unit = 00000000, UnitExp = 0 0.112361 Exponent = 0 0.112496 hid_lookup_path: 00840004 -> UPS 0.112629 hid_lookup_path: 00840024 -> PowerSummary 0.112703 hid_lookup_path: 0085008b -> Rechargeable 0.112841 Path: UPS.PowerSummary.Rechargeable, Type: Feature, ReportID: 0x05, Offset: 0, Size: 8, Value: 1 0.112977 Entering libusb_get_report 0.114832 Report[get]: (4 bytes) => 06 00 00 08 0.114972 PhyMax = 0, PhyMin = 0, LogMax = 255, LogMin = 0 0.115049 Unit = 00000000, UnitExp = 0 0.115181 Exponent = 0 0.115254 hid_lookup_path: 00840004 -> UPS 0.115387 hid_lookup_path: 00840024 -> PowerSummary 0.115524 hid_lookup_path: 00850044 -> Charging 0.115599 Path: UPS.PowerSummary.Charging, Type: Input, ReportID: 0x06, Offset: 0, Size: 8, Value: 0 0.115737 Report[buf]: (4 bytes) => 06 00 00 08 0.115873 PhyMax = 0, PhyMin = 0, LogMax = 255, LogMin = 0 0.115945 Unit = 00000000, UnitExp = 0 0.116120 Exponent = 0 0.116237 hid_lookup_path: 00840004 -> UPS 0.116312 hid_lookup_path: 00840024 -> PowerSummary 0.116429 hid_lookup_path: 00850044 -> Charging 0.116547 Path: UPS.PowerSummary.Charging, Type: Feature, ReportID: 0x06, Offset: 0, Size: 8, Value: 0 0.116665 Report[buf]: (4 bytes) => 06 00 00 08 0.116782 PhyMax = 0, PhyMin = 0, LogMax = 255, LogMin = 0 0.116897 Unit = 00000000, UnitExp = 0 0.117010 Exponent = 0 0.117126 hid_lookup_path: 00840004 -> UPS 0.117240 hid_lookup_path: 00840024 -> PowerSummary 0.117356 hid_lookup_path: 00850045 -> Discharging 0.117474 Path: UPS.PowerSummary.Discharging, Type: Input, ReportID: 0x06, Offset: 8, Size: 8, Value: 0 0.117592 Report[buf]: (4 bytes) => 06 00 00 08 0.117710 PhyMax = 0, PhyMin = 0, LogMax = 255, LogMin = 0 0.117824 Unit = 00000000, UnitExp = 0 0.117935 Exponent = 0 0.118050 hid_lookup_path: 00840004 -> UPS 0.118171 hid_lookup_path: 00840024 -> PowerSummary 0.118291 hid_lookup_path: 00850045 -> Discharging 0.118413 Path: UPS.PowerSummary.Discharging, Type: Feature, ReportID: 0x06, Offset: 8, Size: 8, Value: 0 0.118534 Report[buf]: (4 bytes) => 06 00 00 08 0.118648 PhyMax = 0, PhyMin = 0, LogMax = 255, LogMin = 0 0.118767 Unit = 00000000, UnitExp = 0 0.118966 Exponent = 0 0.119083 hid_lookup_path: 00840004 -> UPS 0.119197 hid_lookup_path: 00840024 -> PowerSummary 0.119316 hid_lookup_path: ff860060 -> APCStatusFlag 0.119435 Path: UPS.PowerSummary.APCStatusFlag, Type: Input, ReportID: 0x06, Offset: 16, Size: 8, Value: 8 0.119564 Report[buf]: (4 bytes) => 06 00 00 08 0.119674 PhyMax = 0, PhyMin = 0, LogMax = 255, LogMin = 0 0.119860 Unit = 00000000, UnitExp = 0 0.119934 Exponent = 0 0.120005 hid_lookup_path: 00840004 -> UPS 0.120074 hid_lookup_path: 00840024 -> PowerSummary 0.120194 hid_lookup_path: ff860060 -> APCStatusFlag 0.120320 Path: UPS.PowerSummary.APCStatusFlag, Type: Feature, ReportID: 0x06, Offset: 16, Size: 8, Value: 8 0.120434 Entering libusb_get_report 0.121586 Report[get]: (3 bytes) => 07 62 52 0.121710 PhyMax = 0, PhyMin = 0, LogMax = 65535, LogMin = 0 0.121847 Unit = 00000000, UnitExp = 0 0.121916 Exponent = 0 0.122036 hid_lookup_path: 00840004 -> UPS 0.122149 hid_lookup_path: 00840024 -> PowerSummary 0.122290 hid_lookup_path: 00850085 -> ManufacturerDate 0.122368 Path: UPS.PowerSummary.ManufacturerDate, Type: Feature, ReportID: 0x07, Offset: 0, Size: 16, Value: 21090 0.122488 Entering libusb_get_report 0.124335 Report[get]: (3 bytes) => 08 b0 04 0.124464 PhyMax = 0, PhyMin = 0, LogMax = 65535, LogMin = 0 0.124595 Unit = 00f0d121, UnitExp = 5 0.124665 Exponent = -2 0.124783 hid_lookup_path: 00840004 -> UPS 0.124898 hid_lookup_path: 00840024 -> PowerSummary 0.125019 hid_lookup_path: 00840040 -> ConfigVoltage 0.125140 Path: UPS.PowerSummary.ConfigVoltage, Type: Feature, ReportID: 0x08, Offset: 0, Size: 16, Value: 12 0.125254 Entering libusb_get_report 0.127083 Report[get]: (3 bytes) => 09 3f 05 0.127210 PhyMax = 0, PhyMin = 0, LogMax = 65535, LogMin = 0 0.127328 Unit = 00f0d121, UnitExp = 5 0.127440 Exponent = -2 0.127576 hid_lookup_path: 00840004 -> UPS 0.127654 hid_lookup_path: 00840024 -> PowerSummary 0.127774 hid_lookup_path: 00840030 -> Voltage 0.127894 Path: UPS.PowerSummary.Voltage, Type: Feature, ReportID: 0x09, Offset: 0, Size: 16, Value: 13.43 0.128013 Entering libusb_get_report 0.129879 Report[get]: (2 bytes) => 0a 01 0.129964 PhyMax = 0, PhyMin = 0, LogMax = 255, LogMin = 0 0.130088 Unit = 00000000, UnitExp = 0 0.130202 Exponent = 0 0.130326 hid_lookup_path: 00840004 -> UPS 0.130441 hid_lookup_path: 00840024 -> PowerSummary 0.130559 hid_lookup_path: 008400fd -> iManufacturer 0.130685 Path: UPS.PowerSummary.iManufacturer, Type: Feature, ReportID: 0x0a, Offset: 0, Size: 8, Value: 1 0.130804 Entering libusb_get_report 0.132586 Report[get]: (2 bytes) => 0b 02 0.132749 PhyMax = 0, PhyMin = 0, LogMax = 255, LogMin = 0 0.132865 Unit = 00000000, UnitExp = 0 0.133001 Exponent = 0 0.133077 hid_lookup_path: 00840004 -> UPS 0.133194 hid_lookup_path: 00840024 -> PowerSummary 0.133312 hid_lookup_path: 0085002c -> CapacityMode 0.133437 Path: UPS.PowerSummary.CapacityMode, Type: Feature, ReportID: 0x0b, Offset: 0, Size: 8, Value: 2 0.133590 Entering libusb_get_report 0.135340 Report[get]: (4 bytes) => 0c 64 64 03 0.135465 PhyMax = 0, PhyMin = 0, LogMax = 100, LogMin = 0 0.135581 Unit = 00000000, UnitExp = 0 0.135700 Exponent = 0 0.135815 hid_lookup_path: 00840004 -> UPS 0.135928 hid_lookup_path: 00840024 -> PowerSummary 0.136054 hid_lookup_path: 00850066 -> RemainingCapacity 0.136175 Path: UPS.PowerSummary.RemainingCapacity, Type: Input, ReportID: 0x0c, Offset: 0, Size: 8, Value: 100 0.136303 Report[buf]: (4 bytes) => 0c 64 64 03 0.136414 PhyMax = 0, PhyMin = 0, LogMax = 100, LogMin = 0 0.136528 Unit = 00000000, UnitExp = 0 0.136664 Exponent = 0 0.136740 hid_lookup_path: 00840004 -> UPS 0.136856 hid_lookup_path: 00840024 -> PowerSummary 0.136976 hid_lookup_path: 00850066 -> RemainingCapacity 0.137057 Path: UPS.PowerSummary.RemainingCapacity, Type: Feature, ReportID: 0x0c, Offset: 0, Size: 8, Value: 100 0.137179 Report[buf]: (4 bytes) => 0c 64 64 03 0.137303 PhyMax = 0, PhyMin = 0, LogMax = 65535, LogMin = 0 0.137418 Unit = 00001001, UnitExp = 0 0.137533 Exponent = 0 0.137672 hid_lookup_path: 00840004 -> UPS 0.137743 hid_lookup_path: 00840024 -> PowerSummary 0.137863 hid_lookup_path: 00850068 -> RunTimeToEmpty 0.137983 Path: UPS.PowerSummary.RunTimeToEmpty, Type: Input, ReportID: 0x0c, Offset: 8, Size: 16, Value: 868 0.138110 Report[buf]: (4 bytes) => 0c 64 64 03 0.138230 PhyMax = 0, PhyMin = 0, LogMax = 65535, LogMin = 0 0.138350 Unit = 00001001, UnitExp = 0 0.138465 Exponent = 0 0.138582 hid_lookup_path: 00840004 -> UPS 0.138656 hid_lookup_path: 00840024 -> PowerSummary 0.138772 hid_lookup_path: 00850068 -> RunTimeToEmpty 0.138891 Path: UPS.PowerSummary.RunTimeToEmpty, Type: Feature, ReportID: 0x0c, Offset: 8, Size: 16, Value: 868 0.139012 Entering libusb_get_report 0.140090 Report[get]: (2 bytes) => 0d 64 0.140222 PhyMax = 0, PhyMin = 0, LogMax = 100, LogMin = 0 0.140337 Unit = 00000000, UnitExp = 0 0.140480 Exponent = 0 0.140557 hid_lookup_path: 00840004 -> UPS 0.140627 hid_lookup_path: 00840024 -> PowerSummary 0.140748 hid_lookup_path: 00850083 -> DesignCapacity 0.140868 Path: UPS.PowerSummary.DesignCapacity, Type: Feature, ReportID: 0x0d, Offset: 0, Size: 8, Value: 100 0.140990 Entering libusb_get_report 0.142837 Report[get]: (2 bytes) => 0e 64 0.142962 PhyMax = 0, PhyMin = 0, LogMax = 100, LogMin = 0 0.143077 Unit = 00000000, UnitExp = 0 0.143197 Exponent = 0 0.143270 hid_lookup_path: 00840004 -> UPS 0.143385 hid_lookup_path: 00840024 -> PowerSummary 0.143500 hid_lookup_path: 00850067 -> FullChargeCapacity 0.143663 Path: UPS.PowerSummary.FullChargeCapacity, Type: Feature, ReportID: 0x0e, Offset: 0, Size: 8, Value: 100 0.143782 Entering libusb_get_report 0.145589 Report[get]: (2 bytes) => 0f 32 0.145712 PhyMax = 0, PhyMin = 0, LogMax = 100, LogMin = 0 0.145827 Unit = 00000000, UnitExp = 0 0.145967 Exponent = 0 0.146039 hid_lookup_path: 00840004 -> UPS 0.146156 hid_lookup_path: 00840024 -> PowerSummary 0.146273 hid_lookup_path: 0085008c -> WarningCapacityLimit 0.146400 Path: UPS.PowerSummary.WarningCapacityLimit, Type: Feature, ReportID: 0x0f, Offset: 0, Size: 8, Value: 50 0.146529 Entering libusb_get_report 0.148338 Report[get]: (2 bytes) => 10 01 0.148499 PhyMax = 0, PhyMin = 0, LogMax = 100, LogMin = 0 0.148623 Unit = 00000000, UnitExp = 0 0.148695 Exponent = 0 0.148810 hid_lookup_path: 00840004 -> UPS 0.148923 hid_lookup_path: 00840024 -> PowerSummary 0.149048 hid_lookup_path: 0085008e -> CapacityGranularity2 0.149166 Path: UPS.PowerSummary.CapacityGranularity2, Type: Feature, ReportID: 0x10, Offset: 0, Size: 8, Value: 1 0.149279 Entering libusb_get_report 0.151091 Report[get]: (2 bytes) => 11 0a 0.151171 PhyMax = 0, PhyMin = 0, LogMax = 100, LogMin = 1 0.151313 Unit = 00000000, UnitExp = 0 0.151382 Exponent = 0 0.151501 hid_lookup_path: 00840004 -> UPS 0.151614 hid_lookup_path: 00840024 -> PowerSummary 0.151740 hid_lookup_path: 00850029 -> RemainingCapacityLimit 0.151863 Path: UPS.PowerSummary.RemainingCapacityLimit, Type: Feature, ReportID: 0x11, Offset: 0, Size: 8, Value: 10 0.151989 Entering libusb_get_report 0.153840 Report[get]: (2 bytes) => 12 01 0.153996 PhyMax = 0, PhyMin = 0, LogMax = 100, LogMin = 0 0.154111 Unit = 00000000, UnitExp = 0 0.154183 Exponent = 0 0.154298 hid_lookup_path: 00840004 -> UPS 0.154420 hid_lookup_path: 00840024 -> PowerSummary 0.154537 hid_lookup_path: 0085008d -> CapacityGranularity1 0.154655 Path: UPS.PowerSummary.CapacityGranularity1, Type: Feature, ReportID: 0x12, Offset: 0, Size: 8, Value: 1 0.154778 Entering libusb_get_report 0.156590 Report[get]: (2 bytes) => 13 01 0.156669 PhyMax = 0, PhyMin = 0, LogMax = 1, LogMin = 0 0.156785 Unit = 00000000, UnitExp = 0 0.156898 Exponent = 0 0.157024 hid_lookup_path: 00840004 -> UPS 0.157137 hid_lookup_path: 00840024 -> PowerSummary 0.157254 hid_lookup_path: 008500d0 -> ACPresent 0.157379 Path: UPS.PowerSummary.ACPresent, Type: Input, ReportID: 0x13, Offset: 0, Size: 8, Value: 1 0.157501 Report[buf]: (2 bytes) => 13 01 0.157643 PhyMax = 0, PhyMin = 0, LogMax = 1, LogMin = 0 0.157714 Unit = 00000000, UnitExp = 0 0.157829 Exponent = 0 0.157940 hid_lookup_path: 00840004 -> UPS 0.158064 hid_lookup_path: 00840024 -> PowerSummary 0.158141 hid_lookup_path: 008500d0 -> ACPresent 0.158252 Path: UPS.PowerSummary.ACPresent, Type: Feature, ReportID: 0x13, Offset: 0, Size: 8, Value: 1 0.158392 Entering libusb_get_report 0.159340 Report[get]: (3 bytes) => 14 00 00 0.159454 PhyMax = 0, PhyMin = 0, LogMax = 1, LogMin = 0 0.159588 Unit = 00000000, UnitExp = 0 0.159694 Exponent = 0 0.159828 hid_lookup_path: 00840004 -> UPS 0.159899 hid_lookup_path: 00840024 -> PowerSummary 0.160010 hid_lookup_path: 00850042 -> BelowRemainingCapacityLimit 0.160150 Path: UPS.PowerSummary.BelowRemainingCapacityLimit, Type: Input, ReportID: 0x14, Offset: 0, Size: 8, Value: 0 0.160265 Report[buf]: (3 bytes) => 14 00 00 0.160370 PhyMax = 0, PhyMin = 0, LogMax = 1, LogMin = 0 0.160475 Unit = 00000000, UnitExp = 0 0.160606 Exponent = 0 0.160714 hid_lookup_path: 00840004 -> UPS 0.160818 hid_lookup_path: 00840024 -> PowerSummary 0.160925 hid_lookup_path: 00850042 -> BelowRemainingCapacityLimit 0.161063 Path: UPS.PowerSummary.BelowRemainingCapacityLimit, Type: Feature, ReportID: 0x14, Offset: 0, Size: 8, Value: 0 0.161178 Report[buf]: (3 bytes) => 14 00 00 0.161283 PhyMax = 0, PhyMin = 0, LogMax = 1, LogMin = 0 0.161388 Unit = 00000000, UnitExp = 0 0.161523 Exponent = 0 0.161628 hid_lookup_path: 00840004 -> UPS 0.161732 hid_lookup_path: 00840024 -> PowerSummary 0.161838 hid_lookup_path: 00840069 -> ShutdownImminent 0.161975 Path: UPS.PowerSummary.ShutdownImminent, Type: Input, ReportID: 0x14, Offset: 8, Size: 8, Value: 0 0.162092 Report[buf]: (3 bytes) => 14 00 00 0.162196 PhyMax = 0, PhyMin = 0, LogMax = 1, LogMin = 0 0.162303 Unit = 00000000, UnitExp = 0 0.162405 Exponent = 0 0.162544 hid_lookup_path: 00840004 -> UPS 0.162651 hid_lookup_path: 00840024 -> PowerSummary 0.162758 hid_lookup_path: 00840069 -> ShutdownImminent 0.162866 Path: UPS.PowerSummary.ShutdownImminent, Type: Feature, ReportID: 0x14, Offset: 8, Size: 8, Value: 0 0.163005 Entering libusb_get_report 0.164090 Report[get]: (3 bytes) => 15 ff ff 0.164205 PhyMax = 0, PhyMin = 0, LogMax = 32767, LogMin = -1 0.164314 Unit = 00001001, UnitExp = 0 0.164449 Exponent = 0 0.164561 hid_lookup_path: 00840004 -> UPS 0.164665 hid_lookup_path: 00840024 -> PowerSummary 0.164771 hid_lookup_path: 00840057 -> DelayBeforeShutdown 0.164879 Path: UPS.PowerSummary.DelayBeforeShutdown, Type: Feature, ReportID: 0x15, Offset: 0, Size: 16, Value: -1 0.165020 Entering libusb_get_report 0.166842 Report[get]: (5 bytes) => 16 0c 00 00 00 0.166958 PhyMax = 0, PhyMin = 0, LogMax = 1, LogMin = 0 0.167063 Unit = 00000000, UnitExp = 0 0.167195 Exponent = 0 0.167308 hid_lookup_path: 00840004 -> UPS 0.167413 hid_lookup_path: 00840024 -> PowerSummary 0.167522 hid_lookup_path: 00840002 -> PresentStatus 0.167628 hid_lookup_path: 00850044 -> Charging 0.167769 Path: UPS.PowerSummary.PresentStatus.Charging, Type: Input, ReportID: 0x16, Offset: 0, Size: 1, Value: 0 0.167878 Report[buf]: (5 bytes) => 16 0c 00 00 00 0.167990 PhyMax = 0, PhyMin = 0, LogMax = 1, LogMin = 0 0.168124 Unit = 00000000, UnitExp = 0 0.168230 Exponent = 0 0.168336 hid_lookup_path: 00840004 -> UPS 0.168443 hid_lookup_path: 00840024 -> PowerSummary 0.168553 hid_lookup_path: 00840002 -> PresentStatus 0.168687 hid_lookup_path: 00850044 -> Charging 0.168798 Path: UPS.PowerSummary.PresentStatus.Charging, Type: Feature, ReportID: 0x16, Offset: 0, Size: 1, Value: 0 0.169014 Report[buf]: (5 bytes) => 16 0c 00 00 00 0.169124 PhyMax = 0, PhyMin = 0, LogMax = 1, LogMin = 0 0.169233 Unit = 00000000, UnitExp = 0 0.169336 Exponent = 0 0.169442 hid_lookup_path: 00840004 -> UPS 0.169552 hid_lookup_path: 00840024 -> PowerSummary 0.169689 hid_lookup_path: 00840002 -> PresentStatus 0.169826 hid_lookup_path: 00850045 -> Discharging 0.169901 Path: UPS.PowerSummary.PresentStatus.Discharging, Type: Input, ReportID: 0x16, Offset: 1, Size: 1, Value: 0 0.170013 Report[buf]: (5 bytes) => 16 0c 00 00 00 0.170157 PhyMax = 0, PhyMin = 0, LogMax = 1, LogMin = 0 0.170263 Unit = 00000000, UnitExp = 0 0.170365 Exponent = 0 0.170470 hid_lookup_path: 00840004 -> UPS 0.170578 hid_lookup_path: 00840024 -> PowerSummary 0.170716 hid_lookup_path: 00840002 -> PresentStatus 0.170825 hid_lookup_path: 00850045 -> Discharging 0.170933 Path: UPS.PowerSummary.PresentStatus.Discharging, Type: Feature, ReportID: 0x16, Offset: 1, Size: 1, Value: 0 0.171042 Report[buf]: (5 bytes) => 16 0c 00 00 00 0.171183 PhyMax = 0, PhyMin = 0, LogMax = 1, LogMin = 0 0.171290 Unit = 00000000, UnitExp = 0 0.171392 Exponent = 0 0.171497 hid_lookup_path: 00840004 -> UPS 0.171605 hid_lookup_path: 00840024 -> PowerSummary 0.171714 hid_lookup_path: 00840002 -> PresentStatus 0.171852 hid_lookup_path: 008500d0 -> ACPresent 0.171959 Path: UPS.PowerSummary.PresentStatus.ACPresent, Type: Input, ReportID: 0x16, Offset: 2, Size: 1, Value: 1 0.172067 Report[buf]: (5 bytes) => 16 0c 00 00 00 0.172179 PhyMax = 0, PhyMin = 0, LogMax = 1, LogMin = 0 0.172315 Unit = 00000000, UnitExp = 0 0.172418 Exponent = 0 0.172523 hid_lookup_path: 00840004 -> UPS 0.172632 hid_lookup_path: 00840024 -> PowerSummary 0.172739 hid_lookup_path: 00840002 -> PresentStatus 0.172878 hid_lookup_path: 008500d0 -> ACPresent 0.172986 Path: UPS.PowerSummary.PresentStatus.ACPresent, Type: Feature, ReportID: 0x16, Offset: 2, Size: 1, Value: 1 0.173094 Report[buf]: (5 bytes) => 16 0c 00 00 00 0.173207 PhyMax = 0, PhyMin = 0, LogMax = 1, LogMin = 0 0.173340 Unit = 00000000, UnitExp = 0 0.173445 Exponent = 0 0.173551 hid_lookup_path: 00840004 -> UPS 0.173660 hid_lookup_path: 00840024 -> PowerSummary 0.173768 hid_lookup_path: 00840002 -> PresentStatus 0.173950 hid_lookup_path: 008500d1 -> BatteryPresent 0.174060 Path: UPS.PowerSummary.PresentStatus.BatteryPresent, Type: Input, ReportID: 0x16, Offset: 3, Size: 1, Value: 1 0.174171 Report[buf]: (5 bytes) => 16 0c 00 00 00 0.174313 PhyMax = 0, PhyMin = 0, LogMax = 1, LogMin = 0 0.174421 Unit = 00000000, UnitExp = 0 0.174523 Exponent = 0 0.174628 hid_lookup_path: 00840004 -> UPS 0.174738 hid_lookup_path: 00840024 -> PowerSummary 0.174847 hid_lookup_path: 00840002 -> PresentStatus 0.174986 hid_lookup_path: 008500d1 -> BatteryPresent 0.175093 Path: UPS.PowerSummary.PresentStatus.BatteryPresent, Type: Feature, ReportID: 0x16, Offset: 3, Size: 1, Value: 1 0.175202 Report[buf]: (5 bytes) => 16 0c 00 00 00 0.175314 PhyMax = 0, PhyMin = 0, LogMax = 1, LogMin = 0 0.175451 Unit = 00000000, UnitExp = 0 0.175554 Exponent = 0 0.175664 hid_lookup_path: 00840004 -> UPS 0.175768 hid_lookup_path: 00840024 -> PowerSummary 0.175876 hid_lookup_path: 00840002 -> PresentStatus 0.176011 hid_lookup_path: 00850042 -> BelowRemainingCapacityLimit 0.176124 Path: UPS.PowerSummary.PresentStatus.BelowRemainingCapacityLimit, Type: Input, ReportID: 0x16, Offset: 4, Size: 1, Value: 0 0.176239 Report[buf]: (5 bytes) => 16 0c 00 00 00 0.176346 PhyMax = 0, PhyMin = 0, LogMax = 1, LogMin = 0 0.176452 Unit = 00000000, UnitExp = 0 0.176591 Exponent = 0 0.176693 hid_lookup_path: 00840004 -> UPS 0.176800 hid_lookup_path: 00840024 -> PowerSummary 0.176909 hid_lookup_path: 00840002 -> PresentStatus 0.177015 hid_lookup_path: 00850042 -> BelowRemainingCapacityLimit 0.177157 Path: UPS.PowerSummary.PresentStatus.BelowRemainingCapacityLimit, Type: Feature, ReportID: 0x16, Offset: 4, Size: 1, Value: 0 0.177271 Report[buf]: (5 bytes) => 16 0c 00 00 00 0.177375 PhyMax = 0, PhyMin = 0, LogMax = 1, LogMin = 0 0.177481 Unit = 00000000, UnitExp = 0 0.177588 Exponent = 0 0.177693 hid_lookup_path: 00840004 -> UPS 0.177826 hid_lookup_path: 00840024 -> PowerSummary 0.177937 hid_lookup_path: 00840002 -> PresentStatus 0.178043 hid_lookup_path: 00840069 -> ShutdownImminent 0.178156 Path: UPS.PowerSummary.PresentStatus.ShutdownImminent, Type: Input, ReportID: 0x16, Offset: 5, Size: 1, Value: 0 0.178296 Report[buf]: (5 bytes) => 16 0c 00 00 00 0.178403 PhyMax = 0, PhyMin = 0, LogMax = 1, LogMin = 0 0.178508 Unit = 00000000, UnitExp = 0 0.178616 Exponent = 0 0.178722 hid_lookup_path: 00840004 -> UPS 0.178889 hid_lookup_path: 00840024 -> PowerSummary 0.179029 hid_lookup_path: 00840002 -> PresentStatus 0.179137 hid_lookup_path: 00840069 -> ShutdownImminent 0.179252 Path: UPS.PowerSummary.PresentStatus.ShutdownImminent, Type: Feature, ReportID: 0x16, Offset: 5, Size: 1, Value: 0 0.179362 Report[buf]: (5 bytes) => 16 0c 00 00 00 0.179497 PhyMax = 0, PhyMin = 0, LogMax = 1, LogMin = 0 0.179612 Unit = 00000000, UnitExp = 0 0.179715 Exponent = 0 0.179840 hid_lookup_path: 00840004 -> UPS 0.179942 hid_lookup_path: 00840024 -> PowerSummary 0.180053 hid_lookup_path: 00840002 -> PresentStatus 0.180159 hid_lookup_path: 00850043 -> RemainingTimeLimitExpired 0.180273 Path: UPS.PowerSummary.PresentStatus.RemainingTimeLimitExpired, Type: Input, ReportID: 0x16, Offset: 6, Size: 1, Value: 0 0.180385 Report[buf]: (5 bytes) => 16 0c 00 00 00 0.180531 PhyMax = 0, PhyMin = 0, LogMax = 1, LogMin = 0 0.180621 Unit = 00000000, UnitExp = 0 0.180689 Exponent = 0 0.180769 hid_lookup_path: 00840004 -> UPS 0.180838 hid_lookup_path: 00840024 -> PowerSummary 0.180909 hid_lookup_path: 00840002 -> PresentStatus 0.180985 hid_lookup_path: 00850043 -> RemainingTimeLimitExpired 0.181077 Path: UPS.PowerSummary.PresentStatus.RemainingTimeLimitExpired, Type: Feature, ReportID: 0x16, Offset: 6, Size: 1, Value: 0 0.181155 Report[buf]: (5 bytes) => 16 0c 00 00 00 0.181229 PhyMax = 0, PhyMin = 0, LogMax = 1, LogMin = 0 0.181299 Unit = 00000000, UnitExp = 0 0.181366 Exponent = 0 0.181455 hid_lookup_path: 00840004 -> UPS 0.181526 hid_lookup_path: 00840024 -> PowerSummary 0.181597 hid_lookup_path: 00840002 -> PresentStatus 0.181672 hid_lookup_path: 00840073 -> CommunicationLost 0.181743 Path: UPS.PowerSummary.PresentStatus.CommunicationLost, Type: Input, ReportID: 0x16, Offset: 7, Size: 1, Value: 0 0.181841 Report[buf]: (5 bytes) => 16 0c 00 00 00 0.181913 PhyMax = 0, PhyMin = 0, LogMax = 1, LogMin = 0 0.181983 Unit = 00000000, UnitExp = 0 0.182051 Exponent = 0 0.182122 hid_lookup_path: 00840004 -> UPS 0.182192 hid_lookup_path: 00840024 -> PowerSummary 0.182304 hid_lookup_path: 00840002 -> PresentStatus 0.182387 hid_lookup_path: 00840073 -> CommunicationLost 0.182482 Path: UPS.PowerSummary.PresentStatus.CommunicationLost, Type: Feature, ReportID: 0x16, Offset: 7, Size: 1, Value: 0 0.182576 Report[buf]: (5 bytes) => 16 0c 00 00 00 0.182658 PhyMax = 0, PhyMin = 0, LogMax = 1, LogMin = 0 0.182726 Unit = 00000000, UnitExp = 0 0.182796 Exponent = 0 0.182867 hid_lookup_path: 00840004 -> UPS 0.182937 hid_lookup_path: 00840024 -> PowerSummary 0.183014 hid_lookup_path: 00840002 -> PresentStatus 0.183086 hid_lookup_path: 0085004b -> NeedReplacement 0.183178 Path: UPS.PowerSummary.PresentStatus.NeedReplacement, Type: Input, ReportID: 0x16, Offset: 8, Size: 1, Value: 0 0.183253 Report[buf]: (5 bytes) => 16 0c 00 00 00 0.183330 PhyMax = 0, PhyMin = 0, LogMax = 1, LogMin = 0 0.183400 Unit = 00000000, UnitExp = 0 0.183487 Exponent = 0 0.183559 hid_lookup_path: 00840004 -> UPS 0.183652 hid_lookup_path: 00840024 -> PowerSummary 0.183700 hid_lookup_path: 00840002 -> PresentStatus 0.183772 hid_lookup_path: 0085004b -> NeedReplacement 0.183844 Path: UPS.PowerSummary.PresentStatus.NeedReplacement, Type: Feature, ReportID: 0x16, Offset: 8, Size: 1, Value: 0 0.183951 Report[buf]: (5 bytes) => 16 0c 00 00 00 0.184034 PhyMax = 0, PhyMin = 0, LogMax = 1, LogMin = 0 0.184124 Unit = 00000000, UnitExp = 0 0.184194 Exponent = 0 0.184266 hid_lookup_path: 00840004 -> UPS 0.184336 hid_lookup_path: 00840024 -> PowerSummary 0.184412 hid_lookup_path: 00840002 -> PresentStatus 0.184483 hid_lookup_path: 00840065 -> Overload 0.184575 Path: UPS.PowerSummary.PresentStatus.Overload, Type: Input, ReportID: 0x16, Offset: 9, Size: 1, Value: 0 0.184650 Report[buf]: (5 bytes) => 16 0c 00 00 00 0.184727 PhyMax = 0, PhyMin = 0, LogMax = 1, LogMin = 0 0.184797 Unit = 00000000, UnitExp = 0 0.184865 Exponent = 0 0.184954 hid_lookup_path: 00840004 -> UPS 0.185031 hid_lookup_path: 00840024 -> PowerSummary 0.185102 hid_lookup_path: 00840002 -> PresentStatus 0.185172 hid_lookup_path: 00840065 -> Overload 0.185244 Path: UPS.PowerSummary.PresentStatus.Overload, Type: Feature, ReportID: 0x16, Offset: 9, Size: 1, Value: 0 0.185364 Report[buf]: (5 bytes) => 16 0c 00 00 00 0.185437 PhyMax = 0, PhyMin = 0, LogMax = 1, LogMin = 0 0.185527 Unit = 00000000, UnitExp = 0 0.185597 Exponent = 0 0.185668 hid_lookup_path: 00840004 -> UPS 0.185737 hid_lookup_path: 00840024 -> PowerSummary 0.185828 hid_lookup_path: 00840002 -> PresentStatus 0.185901 hid_lookup_path: 008500db -> VoltageNotRegulated 0.185973 Path: UPS.PowerSummary.PresentStatus.VoltageNotRegulated, Type: Input, ReportID: 0x16, Offset: 10, Size: 1, Value: 0 0.186046 Report[buf]: (5 bytes) => 16 0c 00 00 00 0.186124 PhyMax = 0, PhyMin = 0, LogMax = 1, LogMin = 0 0.186194 Unit = 00000000, UnitExp = 0 0.186282 Exponent = 0 0.186356 hid_lookup_path: 00840004 -> UPS 0.186430 hid_lookup_path: 00840024 -> PowerSummary 0.186501 hid_lookup_path: 00840002 -> PresentStatus 0.186573 hid_lookup_path: 008500db -> VoltageNotRegulated 0.186645 Path: UPS.PowerSummary.PresentStatus.VoltageNotRegulated, Type: Feature, ReportID: 0x16, Offset: 10, Size: 1, Value: 0 0.186743 Entering libusb_get_report 0.187591 Report[get]: (3 bytes) => 17 78 00 0.187689 PhyMax = 0, PhyMin = 0, LogMax = 65535, LogMin = 0 0.187760 Unit = 00001001, UnitExp = 0 0.187830 Exponent = 0 0.187907 hid_lookup_path: 00840004 -> UPS 0.187976 hid_lookup_path: 00840024 -> PowerSummary 0.188067 hid_lookup_path: 0085002a -> RemainingTimeLimit 0.188143 Path: UPS.PowerSummary.RemainingTimeLimit, Type: Feature, ReportID: 0x17, Offset: 0, Size: 16, Value: 120 0.188213 Entering libusb_get_report 0.190336 Report[get]: (2 bytes) => 18 02 0.190413 PhyMax = 0, PhyMin = 0, LogMax = 2, LogMin = 1 0.190503 Unit = 00000000, UnitExp = 0 0.190575 Exponent = 0 0.190666 hid_lookup_path: 00840004 -> UPS 0.190713 hid_lookup_path: 00840024 -> PowerSummary 0.190786 hid_lookup_path: 0084005a -> AudibleAlarmControl 0.190877 Path: UPS.PowerSummary.AudibleAlarmControl, Type: Feature, ReportID: 0x18, Offset: 0, Size: 8, Value: 2 0.190956 Entering libusb_get_report 0.193084 Report[get]: (4 bytes) => 1c 01 25 09 0.193160 PhyMax = 0, PhyMin = 0, LogMax = 16777215, LogMin = 0 0.193249 Unit = 00000000, UnitExp = 0 0.193319 Exponent = 0 0.193395 hid_lookup_path: 00840004 -> UPS 0.193465 hid_lookup_path: 00840012 -> Battery 0.193536 hid_lookup_path: ff860016 -> APCBattReplaceDate 0.193610 Path: UPS.Battery.APCBattReplaceDate, Type: Feature, ReportID: 0x1c, Offset: 0, Size: 24, Value: 599297 0.193710 Entering libusb_get_report 0.195835 Report[get]: (3 bytes) => 20 62 52 0.195913 PhyMax = 0, PhyMin = 0, LogMax = 65535, LogMin = 0 0.195984 Unit = 00000000, UnitExp = 0 0.196073 Exponent = 0 0.196154 hid_lookup_path: 00840004 -> UPS 0.196224 hid_lookup_path: 00840012 -> Battery 0.196297 hid_lookup_path: 00850085 -> ManufacturerDate 0.196372 Path: UPS.Battery.ManufacturerDate, Type: Feature, ReportID: 0x20, Offset: 0, Size: 16, Value: 21090 0.196469 Entering libusb_get_report 0.198584 Report[get]: (2 bytes) => 21 06 0.198682 PhyMax = 0, PhyMin = 0, LogMax = 6, LogMin = 0 0.198752 Unit = 00000000, UnitExp = 0 0.198820 Exponent = 0 0.198911 hid_lookup_path: 00840004 -> UPS 0.199003 hid_lookup_path: 00840012 -> Battery 0.199053 hid_lookup_path: 00840058 -> Test 0.199126 Path: UPS.Battery.Test, Type: Input, ReportID: 0x21, Offset: 0, Size: 8, Value: 6 0.199221 Report[buf]: (2 bytes) => 21 06 0.199291 PhyMax = 0, PhyMin = 0, LogMax = 6, LogMin = 0 0.199368 Unit = 00000000, UnitExp = 0 0.199436 Exponent = 0 0.199507 hid_lookup_path: 00840004 -> UPS 0.199577 hid_lookup_path: 00840012 -> Battery 0.199668 hid_lookup_path: 00840058 -> Test 0.199748 Path: UPS.Battery.Test, Type: Feature, ReportID: 0x21, Offset: 0, Size: 8, Value: 6 0.199861 Entering libusb_get_report 0.201335 Report[get]: (2 bytes) => 22 64 0.201412 PhyMax = 0, PhyMin = 0, LogMax = 100, LogMin = 0 0.201510 Unit = 00000000, UnitExp = 0 0.201576 Exponent = 0 0.201649 hid_lookup_path: 00840004 -> UPS 0.201719 hid_lookup_path: 00840012 -> Battery 0.201791 hid_lookup_path: 00850066 -> RemainingCapacity 0.201863 Path: UPS.Battery.RemainingCapacity, Type: Feature, ReportID: 0x22, Offset: 0, Size: 8, Value: 100 0.201963 Entering libusb_get_report 0.204106 Report[get]: (3 bytes) => 23 64 03 0.204186 PhyMax = 0, PhyMin = 0, LogMax = 65535, LogMin = 0 0.204258 Unit = 00001001, UnitExp = 0 0.204334 Exponent = 0 0.204404 hid_lookup_path: 00840004 -> UPS 0.204474 hid_lookup_path: 00840012 -> Battery 0.204546 hid_lookup_path: 00850068 -> RunTimeToEmpty 0.204619 Path: UPS.Battery.RunTimeToEmpty, Type: Feature, ReportID: 0x23, Offset: 0, Size: 16, Value: 868 0.204733 Entering libusb_get_report 0.206836 Report[get]: (3 bytes) => 24 78 00 0.206913 PhyMax = 0, PhyMin = 0, LogMax = 65535, LogMin = 0 0.207003 Unit = 00001001, UnitExp = 0 0.207073 Exponent = 0 0.207151 hid_lookup_path: 00840004 -> UPS 0.207221 hid_lookup_path: 00840012 -> Battery 0.207293 hid_lookup_path: 0085002a -> RemainingTimeLimit 0.207367 Path: UPS.Battery.RemainingTimeLimit, Type: Feature, ReportID: 0x24, Offset: 0, Size: 16, Value: 120 0.207467 Entering libusb_get_report 0.209585 Report[get]: (3 bytes) => 25 b0 04 0.209682 PhyMax = 0, PhyMin = 0, LogMax = 65535, LogMin = 0 0.209767 Unit = 00f0d121, UnitExp = 5 0.209860 Exponent = -2 0.209950 hid_lookup_path: 00840004 -> UPS 0.210042 hid_lookup_path: 00840012 -> Battery 0.210091 hid_lookup_path: 00840040 -> ConfigVoltage 0.210165 Path: UPS.Battery.ConfigVoltage, Type: Feature, ReportID: 0x25, Offset: 0, Size: 16, Value: 12 0.210264 Entering libusb_get_report 0.212336 Report[get]: (3 bytes) => 26 3f 05 0.212433 PhyMax = 0, PhyMin = 0, LogMax = 65535, LogMin = 0 0.212502 Unit = 00f0d121, UnitExp = 5 0.212572 Exponent = -2 0.212662 hid_lookup_path: 00840004 -> UPS 0.212740 hid_lookup_path: 00840012 -> Battery 0.212812 hid_lookup_path: 00840030 -> Voltage 0.212885 Path: UPS.Battery.Voltage, Type: Feature, ReportID: 0x26, Offset: 0, Size: 16, Value: 13.43 0.212955 Entering libusb_get_report 0.215086 Report[get]: (3 bytes) => 27 f3 00 0.215183 PhyMax = 0, PhyMin = 0, LogMax = 254, LogMin = 233 0.215255 Unit = 00000000, UnitExp = 0 0.215323 Exponent = 0 0.215394 hid_lookup_path: 00840004 -> UPS 0.215463 hid_lookup_path: 00840012 -> Battery 0.215563 hid_lookup_path: ff860024 -> not found in lookup table 0.215616 Path: UPS.Battery.ff860024, Type: Feature, ReportID: 0x27, Offset: 0, Size: 16, Value: 243 0.215712 Entering libusb_get_report 0.217839 Report[get]: (5 bytes) => 28 03 93 13 8e 0.217916 PhyMax = 0, PhyMin = 0, LogMax = 2147483647, LogMin = -2147483647 0.217994 Unit = 00000000, UnitExp = 0 0.218064 Exponent = 0 0.218154 hid_lookup_path: 00840004 -> UPS 0.218225 hid_lookup_path: 00840012 -> Battery 0.218297 hid_lookup_path: ff860018 -> not found in lookup table 0.218392 Path: UPS.Battery.ff860018, Type: Feature, ReportID: 0x28, Offset: 0, Size: 32, Value: -1.91132e+09 0.218466 Entering libusb_get_report 0.220592 Report[get]: (2 bytes) => 30 e6 0.220673 PhyMax = 0, PhyMin = 0, LogMax = 255, LogMin = 0 0.220753 Unit = 00f0d121, UnitExp = 7 0.220823 Exponent = 0 0.220894 hid_lookup_path: 00840004 -> UPS 0.220965 hid_lookup_path: 0084001a -> Input 0.221056 hid_lookup_path: 00840040 -> ConfigVoltage 0.221139 Path: UPS.Input.ConfigVoltage, Type: Feature, ReportID: 0x30, Offset: 0, Size: 8, Value: 230 0.221212 Entering libusb_get_report 0.223338 Report[get]: (3 bytes) => 31 e4 00 0.223434 PhyMax = 0, PhyMin = 0, LogMax = 255, LogMin = 0 0.223514 Unit = 00f0d121, UnitExp = 7 0.223580 Exponent = 0 0.223653 hid_lookup_path: 00840004 -> UPS 0.223722 hid_lookup_path: 0084001a -> Input 0.223793 hid_lookup_path: 00840030 -> Voltage 0.223866 Path: UPS.Input.Voltage, Type: Feature, ReportID: 0x31, Offset: 0, Size: 16, Value: 228 0.223945 Entering libusb_get_report 0.226089 Report[get]: (3 bytes) => 32 b4 00 0.226192 PhyMax = 0, PhyMin = 0, LogMax = 196, LogMin = 160 0.226263 Unit = 00f0d121, UnitExp = 7 0.226341 Exponent = 0 0.226411 hid_lookup_path: 00840004 -> UPS 0.226481 hid_lookup_path: 0084001a -> Input 0.226572 hid_lookup_path: 00840053 -> LowVoltageTransfer 0.226647 Path: UPS.Input.LowVoltageTransfer, Type: Feature, ReportID: 0x32, Offset: 0, Size: 16, Value: 180 0.226718 Entering libusb_get_report 0.228883 Report[get]: (3 bytes) => 33 0a 01 0.228965 PhyMax = 0, PhyMin = 0, LogMax = 278, LogMin = 256 0.229036 Unit = 00f0d121, UnitExp = 7 0.229135 Exponent = 0 0.229185 hid_lookup_path: 00840004 -> UPS 0.229254 hid_lookup_path: 0084001a -> Input 0.229346 hid_lookup_path: 00840054 -> HighVoltageTransfer 0.229422 Path: UPS.Input.HighVoltageTransfer, Type: Feature, ReportID: 0x33, Offset: 0, Size: 16, Value: 266 0.229493 Entering libusb_get_report 0.231597 Report[get]: (3 bytes) => 34 80 00 0.231674 PhyMax = 0, PhyMin = 0, LogMax = 141, LogMin = 115 0.231763 Unit = 00000000, UnitExp = 0 0.231833 Exponent = 0 0.231913 hid_lookup_path: 00840004 -> UPS 0.231982 hid_lookup_path: 0084001a -> Input 0.232054 hid_lookup_path: ff860024 -> not found in lookup table 0.232128 Path: UPS.Input.ff860024, Type: Feature, ReportID: 0x34, Offset: 0, Size: 16, Value: 128 0.232200 Entering libusb_get_report 0.234337 Report[get]: (2 bytes) => 35 01 0.234438 PhyMax = 0, PhyMin = 0, LogMax = 2, LogMin = 0 0.234510 Unit = 00000000, UnitExp = 0 0.234580 Exponent = 0 0.234651 hid_lookup_path: 00840004 -> UPS 0.234729 hid_lookup_path: 0084001a -> Input 0.234801 hid_lookup_path: ff860061 -> APCSensitivity 0.234892 Path: UPS.Input.APCSensitivity, Type: Feature, ReportID: 0x35, Offset: 0, Size: 8, Value: 1 0.234966 Entering libusb_get_report 0.237088 Report[get]: (2 bytes) => 36 00 0.237141 PhyMax = 0, PhyMin = 0, LogMax = 13, LogMin = 0 0.237231 Unit = 00000000, UnitExp = 0 0.237301 Exponent = 0 0.237371 hid_lookup_path: 00840004 -> UPS 0.237441 hid_lookup_path: 0084001a -> Input 0.237521 hid_lookup_path: ff860052 -> APCLineFailCause 0.237593 Path: UPS.Input.APCLineFailCause, Type: Feature, ReportID: 0x36, Offset: 0, Size: 8, Value: 0 0.237664 Entering libusb_get_report 0.239841 Report[get]: (2 bytes) => 40 00 0.239926 PhyMax = 0, PhyMin = 0, LogMax = 1, LogMin = 0 0.240015 Unit = 00000000, UnitExp = 0 0.240085 Exponent = 0 0.240156 hid_lookup_path: 00840004 -> UPS 0.240225 hid_lookup_path: ff860005 -> APCGeneralCollection 0.240297 hid_lookup_path: ff86007c -> APCDelayBeforeReboot 0.240393 Path: UPS.APCGeneralCollection.APCDelayBeforeReboot, Type: Feature, ReportID: 0x40, Offset: 0, Size: 8, Value: 0 0.240465 Entering libusb_get_report 0.242590 Report[get]: (3 bytes) => 41 ff ff 0.242675 PhyMax = 0, PhyMin = 0, LogMax = 32767, LogMin = -1 0.242746 Unit = 00001001, UnitExp = 0 0.242814 Exponent = 0 0.242885 hid_lookup_path: 00840004 -> UPS 0.242977 hid_lookup_path: ff860005 -> APCGeneralCollection 0.243057 hid_lookup_path: ff86007d -> APCDelayBeforeShutdown 0.243131 Path: UPS.APCGeneralCollection.APCDelayBeforeShutdown, Type: Feature, ReportID: 0x41, Offset: 0, Size: 16, Value: -1 0.243201 Entering libusb_get_report 0.245340 Report[get]: (3 bytes) => 42 ff ff 0.245418 PhyMax = 0, PhyMin = 0, LogMax = 32767, LogMin = -1 0.245488 Unit = 00001001, UnitExp = 0 0.245577 Exponent = 0 0.245649 hid_lookup_path: 00840004 -> UPS 0.245719 hid_lookup_path: ff860005 -> APCGeneralCollection 0.245792 hid_lookup_path: 00840057 -> DelayBeforeShutdown 0.245874 Path: UPS.APCGeneralCollection.DelayBeforeShutdown, Type: Feature, ReportID: 0x42, Offset: 0, Size: 16, Value: -1 0.245944 Entering libusb_get_report 0.248090 Report[get]: (2 bytes) => 50 22 0.248166 PhyMax = 0, PhyMin = 0, LogMax = 100, LogMin = 0 0.248256 Unit = 00000000, UnitExp = 0 0.248326 Exponent = 0 0.248397 hid_lookup_path: 00840004 -> UPS 0.248466 hid_lookup_path: 00840016 -> PowerConverter 0.248537 hid_lookup_path: 00840035 -> PercentLoad 0.248643 Path: UPS.PowerConverter.PercentLoad, Type: Feature, ReportID: 0x50, Offset: 0, Size: 8, Value: 34 0.248691 Entering libusb_get_report 0.250843 Report[get]: (2 bytes) => 51 80 0.250919 PhyMax = 0, PhyMin = 0, LogMax = 141, LogMin = 115 0.250998 Unit = 00000000, UnitExp = 0 0.251068 Exponent = 0 0.251139 hid_lookup_path: 00840004 -> UPS 0.251230 hid_lookup_path: 00840016 -> PowerConverter 0.251311 hid_lookup_path: ff860024 -> not found in lookup table 0.251388 Path: UPS.PowerConverter.ff860024, Type: Feature, ReportID: 0x51, Offset: 0, Size: 8, Value: 128 0.251458 Entering libusb_get_report 0.253591 Report[get]: (3 bytes) => 52 08 02 0.253699 PhyMax = 0, PhyMin = 0, LogMax = 65535, LogMin = 0 0.253768 Unit = 0000d121, UnitExp = 7 0.253838 Exponent = 0 0.253909 hid_lookup_path: 00840004 -> UPS 0.253978 hid_lookup_path: 00840016 -> PowerConverter 0.254049 hid_lookup_path: 00840044 -> ConfigActivePower 0.254132 Path: UPS.PowerConverter.ConfigActivePower, Type: Feature, ReportID: 0x52, Offset: 0, Size: 16, Value: 520 0.254203 Entering libusb_get_report 0.256342 Report[get]: (3 bytes) => 60 00 00 0.256440 PhyMax = 0, PhyMin = 0, LogMax = 65535, LogMin = 0 0.256520 Unit = 00000000, UnitExp = 0 0.256591 Exponent = 0 0.256661 hid_lookup_path: 00840004 -> UPS 0.256751 hid_lookup_path: ff860001 -> not found in lookup table 0.256826 hid_lookup_path: ff860023 -> not found in lookup table 0.256922 Path: UPS.ff860001.ff860023, Type: Feature, ReportID: 0x60, Offset: 0, Size: 16, Value: 0 0.256969 Entering libusb_get_report 0.259092 Report[get]: (2 bytes) => 61 0e 0.259189 PhyMax = 0, PhyMin = 0, LogMax = 141, LogMin = 16 0.259269 Unit = 00000000, UnitExp = 0 0.259339 Exponent = 0 0.259410 hid_lookup_path: 00840004 -> UPS 0.259480 hid_lookup_path: ff860001 -> not found in lookup table 0.259552 hid_lookup_path: ff860026 -> not found in lookup table 0.259627 Path: UPS.ff860001.ff860026, Type: Feature, ReportID: 0x61, Offset: 0, Size: 8, Value: 16 0.259707 Entering libusb_get_report 0.261843 Report[get]: (5 bytes) => 62 00 01 02 03 0.261941 PhyMax = 0, PhyMin = 0, LogMax = 2147483647, LogMin = -2147483647 0.262022 Unit = 00000000, UnitExp = 0 0.262091 Exponent = 0 0.262162 hid_lookup_path: 00840004 -> UPS 0.262232 hid_lookup_path: ff860001 -> not found in lookup table 0.262304 hid_lookup_path: ff860025 -> not found in lookup table 0.262390 Path: UPS.ff860001.ff860025, Type: Feature, ReportID: 0x62, Offset: 0, Size: 32, Value: 5.0463e+07 0.262462 Entering libusb_get_report 0.264591 Report[get]: (2 bytes) => 7f 05 0.264689 PhyMax = 0, PhyMin = 0, LogMax = 255, LogMin = 0 0.264769 Unit = 00000000, UnitExp = 0 0.264838 Exponent = 0 0.264909 hid_lookup_path: 00840004 -> UPS 0.264980 hid_lookup_path: 008400fe -> iProduct 0.265075 Path: UPS.iProduct, Type: Feature, ReportID: 0x7f, Offset: 0, Size: 8, Value: 5 0.265144 Entering libusb_get_report 0.267343 Report[get]: (2 bytes) => 7e 07 0.267420 PhyMax = 0, PhyMin = 0, LogMax = 255, LogMin = 0 0.267490 Unit = 00000000, UnitExp = 0 0.267558 Exponent = 0 0.267639 hid_lookup_path: 00840004 -> UPS 0.267709 hid_lookup_path: ff860042 -> APC_UPS_FirmwareRevision 0.267783 Path: UPS.APC_UPS_FirmwareRevision, Type: Feature, ReportID: 0x7e, Offset: 0, Size: 8, Value: 7 0.267854 Entering libusb_get_report 0.270098 Report[get]: (2 bytes) => 7d 03 0.270182 PhyMax = 0, PhyMin = 0, LogMax = 255, LogMin = 0 0.270273 Unit = 00000000, UnitExp = 0 0.270343 Exponent = 0 0.270414 hid_lookup_path: 00840004 -> UPS 0.270483 hid_lookup_path: 008400ff -> iSerialNumber 0.270567 Path: UPS.iSerialNumber, Type: Feature, ReportID: 0x7d, Offset: 0, Size: 8, Value: 3 0.270636 Entering libusb_get_report 0.272843 Report[get]: (2 bytes) => 7c 01 0.272941 PhyMax = 0, PhyMin = 0, LogMax = 255, LogMin = 0 0.273011 Unit = 00000000, UnitExp = 0 0.273090 Exponent = 0 0.273161 hid_lookup_path: 00840004 -> UPS 0.273231 hid_lookup_path: 008400fd -> iManufacturer 0.273304 Path: UPS.iManufacturer, Type: Feature, ReportID: 0x7c, Offset: 0, Size: 8, Value: 1 0.273406 Entering libusb_get_report 0.275596 Report[get]: (3 bytes) => 7b 62 52 0.275696 PhyMax = 0, PhyMin = 0, LogMax = 65535, LogMin = 0 0.275768 Unit = 00000000, UnitExp = 0 0.275836 Exponent = 0 0.275931 hid_lookup_path: 00840004 -> UPS 0.275979 hid_lookup_path: 00850085 -> ManufacturerDate 0.276055 Path: UPS.ManufacturerDate, Type: Feature, ReportID: 0x7b, Offset: 0, Size: 16, Value: 21090 0.276149 Entering libusb_get_report 0.278346 Report[get]: (5 bytes) => 7a 0c 00 00 00 0.278422 PhyMax = 0, PhyMin = 0, LogMax = 1, LogMin = 0 0.278492 Unit = 00000000, UnitExp = 0 0.278561 Exponent = 0 0.278652 hid_lookup_path: 00840004 -> UPS 0.278724 hid_lookup_path: 00840002 -> PresentStatus 0.278806 hid_lookup_path: 00850044 -> Charging 0.278880 Path: UPS.PresentStatus.Charging, Type: Feature, ReportID: 0x7a, Offset: 0, Size: 1, Value: 0 0.278999 Report[buf]: (5 bytes) => 7a 0c 00 00 00 0.279075 PhyMax = 0, PhyMin = 0, LogMax = 1, LogMin = 0 0.279169 Unit = 00000000, UnitExp = 0 0.279215 Exponent = 0 0.279287 hid_lookup_path: 00840004 -> UPS 0.279357 hid_lookup_path: 00840002 -> PresentStatus 0.279450 hid_lookup_path: 00850045 -> Discharging 0.279522 Path: UPS.PresentStatus.Discharging, Type: Feature, ReportID: 0x7a, Offset: 1, Size: 1, Value: 0 0.279607 Report[buf]: (5 bytes) => 7a 0c 00 00 00 0.279680 PhyMax = 0, PhyMin = 0, LogMax = 1, LogMin = 0 0.279750 Unit = 00000000, UnitExp = 0 0.279869 Exponent = 0 0.279940 hid_lookup_path: 00840004 -> UPS 0.280010 hid_lookup_path: 00840002 -> PresentStatus 0.280082 hid_lookup_path: 008500d0 -> ACPresent 0.280175 Path: UPS.PresentStatus.ACPresent, Type: Feature, ReportID: 0x7a, Offset: 2, Size: 1, Value: 1 0.280248 Report[buf]: (5 bytes) => 7a 0c 00 00 00 0.280330 PhyMax = 0, PhyMin = 0, LogMax = 1, LogMin = 0 0.280399 Unit = 00000000, UnitExp = 0 0.280467 Exponent = 0 0.280537 hid_lookup_path: 00840004 -> UPS 0.280618 hid_lookup_path: 00840002 -> PresentStatus 0.280690 hid_lookup_path: 008500d1 -> BatteryPresent 0.280762 Path: UPS.PresentStatus.BatteryPresent, Type: Feature, ReportID: 0x7a, Offset: 3, Size: 1, Value: 1 0.280868 Report[buf]: (5 bytes) => 7a 0c 00 00 00 0.280936 PhyMax = 0, PhyMin = 0, LogMax = 1, LogMin = 0 0.281008 Unit = 00000000, UnitExp = 0 0.281076 Exponent = 0 0.281146 hid_lookup_path: 00840004 -> UPS 0.281215 hid_lookup_path: 00840002 -> PresentStatus 0.281287 hid_lookup_path: 00850042 -> BelowRemainingCapacityLimit 0.281379 Path: UPS.PresentStatus.BelowRemainingCapacityLimit, Type: Feature, ReportID: 0x7a, Offset: 4, Size: 1, Value: 0 0.281452 Report[buf]: (5 bytes) => 7a 0c 00 00 00 0.281523 PhyMax = 0, PhyMin = 0, LogMax = 1, LogMin = 0 0.281605 Unit = 00000000, UnitExp = 0 0.281673 Exponent = 0 0.281744 hid_lookup_path: 00840004 -> UPS 0.281813 hid_lookup_path: 00840002 -> PresentStatus 0.281913 hid_lookup_path: 00840069 -> ShutdownImminent 0.281964 Path: UPS.PresentStatus.ShutdownImminent, Type: Feature, ReportID: 0x7a, Offset: 5, Size: 1, Value: 0 0.282059 Report[buf]: (5 bytes) => 7a 0c 00 00 00 0.282130 PhyMax = 0, PhyMin = 0, LogMax = 1, LogMin = 0 0.282200 Unit = 00000000, UnitExp = 0 0.282279 Exponent = 0 0.282349 hid_lookup_path: 00840004 -> UPS 0.282418 hid_lookup_path: 00840002 -> PresentStatus 0.282489 hid_lookup_path: 00850043 -> RemainingTimeLimitExpired 0.282561 Path: UPS.PresentStatus.RemainingTimeLimitExpired, Type: Feature, ReportID: 0x7a, Offset: 6, Size: 1, Value: 0 0.282646 Report[buf]: (5 bytes) => 7a 0c 00 00 00 0.282717 PhyMax = 0, PhyMin = 0, LogMax = 1, LogMin = 0 0.282788 Unit = 00000000, UnitExp = 0 0.282866 Exponent = 0 0.282936 hid_lookup_path: 00840004 -> UPS 0.283006 hid_lookup_path: 00840002 -> PresentStatus 0.283096 hid_lookup_path: 00840073 -> CommunicationLost 0.283169 Path: UPS.PresentStatus.CommunicationLost, Type: Feature, ReportID: 0x7a, Offset: 7, Size: 1, Value: 0 0.283242 Report[buf]: (5 bytes) => 7a 0c 00 00 00 0.283334 PhyMax = 0, PhyMin = 0, LogMax = 1, LogMin = 0 0.283403 Unit = 00000000, UnitExp = 0 0.283470 Exponent = 0 0.283554 hid_lookup_path: 00840004 -> UPS 0.283600 hid_lookup_path: 00840002 -> PresentStatus 0.283690 hid_lookup_path: 0085004b -> NeedReplacement 0.283764 Path: UPS.PresentStatus.NeedReplacement, Type: Feature, ReportID: 0x7a, Offset: 8, Size: 1, Value: 0 0.283837 Report[buf]: (5 bytes) => 7a 0c 00 00 00 0.283919 PhyMax = 0, PhyMin = 0, LogMax = 1, LogMin = 0 0.283988 Unit = 00000000, UnitExp = 0 0.284056 Exponent = 0 0.284126 hid_lookup_path: 00840004 -> UPS 0.284225 hid_lookup_path: 00840002 -> PresentStatus 0.284276 hid_lookup_path: 00840065 -> Overload 0.284349 Path: UPS.PresentStatus.Overload, Type: Feature, ReportID: 0x7a, Offset: 9, Size: 1, Value: 0 0.284442 Report[buf]: (5 bytes) => 7a 0c 00 00 00 0.284525 PhyMax = 0, PhyMin = 0, LogMax = 1, LogMin = 0 0.284572 Unit = 00000000, UnitExp = 0 0.284672 Exponent = 0 0.284764 hid_lookup_path: 00840004 -> UPS 0.284835 hid_lookup_path: 00840002 -> PresentStatus 0.284908 hid_lookup_path: 008500db -> VoltageNotRegulated 0.284991 Path: UPS.PresentStatus.VoltageNotRegulated, Type: Feature, ReportID: 0x7a, Offset: 10, Size: 1, Value: 0 0.285061 Entering libusb_get_report 0.287098 Report[get]: (2 bytes) => 79 00 0.287218 PhyMax = 0, PhyMin = 0, LogMax = 1, LogMin = 0 0.287265 Unit = 00000000, UnitExp = 0 0.287334 Exponent = 0 0.287405 hid_lookup_path: 00840004 -> UPS 0.287474 hid_lookup_path: ff860072 -> APCPanelTest 0.287565 Path: UPS.APCPanelTest, Type: Feature, ReportID: 0x79, Offset: 0, Size: 8, Value: 0 0.287650 Entering libusb_get_report 0.289848 Report[get]: (2 bytes) => 78 02 0.289924 PhyMax = 0, PhyMin = 0, LogMax = 2, LogMin = 1 0.290015 Unit = 00000000, UnitExp = 0 0.290094 Exponent = 0 0.290143 hid_lookup_path: 00840004 -> UPS 0.290232 hid_lookup_path: 0084005a -> AudibleAlarmControl 0.290306 Path: UPS.AudibleAlarmControl, Type: Feature, ReportID: 0x78, Offset: 0, Size: 8, Value: 2 0.290375 Entering libusb_get_report 0.292597 Report[get]: (3 bytes) => 75 62 00 0.292670 PhyMax = 0, PhyMin = 0, LogMax = 65535, LogMin = 0 0.292742 Unit = 00000000, UnitExp = 0 0.292894 Exponent = 0 0.292944 hid_lookup_path: 00840004 -> UPS 0.292993 hid_lookup_path: ff860029 -> not found in lookup table 0.293046 Path: UPS.ff860029, Type: Feature, ReportID: 0x75, Offset: 0, Size: 16, Value: 98 0.293150 Entering libusb_get_report 0.295353 Report[get]: (5 bytes) => 74 a7 36 64 64 0.295434 PhyMax = 0, PhyMin = 0, LogMax = 2147483647, LogMin = -2147483647 0.295524 Unit = 00000000, UnitExp = 0 0.295594 Exponent = 0 0.295664 hid_lookup_path: 00840004 -> UPS 0.295736 hid_lookup_path: ff86002a -> not found in lookup table 0.295811 Path: UPS.ff86002a, Type: Feature, ReportID: 0x74, Offset: 0, Size: 32, Value: 1.68429e+09 0.295898 Entering libusb_get_report 0.298098 Report[get]: (2 bytes) => 80 00 0.298195 PhyMax = 0, PhyMin = 0, LogMax = 255, LogMin = 0 0.298265 Unit = 00000000, UnitExp = 0 0.298347 Exponent = 0 0.298415 hid_lookup_path: 00840004 -> UPS 0.298488 hid_lookup_path: 00000000 -> not found in lookup table 0.298561 hid_lookup_path: ff000055 -> not found in lookup table 0.298635 Path: UPS.00000000.ff000055, Type: Feature, ReportID: 0x80, Offset: 0, Size: 8, Value: 0 0.298731 send_to_all: SETINFO ups.firmware.aux "a2 " 0.298828 send_to_all: SETINFO ups.firmware "938.a2 .I" 0.298904 send_to_all: SETINFO ups.mfr "American Power Conversion" 0.298978 send_to_all: SETINFO ups.model "Back-UPS ES 850G2" 0.299080 send_to_all: SETINFO ups.serial "5B2109T81980 " 0.299154 send_to_all: SETINFO ups.vendorid "051d" 0.299229 send_to_all: SETINFO ups.productid "0002" 0.299300 Report descriptor retrieved (Reportlen = 1049) 0.299382 Found HID device 0.299454 Detected a UPS: American Power Conversion/Back-UPS ES 850G2 FW:938.a2 .I USB FW:a2 0.299532 hid_lookup_usage: UPS -> 00840004 0.299629 hid_lookup_usage: PowerSummary -> 00840024 0.299704 hid_lookup_usage: RemainingCapacity -> 00850066 0.299829 string_to_path: depth = 3 0.299906 Report[buf]: (4 bytes) => 0c 64 64 03 0.299998 PhyMax = 0, PhyMin = 0, LogMax = 100, LogMin = 0 0.300068 Unit = 00000000, UnitExp = 0 0.300148 Exponent = 0 0.300220 Path: UPS.PowerSummary.RemainingCapacity, Type: Feature, ReportID: 0x0c, Offset: 0, Size: 8, Value: 100 0.300297 send_to_all: SETINFO battery.charge "100" 0.300372 hid_lookup_usage: UPS -> 00840004 0.300477 hid_lookup_usage: PowerSummary -> 00840024 0.300527 hid_lookup_usage: RemainingCapacityLimit -> 00850029 0.300618 string_to_path: depth = 3 /// ... /// ```
jimklimov commented 2 years ago

I hope this is a software issue, not a hardware limitation. There were some changes recently about shutdown commands; less sure if there were improvements specifically to "load.on" among those or since NUT 2.7.4 release.

The "Access denied" above implies that the USB device node in the devfs (or similar) is not accessible to the account you are running as (your build-configured user, "nobody" by default, vs. packaged "nut" user?) Since you are in position to use sudo, try adding -u root for the test to start the built driver as root, or set "user = root" in ups.conf.

Note that before #1293 (IIRC) the driver's socket file to communicate with upsd would then get created with that account's default group (root), breaking communications for the non-root upsd. This is not a problem for simple experimental runs to probe the device and dump data, but may be an issue as you experiment with actual shutdown (and back). With current master (after that PR) the driver should try to fix the socket-file's group to built-in value from configuration (which upsd should be using by default), or to group = ... specified in upsd.conf.

It may help to just re-configure the build to use same user and group account names (and probably paths) as your distro's NUT package, so pieces can be replaced more easily; roughly following https://sources.debian.org/src/nut/2.7.4-14/debian/rules/ for example

irudoy commented 2 years ago

@jimklimov thanks for your response! Unfortunately, it's working the same way on master branch.

Some helpful (hope so) listings ``` Network UPS Tools upsc 2.7.4-4698-g381a81fc $ /usr/local/ups/bin/upsc apcbu@0.0.0.0 battery.charge: 100 battery.charge.low: 10 battery.charge.warning: 50 battery.date: 2001/09/25 battery.mfr.date: 2021/03/02 battery.runtime: 4240 battery.runtime.low: 120 battery.type: PbAc battery.voltage: 13.6 battery.voltage.nominal: 12.0 device.mfr: American Power Conversion device.model: Back-UPS ES 850G2 device.serial: 5B2109T81980 device.type: ups driver.name: usbhid-ups driver.parameter.pollfreq: 30 driver.parameter.pollinterval: 15 driver.parameter.port: auto driver.parameter.productid: 0002 driver.parameter.serial: 5B2109T81980 driver.parameter.synchronous: no driver.parameter.vendorid: 051d driver.version: 2.7.4-4698-g381a81fc driver.version.data: APC HID 0.98 driver.version.internal: 0.45 driver.version.usb: libusb-1.0.22 (API: 0x1000106) input.sensitivity: medium input.transfer.high: 266 input.transfer.low: 180 input.voltage: 230.0 input.voltage.nominal: 230 ups.beeper.status: enabled ups.delay.shutdown: 20 ups.firmware: 938.a2 .I ups.firmware.aux: a2 ups.load: 0 ups.mfr: American Power Conversion ups.mfr.date: 2021/03/02 ups.model: Back-UPS ES 850G2 ups.productid: 0002 ups.realpower.nominal: 520 ups.serial: 5B2109T81980 ups.status: OL ups.test.result: No test initiated ups.timer.reboot: 0 ups.timer.shutdown: -1 ups.vendorid: 051d Network UPS Tools upscmd 2.7.4-4698-g381a81fc $ /usr/local/ups/bin/upscmd -u user -p pass -l apcbu@0.0.0.0 Instant commands supported on UPS [apcbu]: beeper.disable - Disable the UPS beeper beeper.enable - Enable the UPS beeper beeper.mute - Temporarily mute the UPS beeper beeper.off - Obsolete (use beeper.disable or beeper.mute) beeper.on - Obsolete (use beeper.enable) load.off - Turn off the load immediately load.off.delay - Turn off the load with a delay (seconds) shutdown.reboot - Shut down the load briefly while rebooting the UPS shutdown.stop - Stop a shutdown in progress test.battery.start.deep - Start a deep battery test test.battery.start.quick - Start a quick battery test test.battery.stop - Stop the battery test test.panel.start - Start testing the UPS panel test.panel.stop - Stop a UPS panel test $ /usr/local/ups/bin/upscmd -u user -p pass apcbu@0.0.0.0 load.on Unexpected response from upsd: ERR CMD-NOT-SUPPORTED full output: https://pastebin.com/NnGPLhnq $ sudo /usr/local/ups/bin/usbhid-ups -a apcbu -DDDDDDDDDD Network UPS Tools - Generic HID driver 0.45 (2.7.4-4698-g381a81fc) USB communication driver (libusb 1.0) 0.42 0.000000 [D1] debug level is '10' 0.001384 [D5] send_to_all: SETINFO device.type "ups" 0.001429 [D2] Initializing an USB-connected UPS with library libusb-1.0.22 (API: 0x1000106) (NUT subdriver name='USB communication driver (libusb 1.0)' ver='0.42') 0.001465 [D1] upsdrv_initups (non-SHUT)... 0.018364 [D2] Checking device 1 of 6 (1D6B/0003) 0.019289 [D2] - VendorID: 1d6b 0.019329 [D2] - ProductID: 0003 0.019361 [D2] - Manufacturer: Linux 4.19.118-v7l+ xhci-hcd 0.019387 [D2] - Product: xHCI Host Controller 0.019417 [D2] - Serial Number: 0000:01:00.0 0.019447 [D2] - Bus: 002 0.019476 [D2] - Device: unknown 0.019505 [D2] - Device release number: 0419 0.019533 [D2] Trying to match device 0.019564 [D2] match_function_subdriver (non-SHUT mode): matching a device... 0.019609 [D2] match_function_subdriver (non-SHUT mode): failed to match a subdriver to vendor and/or product ID 0.019640 [D2] Device does not match - skipping 0.020010 [D2] Checking device 2 of 6 (051D/0002) 0.024950 [D2] - VendorID: 051d 0.024987 [D2] - ProductID: 0002 0.025024 [D2] - Manufacturer: American Power Conversion 0.025049 [D2] - Product: Back-UPS ES 850G2 FW:938.a2 .I USB FW:a2 0.025074 [D2] - Serial Number: 5B2109T81980 0.025108 [D2] - Bus: 001 0.025139 [D2] - Device: unknown 0.025169 [D2] - Device release number: 0090 0.025197 [D2] Trying to match device 0.025227 [D2] match_function_subdriver (non-SHUT mode): matching a device... 0.025268 [D3] match_function_regex: matching a device... 0.025463 [D2] Device matches 0.025496 [D2] Reading first configuration descriptor 0.025547 [D3] libusb_kernel_driver_active() returned 0 0.025633 [D2] Claimed interface 0 successfully 0.025672 [D3] nut_usb_set_altinterface: skipped libusb_set_interface_alt_setting(udev, 0, 0) 0.027722 [D3] HID descriptor, method 1: (9 bytes) => 09 21 00 01 21 01 22 19 04 0.027835 [D3] HID descriptor length (method 1) 1049 0.027933 [D4] i=0, extra[i]=09, extra[i+1]=21 0.028041 [D3] HID descriptor, method 2: (9 bytes) => 09 21 00 01 21 01 22 19 04 0.028141 [D3] HID descriptor length (method 2) 1049 0.028238 [D2] HID descriptor length 1049 0.034470 [D2] Report Descriptor size = 1049 0.034591 [D3] Report Descriptor: (1049 bytes) => 05 84 09 04 a1 01 09 24 a1 00 85 01 09 0.034707 [D3] fe 79 02 75 08 95 01 15 00 26 ff 00 b1 22 85 02 09 ff 79 03 b1 22 85 03 05 0.034928 [D3] 85 09 89 79 04 b1 22 85 04 09 8f 79 01 b1 22 85 05 09 8b b1 22 85 06 09 44 0.035044 [D3] 81 a2 09 44 b1 a2 09 45 81 a2 09 45 b1 a2 06 86 ff 09 60 81 a2 09 60 b1 a2 0.035158 [D3] 85 07 05 85 09 85 75 10 27 ff ff 00 00 b1 a2 85 08 05 84 09 40 67 21 d1 f0 0.035272 [D3] 00 55 05 b1 22 85 09 09 30 b1 a2 85 0a 09 fd 75 08 26 ff 00 65 00 55 00 79 0.035384 [D3] 01 b1 22 85 0b 05 85 09 2c b1 22 85 0c 09 66 25 64 81 a2 09 66 b1 a2 09 68 0.035495 [D3] 75 10 27 ff ff 00 00 66 01 10 81 a2 09 68 b1 a2 85 0d 09 83 75 08 25 64 65 0.035606 [D3] 00 b1 22 85 0e 09 67 b1 22 85 0f 09 8c b1 22 85 10 09 8e b1 22 85 11 09 29 0.035720 [D3] 15 01 b1 a2 85 12 09 8d 15 00 b1 22 85 13 09 d0 25 01 81 a2 09 d0 b1 a2 85 0.035831 [D3] 14 09 42 81 a2 09 42 b1 a2 05 84 09 69 81 a2 09 69 b1 a2 85 15 09 57 75 10 0.035944 [D3] 16 ff ff 26 ff 7f 66 01 10 b1 a2 09 02 a1 02 85 16 05 85 65 00 75 01 15 00 0.036055 [D3] 25 01 09 44 81 a2 09 44 b1 a2 09 45 81 a2 09 45 b1 a2 09 d0 81 a2 09 d0 b1 0.036165 [D3] a2 09 d1 81 a2 09 d1 b1 a2 09 42 81 a2 09 42 b1 a2 05 84 09 69 81 a2 09 69 0.036294 [D3] b1 a2 05 85 09 43 81 a2 09 43 b1 a2 05 84 09 73 81 a2 09 73 b1 a2 05 85 09 0.036405 [D3] 4b 81 a2 09 4b b1 a2 05 84 09 65 81 a2 09 65 b1 a2 05 85 09 db 81 a2 09 db 0.036536 [D3] b1 a2 95 15 81 01 b1 01 c0 85 17 09 2a 95 01 75 10 27 ff ff 00 00 66 01 10 0.036648 [D3] b1 a2 85 18 05 84 09 5a 75 08 15 01 25 02 65 00 b1 a2 c0 09 12 a1 00 85 1c 0.036773 [D3] 06 86 ff 09 16 75 18 15 00 27 ff ff ff 00 b2 a2 01 85 20 05 85 09 85 75 10 0.036886 [D3] 27 ff ff 00 00 b1 a2 85 21 05 84 09 58 75 08 25 06 81 a2 09 58 b1 a2 85 22 0.036997 [D3] 05 85 09 66 25 64 b1 a2 85 23 09 68 75 10 27 ff ff 00 00 66 01 10 b1 a2 85 0.037107 [D3] 24 09 2a b1 a2 85 25 05 84 09 40 67 21 d1 f0 00 55 05 b1 22 85 26 09 30 b1 0.037220 [D3] a2 85 27 06 86 ff 09 24 75 10 16 e9 00 26 fe 00 65 00 55 00 b1 a2 85 28 09 0.037330 [D3] 18 75 20 17 01 00 00 80 27 ff ff ff 7f b2 a2 01 c0 05 84 09 1a a1 00 85 30 0.037442 [D3] 05 84 09 40 75 08 15 00 26 ff 00 67 21 d1 f0 00 55 07 b1 22 85 31 09 30 75 0.037565 [D3] 10 b1 a2 85 32 09 53 16 a0 00 26 c4 00 b1 a2 85 33 09 54 16 00 01 26 16 01 0.037678 [D3] b1 a2 85 34 06 86 ff 09 24 16 73 00 26 8d 00 65 00 55 00 b1 a2 85 35 75 08 0.037805 [D3] 09 61 15 00 25 02 b1 a2 85 36 09 52 25 0d b1 a2 c0 09 05 a1 00 85 40 09 7c 0.037915 [D3] 25 01 b1 a2 85 41 09 7d 75 10 16 ff ff 26 ff 7f 66 01 10 b1 a2 85 42 05 84 0.038026 [D3] 09 57 b1 a2 c0 09 16 a1 00 85 50 09 35 75 08 15 00 25 64 65 00 b1 a2 85 51 0.038137 [D3] 06 86 ff 09 24 16 73 00 26 8d 00 b1 a2 85 52 05 84 09 44 75 10 15 00 27 ff 0.038271 [D3] ff 00 00 66 21 d1 55 07 b1 a2 c0 06 86 ff 09 01 a1 00 85 60 09 23 65 00 55 0.038418 [D3] 00 b1 a2 85 61 09 26 75 08 16 10 00 26 8d 00 b1 a2 85 62 09 25 75 20 17 01 0.038535 [D3] 00 00 80 27 ff ff ff 7f b2 a2 01 c0 85 7f 05 84 09 fe 79 05 75 08 95 01 15 0.038652 [D3] 00 26 ff 00 b1 22 85 7e 06 86 ff 09 42 79 07 b1 22 85 7d 05 84 09 ff 79 03 0.038763 [D3] b1 22 85 7c 09 fd 79 01 b1 22 85 7b 05 85 09 85 75 10 27 ff ff 00 00 b1 a2 0.038873 [D3] 05 84 09 02 a1 02 85 7a 05 85 09 44 75 01 25 01 b1 a2 09 45 b1 a2 09 d0 b1 0.038988 [D3] a2 09 d1 b1 a2 09 42 b1 a2 05 84 09 69 b1 a2 05 85 09 43 b1 a2 05 84 09 73 0.039098 [D3] b1 a2 05 85 09 4b b1 a2 05 84 09 65 b1 a2 05 85 09 db b1 a2 95 15 b1 01 c0 0.039210 [D3] 85 79 06 86 ff 09 72 75 08 95 01 b1 a2 85 78 05 84 09 5a 15 01 25 02 b1 a2 0.039320 [D3] 85 75 06 86 ff 09 29 75 10 15 00 27 ff ff 00 00 b1 a2 85 74 06 86 ff 09 2a 0.039432 [D3] 75 20 17 01 00 00 80 27 ff ff ff 7f b1 a2 a1 00 06 00 ff 85 80 09 55 15 00 0.039534 [D3] 26 ff 00 75 08 95 01 b1 82 c0 c0 0.039953 Using subdriver: APC HID 0.98 0.040062 [D3] Attempting Report Descriptor fix for UPS: Vendor: 051d, Product: 0002 0.040160 [D4] Report Descriptor: highVoltageTransfer LogMin: 256 LogMax: 278 0.040256 [D4] Report Descriptor: voltage LogMin: 0 LogMax: 255 0.040353 [D3] Fixing Report Descriptor. Set voltage LogMin = 0, LogMax = 556 0.040449 [D4] Report Descriptor: configVoltage LogMin: 0 LogMax: 255 0.040544 [D3] Fixing Report Descriptor. Set configVoltage LogMin = 0, LogMax = 255 0.040639 [D2] Report Descriptor Fixed 0.040734 [D1] 105 HID objects found 0.040839 [D4] Entering libusb_get_report 0.043219 [D3] Report[get]: (2 bytes) => 01 02 0.043328 [D5] PhyMax = 0, PhyMin = 0, LogMax = 255, LogMin = 0 0.043426 [D5] Unit = 00000000, UnitExp = 0 0.043520 [D5] Exponent = 0 0.043620 [D5] hid_lookup_path: 00840004 -> UPS 0.043717 [D5] hid_lookup_path: 00840024 -> PowerSummary 0.043816 [D5] hid_lookup_path: 008400fe -> iProduct 0.043916 [D1] Path: UPS.PowerSummary.iProduct, Type: Feature, ReportID: 0x01, Offset: 0, Size: 8, Value: 2 0.044012 [D4] Entering libusb_get_report 0.045964 [D3] Report[get]: (2 bytes) => 02 03 0.046072 [D5] PhyMax = 0, PhyMin = 0, LogMax = 255, LogMin = 0 0.046170 [D5] Unit = 00000000, UnitExp = 0 0.046264 [D5] Exponent = 0 0.046361 [D5] hid_lookup_path: 00840004 -> UPS 0.046456 [D5] hid_lookup_path: 00840024 -> PowerSummary 0.046553 [D5] hid_lookup_path: 008400ff -> iSerialNumber 0.046654 [D1] Path: UPS.PowerSummary.iSerialNumber, Type: Feature, ReportID: 0x02, Offset: 0, Size: 8, Value: 3 0.046749 [D4] Entering libusb_get_report 0.048715 [D3] Report[get]: (2 bytes) => 03 04 0.048823 [D5] PhyMax = 0, PhyMin = 0, LogMax = 255, LogMin = 0 0.048921 [D5] Unit = 00000000, UnitExp = 0 0.049014 [D5] Exponent = 0 0.049110 [D5] hid_lookup_path: 00840004 -> UPS 0.049205 [D5] hid_lookup_path: 00840024 -> PowerSummary 0.049306 [D5] hid_lookup_path: 00850089 -> iDeviceChemistry 0.049407 [D1] Path: UPS.PowerSummary.iDeviceChemistry, Type: Feature, ReportID: 0x03, Offset: 0, Size: 8, Value: 4 0.049503 [D4] Entering libusb_get_report 0.051462 [D3] Report[get]: (2 bytes) => 04 01 0.051567 [D5] PhyMax = 0, PhyMin = 0, LogMax = 255, LogMin = 0 0.051662 [D5] Unit = 00000000, UnitExp = 0 0.051753 [D5] Exponent = 0 0.051849 [D5] hid_lookup_path: 00840004 -> UPS 0.051943 [D5] hid_lookup_path: 00840024 -> PowerSummary 0.052041 [D5] hid_lookup_path: 0085008f -> iOEMInformation 0.052140 [D1] Path: UPS.PowerSummary.iOEMInformation, Type: Feature, ReportID: 0x04, Offset: 0, Size: 8, Value: 1 0.052234 [D4] Entering libusb_get_report 0.054212 [D3] Report[get]: (2 bytes) => 05 01 0.054317 [D5] PhyMax = 0, PhyMin = 0, LogMax = 255, LogMin = 0 0.054413 [D5] Unit = 00000000, UnitExp = 0 0.054506 [D5] Exponent = 0 0.054604 [D5] hid_lookup_path: 00840004 -> UPS 0.054698 [D5] hid_lookup_path: 00840024 -> PowerSummary 0.054797 [D5] hid_lookup_path: 0085008b -> Rechargeable 0.054896 [D1] Path: UPS.PowerSummary.Rechargeable, Type: Feature, ReportID: 0x05, Offset: 0, Size: 8, Value: 1 0.054992 [D4] Entering libusb_get_report 0.056965 [D3] Report[get]: (4 bytes) => 06 00 00 08 0.057071 [D5] PhyMax = 0, PhyMin = 0, LogMax = 255, LogMin = 0 0.057166 [D5] Unit = 00000000, UnitExp = 0 0.057259 [D5] Exponent = 0 0.057355 [D5] hid_lookup_path: 00840004 -> UPS 0.057450 [D5] hid_lookup_path: 00840024 -> PowerSummary 0.057548 [D5] hid_lookup_path: 00850044 -> Charging 0.057647 [D1] Path: UPS.PowerSummary.Charging, Type: Input, ReportID: 0x06, Offset: 0, Size: 8, Value: 0 0.057751 [D3] Report[buf]: (4 bytes) => 06 00 00 08 0.057847 [D5] PhyMax = 0, PhyMin = 0, LogMax = 255, LogMin = 0 0.057942 [D5] Unit = 00000000, UnitExp = 0 0.058033 [D5] Exponent = 0 0.058129 [D5] hid_lookup_path: 00840004 -> UPS 0.058223 [D5] hid_lookup_path: 00840024 -> PowerSummary 0.059002 [D5] hid_lookup_path: 00850044 -> Charging 0.059105 [D1] Path: UPS.PowerSummary.Charging, Type: Feature, ReportID: 0x06, Offset: 0, Size: 8, Value: 0 0.059207 [D3] Report[buf]: (4 bytes) => 06 00 00 08 0.059302 [D5] PhyMax = 0, PhyMin = 0, LogMax = 255, LogMin = 0 0.059397 [D5] Unit = 00000000, UnitExp = 0 0.059488 [D5] Exponent = 0 0.059583 [D5] hid_lookup_path: 00840004 -> UPS 0.059677 [D5] hid_lookup_path: 00840024 -> PowerSummary 0.059778 [D5] hid_lookup_path: 00850045 -> Discharging 0.059879 [D1] Path: UPS.PowerSummary.Discharging, Type: Input, ReportID: 0x06, Offset: 8, Size: 8, Value: 0 0.059979 [D3] Report[buf]: (4 bytes) => 06 00 00 08 0.060075 [D5] PhyMax = 0, PhyMin = 0, LogMax = 255, LogMin = 0 0.060170 [D5] Unit = 00000000, UnitExp = 0 0.060263 [D5] Exponent = 0 0.060358 [D5] hid_lookup_path: 00840004 -> UPS 0.060452 [D5] hid_lookup_path: 00840024 -> PowerSummary 0.060550 [D5] hid_lookup_path: 00850045 -> Discharging 0.060649 [D1] Path: UPS.PowerSummary.Discharging, Type: Feature, ReportID: 0x06, Offset: 8, Size: 8, Value: 0 0.060769 [D3] Report[buf]: (4 bytes) => 06 00 00 08 0.060952 [D5] PhyMax = 0, PhyMin = 0, LogMax = 255, LogMin = 0 0.061048 [D5] Unit = 00000000, UnitExp = 0 0.061141 [D5] Exponent = 0 0.061238 [D5] hid_lookup_path: 00840004 -> UPS 0.061333 [D5] hid_lookup_path: 00840024 -> PowerSummary 0.061430 [D5] hid_lookup_path: ff860060 -> APCStatusFlag 0.061718 [D1] Path: UPS.PowerSummary.APCStatusFlag, Type: Input, ReportID: 0x06, Offset: 16, Size: 8, Value: 8 0.061833 [D3] Report[buf]: (4 bytes) => 06 00 00 08 0.061954 [D5] PhyMax = 0, PhyMin = 0, LogMax = 255, LogMin = 0 0.062049 [D5] Unit = 00000000, UnitExp = 0 0.062154 [D5] Exponent = 0 0.062251 [D5] hid_lookup_path: 00840004 -> UPS 0.062347 [D5] hid_lookup_path: 00840024 -> PowerSummary 0.062444 [D5] hid_lookup_path: ff860060 -> APCStatusFlag 0.062544 [D1] Path: UPS.PowerSummary.APCStatusFlag, Type: Feature, ReportID: 0x06, Offset: 16, Size: 8, Value: 8 0.062641 [D4] Entering libusb_get_report 0.063709 [D3] Report[get]: (3 bytes) => 07 62 52 0.063792 [D5] PhyMax = 0, PhyMin = 0, LogMax = 65535, LogMin = 0 0.063865 [D5] Unit = 00000000, UnitExp = 0 0.063934 [D5] Exponent = 0 0.064007 [D5] hid_lookup_path: 00840004 -> UPS 0.064079 [D5] hid_lookup_path: 00840024 -> PowerSummary 0.064154 [D5] hid_lookup_path: 00850085 -> ManufacturerDate 0.064232 [D1] Path: UPS.PowerSummary.ManufacturerDate, Type: Feature, ReportID: 0x07, Offset: 0, Size: 16, Value: 21090 0.064305 [D4] Entering libusb_get_report 0.066452 [D3] Report[get]: (3 bytes) => 08 b0 04 0.066531 [D5] PhyMax = 0, PhyMin = 0, LogMax = 65535, LogMin = 0 0.066603 [D5] Unit = 00f0d121, UnitExp = 5 0.066672 [D5] Exponent = -2 0.066745 [D5] hid_lookup_path: 00840004 -> UPS 0.066816 [D5] hid_lookup_path: 00840024 -> PowerSummary 0.066890 [D5] hid_lookup_path: 00840040 -> ConfigVoltage 0.066967 [D1] Path: UPS.PowerSummary.ConfigVoltage, Type: Feature, ReportID: 0x08, Offset: 0, Size: 16, Value: 12 0.067039 [D4] Entering libusb_get_report 0.069204 [D3] Report[get]: (3 bytes) => 09 47 05 0.069285 [D5] PhyMax = 0, PhyMin = 0, LogMax = 65535, LogMin = 0 0.069358 [D5] Unit = 00f0d121, UnitExp = 5 0.069427 [D5] Exponent = -2 0.069499 [D5] hid_lookup_path: 00840004 -> UPS 0.069571 [D5] hid_lookup_path: 00840024 -> PowerSummary 0.069645 [D5] hid_lookup_path: 00840030 -> Voltage 0.069736 [D1] Path: UPS.PowerSummary.Voltage, Type: Feature, ReportID: 0x09, Offset: 0, Size: 16, Value: 13.51 0.069809 [D4] Entering libusb_get_report 0.071951 [D3] Report[get]: (2 bytes) => 0a 01 0.072030 [D5] PhyMax = 0, PhyMin = 0, LogMax = 255, LogMin = 0 0.072103 [D5] Unit = 00000000, UnitExp = 0 0.072172 [D5] Exponent = 0 0.072245 [D5] hid_lookup_path: 00840004 -> UPS 0.072317 [D5] hid_lookup_path: 00840024 -> PowerSummary 0.072392 [D5] hid_lookup_path: 008400fd -> iManufacturer 0.072467 [D1] Path: UPS.PowerSummary.iManufacturer, Type: Feature, ReportID: 0x0a, Offset: 0, Size: 8, Value: 1 0.072538 [D4] Entering libusb_get_report 0.074700 [D3] Report[get]: (2 bytes) => 0b 02 0.074780 [D5] PhyMax = 0, PhyMin = 0, LogMax = 255, LogMin = 0 0.074851 [D5] Unit = 00000000, UnitExp = 0 0.074921 [D5] Exponent = 0 0.074993 [D5] hid_lookup_path: 00840004 -> UPS 0.075064 [D5] hid_lookup_path: 00840024 -> PowerSummary 0.075138 [D5] hid_lookup_path: 0085002c -> CapacityMode 0.075212 [D1] Path: UPS.PowerSummary.CapacityMode, Type: Feature, ReportID: 0x0b, Offset: 0, Size: 8, Value: 2 0.075284 [D4] Entering libusb_get_report 0.077453 [D3] Report[get]: (4 bytes) => 0c 64 90 10 0.077531 [D5] PhyMax = 0, PhyMin = 0, LogMax = 100, LogMin = 0 0.077604 [D5] Unit = 00000000, UnitExp = 0 0.077674 [D5] Exponent = 0 0.077747 [D5] hid_lookup_path: 00840004 -> UPS 0.077817 [D5] hid_lookup_path: 00840024 -> PowerSummary 0.077892 [D5] hid_lookup_path: 00850066 -> RemainingCapacity 0.077968 [D1] Path: UPS.PowerSummary.RemainingCapacity, Type: Input, ReportID: 0x0c, Offset: 0, Size: 8, Value: 100 0.078043 [D3] Report[buf]: (4 bytes) => 0c 64 90 10 0.078114 [D5] PhyMax = 0, PhyMin = 0, LogMax = 100, LogMin = 0 0.078186 [D5] Unit = 00000000, UnitExp = 0 0.078256 [D5] Exponent = 0 0.078357 [D5] hid_lookup_path: 00840004 -> UPS 0.078429 [D5] hid_lookup_path: 00840024 -> PowerSummary 0.078503 [D5] hid_lookup_path: 00850066 -> RemainingCapacity 0.078578 [D1] Path: UPS.PowerSummary.RemainingCapacity, Type: Feature, ReportID: 0x0c, Offset: 0, Size: 8, Value: 100 0.078655 [D3] Report[buf]: (4 bytes) => 0c 64 90 10 0.078727 [D5] PhyMax = 0, PhyMin = 0, LogMax = 65535, LogMin = 0 0.078800 [D5] Unit = 00001001, UnitExp = 0 0.078870 [D5] Exponent = 0 0.078954 [D5] hid_lookup_path: 00840004 -> UPS 0.079025 [D5] hid_lookup_path: 00840024 -> PowerSummary 0.079098 [D5] hid_lookup_path: 00850068 -> RunTimeToEmpty 0.079174 [D1] Path: UPS.PowerSummary.RunTimeToEmpty, Type: Input, ReportID: 0x0c, Offset: 8, Size: 16, Value: 4240 0.079250 [D3] Report[buf]: (4 bytes) => 0c 64 90 10 0.079320 [D5] PhyMax = 0, PhyMin = 0, LogMax = 65535, LogMin = 0 0.079391 [D5] Unit = 00001001, UnitExp = 0 0.079461 [D5] Exponent = 0 0.079533 [D5] hid_lookup_path: 00840004 -> UPS 0.079618 [D5] hid_lookup_path: 00840024 -> PowerSummary 0.079700 [D5] hid_lookup_path: 00850068 -> RunTimeToEmpty 0.079775 [D1] Path: UPS.PowerSummary.RunTimeToEmpty, Type: Feature, ReportID: 0x0c, Offset: 8, Size: 16, Value: 4240 0.079855 [D4] Entering libusb_get_report 0.082204 [D3] Report[get]: (2 bytes) => 0d 64 0.082283 [D5] PhyMax = 0, PhyMin = 0, LogMax = 100, LogMin = 0 0.082356 [D5] Unit = 00000000, UnitExp = 0 0.082425 [D5] Exponent = 0 0.082497 [D5] hid_lookup_path: 00840004 -> UPS 0.082567 [D5] hid_lookup_path: 00840024 -> PowerSummary 0.082640 [D5] hid_lookup_path: 00850083 -> DesignCapacity 0.082715 [D1] Path: UPS.PowerSummary.DesignCapacity, Type: Feature, ReportID: 0x0d, Offset: 0, Size: 8, Value: 100 0.082786 [D4] Entering libusb_get_report 0.084969 [D3] Report[get]: (2 bytes) => 0e 64 0.085052 [D5] PhyMax = 0, PhyMin = 0, LogMax = 100, LogMin = 0 0.085125 [D5] Unit = 00000000, UnitExp = 0 0.085195 [D5] Exponent = 0 0.085267 [D5] hid_lookup_path: 00840004 -> UPS 0.085338 [D5] hid_lookup_path: 00840024 -> PowerSummary 0.085413 [D5] hid_lookup_path: 00850067 -> FullChargeCapacity 0.085489 [D1] Path: UPS.PowerSummary.FullChargeCapacity, Type: Feature, ReportID: 0x0e, Offset: 0, Size: 8, Value: 100 0.085562 [D4] Entering libusb_get_report 0.087704 [D3] Report[get]: (2 bytes) => 0f 32 0.087783 [D5] PhyMax = 0, PhyMin = 0, LogMax = 100, LogMin = 0 0.087855 [D5] Unit = 00000000, UnitExp = 0 0.087926 [D5] Exponent = 0 0.087998 [D5] hid_lookup_path: 00840004 -> UPS 0.088069 [D5] hid_lookup_path: 00840024 -> PowerSummary 0.088144 [D5] hid_lookup_path: 0085008c -> WarningCapacityLimit 0.088220 [D1] Path: UPS.PowerSummary.WarningCapacityLimit, Type: Feature, ReportID: 0x0f, Offset: 0, Size: 8, Value: 50 0.088316 [D4] Entering libusb_get_report 0.090454 [D3] Report[get]: (2 bytes) => 10 01 0.090533 [D5] PhyMax = 0, PhyMin = 0, LogMax = 100, LogMin = 0 0.090617 [D5] Unit = 00000000, UnitExp = 0 0.090686 [D5] Exponent = 0 0.090758 [D5] hid_lookup_path: 00840004 -> UPS 0.090846 [D5] hid_lookup_path: 00840024 -> PowerSummary 0.090920 [D5] hid_lookup_path: 0085008e -> CapacityGranularity2 0.090995 [D1] Path: UPS.PowerSummary.CapacityGranularity2, Type: Feature, ReportID: 0x10, Offset: 0, Size: 8, Value: 1 0.091067 [D4] Entering libusb_get_report 0.093203 [D3] Report[get]: (2 bytes) => 11 0a 0.093281 [D5] PhyMax = 0, PhyMin = 0, LogMax = 100, LogMin = 1 0.093354 [D5] Unit = 00000000, UnitExp = 0 0.093424 [D5] Exponent = 0 0.093496 [D5] hid_lookup_path: 00840004 -> UPS 0.093566 [D5] hid_lookup_path: 00840024 -> PowerSummary 0.093640 [D5] hid_lookup_path: 00850029 -> RemainingCapacityLimit 0.093716 [D1] Path: UPS.PowerSummary.RemainingCapacityLimit, Type: Feature, ReportID: 0x11, Offset: 0, Size: 8, Value: 10 0.093788 [D4] Entering libusb_get_report 0.095953 [D3] Report[get]: (2 bytes) => 12 01 0.096030 [D5] PhyMax = 0, PhyMin = 0, LogMax = 100, LogMin = 0 0.096102 [D5] Unit = 00000000, UnitExp = 0 0.096172 [D5] Exponent = 0 0.096244 [D5] hid_lookup_path: 00840004 -> UPS 0.096316 [D5] hid_lookup_path: 00840024 -> PowerSummary 0.096390 [D5] hid_lookup_path: 0085008d -> CapacityGranularity1 0.096466 [D1] Path: UPS.PowerSummary.CapacityGranularity1, Type: Feature, ReportID: 0x12, Offset: 0, Size: 8, Value: 1 0.096538 [D4] Entering libusb_get_report 0.098705 [D3] Report[get]: (2 bytes) => 13 01 0.098785 [D5] PhyMax = 0, PhyMin = 0, LogMax = 1, LogMin = 0 0.098856 [D5] Unit = 00000000, UnitExp = 0 0.098925 [D5] Exponent = 0 0.098997 [D5] hid_lookup_path: 00840004 -> UPS 0.099069 [D5] hid_lookup_path: 00840024 -> PowerSummary 0.099143 [D5] hid_lookup_path: 008500d0 -> ACPresent 0.099217 [D1] Path: UPS.PowerSummary.ACPresent, Type: Input, ReportID: 0x13, Offset: 0, Size: 8, Value: 1 0.099290 [D3] Report[buf]: (2 bytes) => 13 01 0.099361 [D5] PhyMax = 0, PhyMin = 0, LogMax = 1, LogMin = 0 0.099432 [D5] Unit = 00000000, UnitExp = 0 0.099501 [D5] Exponent = 0 0.099573 [D5] hid_lookup_path: 00840004 -> UPS 0.099646 [D5] hid_lookup_path: 00840024 -> PowerSummary 0.099720 [D5] hid_lookup_path: 008500d0 -> ACPresent 0.099793 [D1] Path: UPS.PowerSummary.ACPresent, Type: Feature, ReportID: 0x13, Offset: 0, Size: 8, Value: 1 0.099864 [D4] Entering libusb_get_report 0.101454 [D3] Report[get]: (3 bytes) => 14 00 00 0.101532 [D5] PhyMax = 0, PhyMin = 0, LogMax = 1, LogMin = 0 0.101604 [D5] Unit = 00000000, UnitExp = 0 0.101672 [D5] Exponent = 0 0.101746 [D5] hid_lookup_path: 00840004 -> UPS 0.101818 [D5] hid_lookup_path: 00840024 -> PowerSummary 0.101892 [D5] hid_lookup_path: 00850042 -> BelowRemainingCapacityLimit 0.101966 [D1] Path: UPS.PowerSummary.BelowRemainingCapacityLimit, Type: Input, ReportID: 0x14, Offset: 0, Size: 8, Value: 0 0.102041 [D3] Report[buf]: (3 bytes) => 14 00 00 0.102112 [D5] PhyMax = 0, PhyMin = 0, LogMax = 1, LogMin = 0 0.102183 [D5] Unit = 00000000, UnitExp = 0 0.102252 [D5] Exponent = 0 0.102324 [D5] hid_lookup_path: 00840004 -> UPS 0.102395 [D5] hid_lookup_path: 00840024 -> PowerSummary 0.102468 [D5] hid_lookup_path: 00850042 -> BelowRemainingCapacityLimit 0.102542 [D1] Path: UPS.PowerSummary.BelowRemainingCapacityLimit, Type: Feature, ReportID: 0x14, Offset: 0, Size: 8, Value: 0 0.102616 [D3] Report[buf]: (3 bytes) => 14 00 00 0.102687 [D5] PhyMax = 0, PhyMin = 0, LogMax = 1, LogMin = 0 0.102760 [D5] Unit = 00000000, UnitExp = 0 0.102829 [D5] Exponent = 0 0.102901 [D5] hid_lookup_path: 00840004 -> UPS 0.102971 [D5] hid_lookup_path: 00840024 -> PowerSummary 0.103044 [D5] hid_lookup_path: 00840069 -> ShutdownImminent 0.103118 [D1] Path: UPS.PowerSummary.ShutdownImminent, Type: Input, ReportID: 0x14, Offset: 8, Size: 8, Value: 0 0.103192 [D3] Report[buf]: (3 bytes) => 14 00 00 0.103264 [D5] PhyMax = 0, PhyMin = 0, LogMax = 1, LogMin = 0 0.103353 [D5] Unit = 00000000, UnitExp = 0 0.103431 [D5] Exponent = 0 0.103502 [D5] hid_lookup_path: 00840004 -> UPS 0.103573 [D5] hid_lookup_path: 00840024 -> PowerSummary 0.103660 [D5] hid_lookup_path: 00840069 -> ShutdownImminent 0.103748 [D1] Path: UPS.PowerSummary.ShutdownImminent, Type: Feature, ReportID: 0x14, Offset: 8, Size: 8, Value: 0 0.103822 [D4] Entering libusb_get_report 0.106206 [D3] Report[get]: (3 bytes) => 15 ff ff 0.106284 [D5] PhyMax = 0, PhyMin = 0, LogMax = 32767, LogMin = -1 0.106357 [D5] Unit = 00001001, UnitExp = 0 0.106427 [D5] Exponent = 0 0.106499 [D5] hid_lookup_path: 00840004 -> UPS 0.106570 [D5] hid_lookup_path: 00840024 -> PowerSummary 0.106644 [D5] hid_lookup_path: 00840057 -> DelayBeforeShutdown 0.106718 [D1] Path: UPS.PowerSummary.DelayBeforeShutdown, Type: Feature, ReportID: 0x15, Offset: 0, Size: 16, Value: -1 0.106789 [D4] Entering libusb_get_report 0.108958 [D3] Report[get]: (5 bytes) => 16 0c 00 00 00 0.109037 [D5] PhyMax = 0, PhyMin = 0, LogMax = 1, LogMin = 0 0.109111 [D5] Unit = 00000000, UnitExp = 0 0.109180 [D5] Exponent = 0 0.109252 [D5] hid_lookup_path: 00840004 -> UPS 0.109323 [D5] hid_lookup_path: 00840024 -> PowerSummary 0.109411 [D5] hid_lookup_path: 00840002 -> PresentStatus 0.109484 [D5] hid_lookup_path: 00850044 -> Charging 0.109558 [D1] Path: UPS.PowerSummary.PresentStatus.Charging, Type: Input, ReportID: 0x16, Offset: 0, Size: 1, Value: 0 0.109634 [D3] Report[buf]: (5 bytes) => 16 0c 00 00 00 0.109705 [D5] PhyMax = 0, PhyMin = 0, LogMax = 1, LogMin = 0 0.109776 [D5] Unit = 00000000, UnitExp = 0 0.109845 [D5] Exponent = 0 0.109917 [D5] hid_lookup_path: 00840004 -> UPS 0.109988 [D5] hid_lookup_path: 00840024 -> PowerSummary 0.110061 [D5] hid_lookup_path: 00840002 -> PresentStatus 0.110135 [D5] hid_lookup_path: 00850044 -> Charging 0.110208 [D1] Path: UPS.PowerSummary.PresentStatus.Charging, Type: Feature, ReportID: 0x16, Offset: 0, Size: 1, Value: 0 0.110282 [D3] Report[buf]: (5 bytes) => 16 0c 00 00 00 0.110354 [D5] PhyMax = 0, PhyMin = 0, LogMax = 1, LogMin = 0 0.110424 [D5] Unit = 00000000, UnitExp = 0 0.110493 [D5] Exponent = 0 0.110564 [D5] hid_lookup_path: 00840004 -> UPS 0.110634 [D5] hid_lookup_path: 00840024 -> PowerSummary 0.110707 [D5] hid_lookup_path: 00840002 -> PresentStatus 0.110779 [D5] hid_lookup_path: 00850045 -> Discharging 0.110853 [D1] Path: UPS.PowerSummary.PresentStatus.Discharging, Type: Input, ReportID: 0x16, Offset: 1, Size: 1, Value: 0 0.110929 [D3] Report[buf]: (5 bytes) => 16 0c 00 00 00 0.111001 [D5] PhyMax = 0, PhyMin = 0, LogMax = 1, LogMin = 0 0.111085 [D5] Unit = 00000000, UnitExp = 0 0.111163 [D5] Exponent = 0 0.111236 [D5] hid_lookup_path: 00840004 -> UPS 0.111322 [D5] hid_lookup_path: 00840024 -> PowerSummary 0.111395 [D5] hid_lookup_path: 00840002 -> PresentStatus 0.111480 [D5] hid_lookup_path: 00850045 -> Discharging 0.111554 [D1] Path: UPS.PowerSummary.PresentStatus.Discharging, Type: Feature, ReportID: 0x16, Offset: 1, Size: 1, Value: 0 0.111743 [D3] Report[buf]: (5 bytes) => 16 0c 00 00 00 0.111824 [D5] PhyMax = 0, PhyMin = 0, LogMax = 1, LogMin = 0 0.111895 [D5] Unit = 00000000, UnitExp = 0 0.111964 [D5] Exponent = 0 0.112036 [D5] hid_lookup_path: 00840004 -> UPS 0.112109 [D5] hid_lookup_path: 00840024 -> PowerSummary 0.112181 [D5] hid_lookup_path: 00840002 -> PresentStatus 0.112257 [D5] hid_lookup_path: 008500d0 -> ACPresent 0.112331 [D1] Path: UPS.PowerSummary.PresentStatus.ACPresent, Type: Input, ReportID: 0x16, Offset: 2, Size: 1, Value: 1 0.112407 [D3] Report[buf]: (5 bytes) => 16 0c 00 00 00 0.112479 [D5] PhyMax = 0, PhyMin = 0, LogMax = 1, LogMin = 0 0.112550 [D5] Unit = 00000000, UnitExp = 0 0.112620 [D5] Exponent = 0 0.112692 [D5] hid_lookup_path: 00840004 -> UPS 0.112764 [D5] hid_lookup_path: 00840024 -> PowerSummary 0.112838 [D5] hid_lookup_path: 00840002 -> PresentStatus 0.112910 [D5] hid_lookup_path: 008500d0 -> ACPresent 0.112984 [D1] Path: UPS.PowerSummary.PresentStatus.ACPresent, Type: Feature, ReportID: 0x16, Offset: 2, Size: 1, Value: 1 0.113060 [D3] Report[buf]: (5 bytes) => 16 0c 00 00 00 0.113131 [D5] PhyMax = 0, PhyMin = 0, LogMax = 1, LogMin = 0 0.113202 [D5] Unit = 00000000, UnitExp = 0 0.113272 [D5] Exponent = 0 0.113344 [D5] hid_lookup_path: 00840004 -> UPS 0.113416 [D5] hid_lookup_path: 00840024 -> PowerSummary 0.113495 [D5] hid_lookup_path: 00840002 -> PresentStatus 0.113571 [D5] hid_lookup_path: 008500d1 -> BatteryPresent 0.113649 [D1] Path: UPS.PowerSummary.PresentStatus.BatteryPresent, Type: Input, ReportID: 0x16, Offset: 3, Size: 1, Value: 1 0.113728 [D3] Report[buf]: (5 bytes) => 16 0c 00 00 00 0.113803 [D5] PhyMax = 0, PhyMin = 0, LogMax = 1, LogMin = 0 0.113873 [D5] Unit = 00000000, UnitExp = 0 0.113943 [D5] Exponent = 0 0.114017 [D5] hid_lookup_path: 00840004 -> UPS 0.114088 [D5] hid_lookup_path: 00840024 -> PowerSummary 0.114161 [D5] hid_lookup_path: 00840002 -> PresentStatus 0.114239 [D5] hid_lookup_path: 008500d1 -> BatteryPresent 0.114314 [D1] Path: UPS.PowerSummary.PresentStatus.BatteryPresent, Type: Feature, ReportID: 0x16, Offset: 3, Size: 1, Value: 1 0.114393 [D3] Report[buf]: (5 bytes) => 16 0c 00 00 00 0.114467 [D5] PhyMax = 0, PhyMin = 0, LogMax = 1, LogMin = 0 0.114538 [D5] Unit = 00000000, UnitExp = 0 0.114608 [D5] Exponent = 0 0.114680 [D5] hid_lookup_path: 00840004 -> UPS 0.114751 [D5] hid_lookup_path: 00840024 -> PowerSummary 0.114825 [D5] hid_lookup_path: 00840002 -> PresentStatus 0.114898 [D5] hid_lookup_path: 00850042 -> BelowRemainingCapacityLimit 0.114987 [D1] Path: UPS.PowerSummary.PresentStatus.BelowRemainingCapacityLimit, Type: Input, ReportID: 0x16, Offset: 4, Size: 1, Value: 0 0.115063 [D3] Report[buf]: (5 bytes) => 16 0c 00 00 00 0.115133 [D5] PhyMax = 0, PhyMin = 0, LogMax = 1, LogMin = 0 0.115204 [D5] Unit = 00000000, UnitExp = 0 0.115273 [D5] Exponent = 0 0.115346 [D5] hid_lookup_path: 00840004 -> UPS 0.115416 [D5] hid_lookup_path: 00840024 -> PowerSummary 0.115489 [D5] hid_lookup_path: 00840002 -> PresentStatus 0.115561 [D5] hid_lookup_path: 00850042 -> BelowRemainingCapacityLimit 0.115635 [D1] Path: UPS.PowerSummary.PresentStatus.BelowRemainingCapacityLimit, Type: Feature, ReportID: 0x16, Offset: 4, Size: 1, Value: 0 0.115711 [D3] Report[buf]: (5 bytes) => 16 0c 00 00 00 0.115783 [D5] PhyMax = 0, PhyMin = 0, LogMax = 1, LogMin = 0 0.115855 [D5] Unit = 00000000, UnitExp = 0 0.115924 [D5] Exponent = 0 0.115996 [D5] hid_lookup_path: 00840004 -> UPS 0.116066 [D5] hid_lookup_path: 00840024 -> PowerSummary 0.116144 [D5] hid_lookup_path: 00840002 -> PresentStatus 0.116167 [D5] hid_lookup_path: 00840069 -> ShutdownImminent 0.116203 [D1] Path: UPS.PowerSummary.PresentStatus.ShutdownImminent, Type: Input, ReportID: 0x16, Offset: 5, Size: 1, Value: 0 0.116280 [D3] Report[buf]: (5 bytes) => 16 0c 00 00 00 0.116350 [D5] PhyMax = 0, PhyMin = 0, LogMax = 1, LogMin = 0 0.116423 [D5] Unit = 00000000, UnitExp = 0 0.116491 [D5] Exponent = 0 0.116563 [D5] hid_lookup_path: 00840004 -> UPS 0.116633 [D5] hid_lookup_path: 00840024 -> PowerSummary 0.116705 [D5] hid_lookup_path: 00840002 -> PresentStatus 0.116778 [D5] hid_lookup_path: 00840069 -> ShutdownImminent 0.116851 [D1] Path: UPS.PowerSummary.PresentStatus.ShutdownImminent, Type: Feature, ReportID: 0x16, Offset: 5, Size: 1, Value: 0 0.116926 [D3] Report[buf]: (5 bytes) => 16 0c 00 00 00 0.116997 [D5] PhyMax = 0, PhyMin = 0, LogMax = 1, LogMin = 0 0.117067 [D5] Unit = 00000000, UnitExp = 0 0.117137 [D5] Exponent = 0 0.117207 [D5] hid_lookup_path: 00840004 -> UPS 0.117278 [D5] hid_lookup_path: 00840024 -> PowerSummary 0.117350 [D5] hid_lookup_path: 00840002 -> PresentStatus 0.117422 [D5] hid_lookup_path: 00850043 -> RemainingTimeLimitExpired 0.117497 [D1] Path: UPS.PowerSummary.PresentStatus.RemainingTimeLimitExpired, Type: Input, ReportID: 0x16, Offset: 6, Size: 1, Value: 0 0.117573 [D3] Report[buf]: (5 bytes) => 16 0c 00 00 00 0.117643 [D5] PhyMax = 0, PhyMin = 0, LogMax = 1, LogMin = 0 0.117714 [D5] Unit = 00000000, UnitExp = 0 0.117783 [D5] Exponent = 0 0.117854 [D5] hid_lookup_path: 00840004 -> UPS 0.117924 [D5] hid_lookup_path: 00840024 -> PowerSummary 0.117997 [D5] hid_lookup_path: 00840002 -> PresentStatus 0.118069 [D5] hid_lookup_path: 00850043 -> RemainingTimeLimitExpired 0.118143 [D1] Path: UPS.PowerSummary.PresentStatus.RemainingTimeLimitExpired, Type: Feature, ReportID: 0x16, Offset: 6, Size: 1, Value: 0 0.118219 [D3] Report[buf]: (5 bytes) => 16 0c 00 00 00 0.118319 [D5] PhyMax = 0, PhyMin = 0, LogMax = 1, LogMin = 0 0.118391 [D5] Unit = 00000000, UnitExp = 0 0.118463 [D5] Exponent = 0 0.118540 [D5] hid_lookup_path: 00840004 -> UPS 0.118610 [D5] hid_lookup_path: 00840024 -> PowerSummary 0.118683 [D5] hid_lookup_path: 00840002 -> PresentStatus 0.118758 [D5] hid_lookup_path: 00840073 -> CommunicationLost 0.118832 [D1] Path: UPS.PowerSummary.PresentStatus.CommunicationLost, Type: Input, ReportID: 0x16, Offset: 7, Size: 1, Value: 0 0.118912 [D3] Report[buf]: (5 bytes) => 16 0c 00 00 00 0.118986 [D5] PhyMax = 0, PhyMin = 0, LogMax = 1, LogMin = 0 0.119060 [D5] Unit = 00000000, UnitExp = 0 0.119132 [D5] Exponent = 0 0.119205 [D5] hid_lookup_path: 00840004 -> UPS 0.119275 [D5] hid_lookup_path: 00840024 -> PowerSummary 0.119348 [D5] hid_lookup_path: 00840002 -> PresentStatus 0.119420 [D5] hid_lookup_path: 00840073 -> CommunicationLost 0.119493 [D1] Path: UPS.PowerSummary.PresentStatus.CommunicationLost, Type: Feature, ReportID: 0x16, Offset: 7, Size: 1, Value: 0 0.119570 [D3] Report[buf]: (5 bytes) => 16 0c 00 00 00 0.119641 [D5] PhyMax = 0, PhyMin = 0, LogMax = 1, LogMin = 0 0.119711 [D5] Unit = 00000000, UnitExp = 0 0.119780 [D5] Exponent = 0 0.119852 [D5] hid_lookup_path: 00840004 -> UPS 0.119922 [D5] hid_lookup_path: 00840024 -> PowerSummary 0.119995 [D5] hid_lookup_path: 00840002 -> PresentStatus 0.120068 [D5] hid_lookup_path: 0085004b -> NeedReplacement 0.120140 [D1] Path: UPS.PowerSummary.PresentStatus.NeedReplacement, Type: Input, ReportID: 0x16, Offset: 8, Size: 1, Value: 0 0.120228 [D3] Report[buf]: (5 bytes) => 16 0c 00 00 00 0.120299 [D5] PhyMax = 0, PhyMin = 0, LogMax = 1, LogMin = 0 0.120370 [D5] Unit = 00000000, UnitExp = 0 0.120439 [D5] Exponent = 0 0.120511 [D5] hid_lookup_path: 00840004 -> UPS 0.120583 [D5] hid_lookup_path: 00840024 -> PowerSummary 0.120656 [D5] hid_lookup_path: 00840002 -> PresentStatus 0.120728 [D5] hid_lookup_path: 0085004b -> NeedReplacement 0.120806 [D1] Path: UPS.PowerSummary.PresentStatus.NeedReplacement, Type: Feature, ReportID: 0x16, Offset: 8, Size: 1, Value: 0 0.120882 [D3] Report[buf]: (5 bytes) => 16 0c 00 00 00 0.120958 [D5] PhyMax = 0, PhyMin = 0, LogMax = 1, LogMin = 0 0.121029 [D5] Unit = 00000000, UnitExp = 0 0.121100 [D5] Exponent = 0 0.121172 [D5] hid_lookup_path: 00840004 -> UPS 0.121246 [D5] hid_lookup_path: 00840024 -> PowerSummary 0.121323 [D5] hid_lookup_path: 00840002 -> PresentStatus 0.121395 [D5] hid_lookup_path: 00840065 -> Overload 0.121468 [D1] Path: UPS.PowerSummary.PresentStatus.Overload, Type: Input, ReportID: 0x16, Offset: 9, Size: 1, Value: 0 0.121543 [D3] Report[buf]: (5 bytes) => 16 0c 00 00 00 0.121614 [D5] PhyMax = 0, PhyMin = 0, LogMax = 1, LogMin = 0 0.121691 [D5] Unit = 00000000, UnitExp = 0 0.121758 [D5] Exponent = 0 0.121829 [D5] hid_lookup_path: 00840004 -> UPS 0.121899 [D5] hid_lookup_path: 00840024 -> PowerSummary 0.121972 [D5] hid_lookup_path: 00840002 -> PresentStatus 0.122044 [D5] hid_lookup_path: 00840065 -> Overload 0.122117 [D1] Path: UPS.PowerSummary.PresentStatus.Overload, Type: Feature, ReportID: 0x16, Offset: 9, Size: 1, Value: 0 0.122192 [D3] Report[buf]: (5 bytes) => 16 0c 00 00 00 0.122264 [D5] PhyMax = 0, PhyMin = 0, LogMax = 1, LogMin = 0 0.122335 [D5] Unit = 00000000, UnitExp = 0 0.122404 [D5] Exponent = 0 0.122475 [D5] hid_lookup_path: 00840004 -> UPS 0.122546 [D5] hid_lookup_path: 00840024 -> PowerSummary 0.122623 [D5] hid_lookup_path: 00840002 -> PresentStatus 0.122697 [D5] hid_lookup_path: 008500db -> VoltageNotRegulated 0.122775 [D1] Path: UPS.PowerSummary.PresentStatus.VoltageNotRegulated, Type: Input, ReportID: 0x16, Offset: 10, Size: 1, Value: 0 0.122850 [D3] Report[buf]: (5 bytes) => 16 0c 00 00 00 0.122922 [D5] PhyMax = 0, PhyMin = 0, LogMax = 1, LogMin = 0 0.122993 [D5] Unit = 00000000, UnitExp = 0 0.123063 [D5] Exponent = 0 0.123135 [D5] hid_lookup_path: 00840004 -> UPS 0.123205 [D5] hid_lookup_path: 00840024 -> PowerSummary 0.123278 [D5] hid_lookup_path: 00840002 -> PresentStatus 0.123350 [D5] hid_lookup_path: 008500db -> VoltageNotRegulated 0.123424 [D1] Path: UPS.PowerSummary.PresentStatus.VoltageNotRegulated, Type: Feature, ReportID: 0x16, Offset: 10, Size: 1, Value: 0 0.123496 [D4] Entering libusb_get_report 0.125713 [D3] Report[get]: (3 bytes) => 17 78 00 0.125792 [D5] PhyMax = 0, PhyMin = 0, LogMax = 65535, LogMin = 0 0.125865 [D5] Unit = 00001001, UnitExp = 0 0.125934 [D5] Exponent = 0 0.126005 [D5] hid_lookup_path: 00840004 -> UPS 0.126076 [D5] hid_lookup_path: 00840024 -> PowerSummary 0.126150 [D5] hid_lookup_path: 0085002a -> RemainingTimeLimit 0.126226 [D1] Path: UPS.PowerSummary.RemainingTimeLimit, Type: Feature, ReportID: 0x17, Offset: 0, Size: 16, Value: 120 0.126298 [D4] Entering libusb_get_report 0.128461 [D3] Report[get]: (2 bytes) => 18 02 0.128540 [D5] PhyMax = 0, PhyMin = 0, LogMax = 2, LogMin = 1 0.128611 [D5] Unit = 00000000, UnitExp = 0 0.128694 [D5] Exponent = 0 0.128767 [D5] hid_lookup_path: 00840004 -> UPS 0.128839 [D5] hid_lookup_path: 00840024 -> PowerSummary 0.128912 [D5] hid_lookup_path: 0084005a -> AudibleAlarmControl 0.128987 [D1] Path: UPS.PowerSummary.AudibleAlarmControl, Type: Feature, ReportID: 0x18, Offset: 0, Size: 8, Value: 2 0.129060 [D4] Entering libusb_get_report 0.131210 [D3] Report[get]: (4 bytes) => 1c 01 25 09 0.131289 [D5] PhyMax = 0, PhyMin = 0, LogMax = 16777215, LogMin = 0 0.131360 [D5] Unit = 00000000, UnitExp = 0 0.131430 [D5] Exponent = 0 0.131502 [D5] hid_lookup_path: 00840004 -> UPS 0.131572 [D5] hid_lookup_path: 00840012 -> Battery 0.131646 [D5] hid_lookup_path: ff860016 -> APCBattReplaceDate 0.131722 [D1] Path: UPS.Battery.APCBattReplaceDate, Type: Feature, ReportID: 0x1c, Offset: 0, Size: 24, Value: 599297 0.131795 [D4] Entering libusb_get_report 0.133959 [D3] Report[get]: (3 bytes) => 20 62 52 0.134037 [D5] PhyMax = 0, PhyMin = 0, LogMax = 65535, LogMin = 0 0.134109 [D5] Unit = 00000000, UnitExp = 0 0.134178 [D5] Exponent = 0 0.134252 [D5] hid_lookup_path: 00840004 -> UPS 0.134324 [D5] hid_lookup_path: 00840012 -> Battery 0.134399 [D5] hid_lookup_path: 00850085 -> ManufacturerDate 0.134475 [D1] Path: UPS.Battery.ManufacturerDate, Type: Feature, ReportID: 0x20, Offset: 0, Size: 16, Value: 21090 0.134547 [D4] Entering libusb_get_report 0.136715 [D3] Report[get]: (2 bytes) => 21 06 0.136797 [D5] PhyMax = 0, PhyMin = 0, LogMax = 6, LogMin = 0 0.136870 [D5] Unit = 00000000, UnitExp = 0 0.136938 [D5] Exponent = 0 0.137011 [D5] hid_lookup_path: 00840004 -> UPS 0.137082 [D5] hid_lookup_path: 00840012 -> Battery 0.137156 [D5] hid_lookup_path: 00840058 -> Test 0.137230 [D1] Path: UPS.Battery.Test, Type: Input, ReportID: 0x21, Offset: 0, Size: 8, Value: 6 0.137304 [D3] Report[buf]: (2 bytes) => 21 06 0.137376 [D5] PhyMax = 0, PhyMin = 0, LogMax = 6, LogMin = 0 0.137448 [D5] Unit = 00000000, UnitExp = 0 0.137517 [D5] Exponent = 0 0.137589 [D5] hid_lookup_path: 00840004 -> UPS 0.137659 [D5] hid_lookup_path: 00840012 -> Battery 0.137732 [D5] hid_lookup_path: 00840058 -> Test 0.137819 [D1] Path: UPS.Battery.Test, Type: Feature, ReportID: 0x21, Offset: 0, Size: 8, Value: 6 0.137890 [D4] Entering libusb_get_report 0.139464 [D3] Report[get]: (2 bytes) => 22 64 0.139546 [D5] PhyMax = 0, PhyMin = 0, LogMax = 100, LogMin = 0 0.139618 [D5] Unit = 00000000, UnitExp = 0 0.139687 [D5] Exponent = 0 0.139758 [D5] hid_lookup_path: 00840004 -> UPS 0.139829 [D5] hid_lookup_path: 00840012 -> Battery 0.139902 [D5] hid_lookup_path: 00850066 -> RemainingCapacity 0.139978 [D1] Path: UPS.Battery.RemainingCapacity, Type: Feature, ReportID: 0x22, Offset: 0, Size: 8, Value: 100 0.140050 [D4] Entering libusb_get_report 0.142213 [D3] Report[get]: (3 bytes) => 23 90 10 0.142293 [D5] PhyMax = 0, PhyMin = 0, LogMax = 65535, LogMin = 0 0.142365 [D5] Unit = 00001001, UnitExp = 0 0.142435 [D5] Exponent = 0 0.142507 [D5] hid_lookup_path: 00840004 -> UPS 0.142578 [D5] hid_lookup_path: 00840012 -> Battery 0.142653 [D5] hid_lookup_path: 00850068 -> RunTimeToEmpty 0.142729 [D1] Path: UPS.Battery.RunTimeToEmpty, Type: Feature, ReportID: 0x23, Offset: 0, Size: 16, Value: 4240 0.142801 [D4] Entering libusb_get_report 0.144964 [D3] Report[get]: (3 bytes) => 24 78 00 0.145043 [D5] PhyMax = 0, PhyMin = 0, LogMax = 65535, LogMin = 0 0.145114 [D5] Unit = 00001001, UnitExp = 0 0.145184 [D5] Exponent = 0 0.145256 [D5] hid_lookup_path: 00840004 -> UPS 0.145326 [D5] hid_lookup_path: 00840012 -> Battery 0.145399 [D5] hid_lookup_path: 0085002a -> RemainingTimeLimit 0.145474 [D1] Path: UPS.Battery.RemainingTimeLimit, Type: Feature, ReportID: 0x24, Offset: 0, Size: 16, Value: 120 0.145547 [D4] Entering libusb_get_report 0.147714 [D3] Report[get]: (3 bytes) => 25 b0 04 0.147794 [D5] PhyMax = 0, PhyMin = 0, LogMax = 65535, LogMin = 0 0.147868 [D5] Unit = 00f0d121, UnitExp = 5 0.147937 [D5] Exponent = -2 0.148010 [D5] hid_lookup_path: 00840004 -> UPS 0.148081 [D5] hid_lookup_path: 00840012 -> Battery 0.148167 [D5] hid_lookup_path: 00840040 -> ConfigVoltage 0.148244 [D1] Path: UPS.Battery.ConfigVoltage, Type: Feature, ReportID: 0x25, Offset: 0, Size: 16, Value: 12 0.148341 [D4] Entering libusb_get_report 0.150464 [D3] Report[get]: (3 bytes) => 26 4f 05 0.150543 [D5] PhyMax = 0, PhyMin = 0, LogMax = 65535, LogMin = 0 0.150615 [D5] Unit = 00f0d121, UnitExp = 5 0.150684 [D5] Exponent = -2 0.150757 [D5] hid_lookup_path: 00840004 -> UPS 0.150828 [D5] hid_lookup_path: 00840012 -> Battery 0.150901 [D5] hid_lookup_path: 00840030 -> Voltage 0.150976 [D1] Path: UPS.Battery.Voltage, Type: Feature, ReportID: 0x26, Offset: 0, Size: 16, Value: 13.59 0.151050 [D4] Entering libusb_get_report 0.153218 [D3] Report[get]: (3 bytes) => 27 f3 00 0.153297 [D5] PhyMax = 0, PhyMin = 0, LogMax = 254, LogMin = 233 0.153368 [D5] Unit = 00000000, UnitExp = 0 0.153437 [D5] Exponent = 0 0.153509 [D5] hid_lookup_path: 00840004 -> UPS 0.153579 [D5] hid_lookup_path: 00840012 -> Battery 0.153653 [D5] hid_lookup_path: ff860024 -> not found in lookup table 0.153729 [D1] Path: UPS.Battery.ff860024, Type: Feature, ReportID: 0x27, Offset: 0, Size: 16, Value: 243 0.153801 [D4] Entering libusb_get_report 0.155969 [D3] Report[get]: (5 bytes) => 28 03 93 13 8e 0.156049 [D5] PhyMax = 0, PhyMin = 0, LogMax = 2147483647, LogMin = -2147483647 0.156121 [D5] Unit = 00000000, UnitExp = 0 0.156189 [D5] Exponent = 0 0.156263 [D5] hid_lookup_path: 00840004 -> UPS 0.156333 [D5] hid_lookup_path: 00840012 -> Battery 0.156408 [D5] hid_lookup_path: ff860018 -> not found in lookup table 0.156484 [D1] Path: UPS.Battery.ff860018, Type: Feature, ReportID: 0x28, Offset: 0, Size: 32, Value: -1.91132e+09 0.156556 [D4] Entering libusb_get_report 0.158719 [D3] Report[get]: (2 bytes) => 30 e6 0.158798 [D5] PhyMax = 0, PhyMin = 0, LogMax = 255, LogMin = 0 0.158869 [D5] Unit = 00f0d121, UnitExp = 7 0.158938 [D5] Exponent = 0 0.159009 [D5] hid_lookup_path: 00840004 -> UPS 0.159079 [D5] hid_lookup_path: 0084001a -> Input 0.159152 [D5] hid_lookup_path: 00840040 -> ConfigVoltage 0.159244 [D1] Path: UPS.Input.ConfigVoltage, Type: Feature, ReportID: 0x30, Offset: 0, Size: 8, Value: 230 0.159317 [D4] Entering libusb_get_report 0.161467 [D3] Report[get]: (3 bytes) => 31 e8 00 0.161548 [D5] PhyMax = 0, PhyMin = 0, LogMax = 556, LogMin = 0 0.161619 [D5] Unit = 00f0d121, UnitExp = 7 0.161689 [D5] Exponent = 0 0.161863 [D5] hid_lookup_path: 00840004 -> UPS 0.161938 [D5] hid_lookup_path: 0084001a -> Input 0.162011 [D5] hid_lookup_path: 00840030 -> Voltage 0.162088 [D1] Path: UPS.Input.Voltage, Type: Feature, ReportID: 0x31, Offset: 0, Size: 16, Value: 232 0.162161 [D4] Entering libusb_get_report 0.164218 [D3] Report[get]: (3 bytes) => 32 b4 00 0.164297 [D5] PhyMax = 0, PhyMin = 0, LogMax = 196, LogMin = 160 0.164370 [D5] Unit = 00f0d121, UnitExp = 7 0.164439 [D5] Exponent = 0 0.164511 [D5] hid_lookup_path: 00840004 -> UPS 0.164583 [D5] hid_lookup_path: 0084001a -> Input 0.164658 [D5] hid_lookup_path: 00840053 -> LowVoltageTransfer 0.164734 [D1] Path: UPS.Input.LowVoltageTransfer, Type: Feature, ReportID: 0x32, Offset: 0, Size: 16, Value: 180 0.164807 [D4] Entering libusb_get_report 0.166967 [D3] Report[get]: (3 bytes) => 33 0a 01 0.167046 [D5] PhyMax = 0, PhyMin = 0, LogMax = 278, LogMin = 256 0.167117 [D5] Unit = 00f0d121, UnitExp = 7 0.167187 [D5] Exponent = 0 0.167259 [D5] hid_lookup_path: 00840004 -> UPS 0.167330 [D5] hid_lookup_path: 0084001a -> Input 0.167404 [D5] hid_lookup_path: 00840054 -> HighVoltageTransfer 0.167479 [D1] Path: UPS.Input.HighVoltageTransfer, Type: Feature, ReportID: 0x33, Offset: 0, Size: 16, Value: 266 0.167550 [D4] Entering libusb_get_report 0.169719 [D3] Report[get]: (3 bytes) => 34 80 00 0.169797 [D5] PhyMax = 0, PhyMin = 0, LogMax = 141, LogMin = 115 0.169870 [D5] Unit = 00000000, UnitExp = 0 0.169939 [D5] Exponent = 0 0.170011 [D5] hid_lookup_path: 00840004 -> UPS 0.170098 [D5] hid_lookup_path: 0084001a -> Input 0.170173 [D5] hid_lookup_path: ff860024 -> not found in lookup table 0.170249 [D1] Path: UPS.Input.ff860024, Type: Feature, ReportID: 0x34, Offset: 0, Size: 16, Value: 128 0.170321 [D4] Entering libusb_get_report 0.172467 [D3] Report[get]: (2 bytes) => 35 01 0.172546 [D5] PhyMax = 0, PhyMin = 0, LogMax = 2, LogMin = 0 0.172617 [D5] Unit = 00000000, UnitExp = 0 0.172687 [D5] Exponent = 0 0.172759 [D5] hid_lookup_path: 00840004 -> UPS 0.172830 [D5] hid_lookup_path: 0084001a -> Input 0.172903 [D5] hid_lookup_path: ff860061 -> APCSensitivity 0.172977 [D1] Path: UPS.Input.APCSensitivity, Type: Feature, ReportID: 0x35, Offset: 0, Size: 8, Value: 1 0.173051 [D4] Entering libusb_get_report 0.175217 [D3] Report[get]: (2 bytes) => 36 00 0.175295 [D5] PhyMax = 0, PhyMin = 0, LogMax = 13, LogMin = 0 0.175368 [D5] Unit = 00000000, UnitExp = 0 0.175437 [D5] Exponent = 0 0.175508 [D5] hid_lookup_path: 00840004 -> UPS 0.175578 [D5] hid_lookup_path: 0084001a -> Input 0.175651 [D5] hid_lookup_path: ff860052 -> APCLineFailCause 0.175725 [D1] Path: UPS.Input.APCLineFailCause, Type: Feature, ReportID: 0x36, Offset: 0, Size: 8, Value: 0 0.175796 [D4] Entering libusb_get_report 0.177967 [D3] Report[get]: (2 bytes) => 40 00 0.178046 [D5] PhyMax = 0, PhyMin = 0, LogMax = 1, LogMin = 0 0.178118 [D5] Unit = 00000000, UnitExp = 0 0.178186 [D5] Exponent = 0 0.178259 [D5] hid_lookup_path: 00840004 -> UPS 0.178356 [D5] hid_lookup_path: ff860005 -> APCGeneralCollection 0.178429 [D5] hid_lookup_path: ff86007c -> APCDelayBeforeReboot 0.178504 [D1] Path: UPS.APCGeneralCollection.APCDelayBeforeReboot, Type: Feature, ReportID: 0x40, Offset: 0, Size: 8, Value: 0 0.178575 [D4] Entering libusb_get_report 0.180718 [D3] Report[get]: (3 bytes) => 41 ff ff 0.180798 [D5] PhyMax = 0, PhyMin = 0, LogMax = 32767, LogMin = -1 0.180871 [D5] Unit = 00001001, UnitExp = 0 0.180940 [D5] Exponent = 0 0.181012 [D5] hid_lookup_path: 00840004 -> UPS 0.181097 [D5] hid_lookup_path: ff860005 -> APCGeneralCollection 0.181170 [D5] hid_lookup_path: ff86007d -> APCDelayBeforeShutdown 0.181244 [D1] Path: UPS.APCGeneralCollection.APCDelayBeforeShutdown, Type: Feature, ReportID: 0x41, Offset: 0, Size: 16, Value: -1 0.181317 [D4] Entering libusb_get_report 0.183468 [D3] Report[get]: (3 bytes) => 42 ff ff ```
irudoy commented 2 years ago

Hi, @jimklimov! Sorry for the ping, but recently I tried to make another attempt to test my UPS with the latest version of the Nut. And unfortunately, I can't even start the driver now.

Seems like it can't get the serial number for the unit.

Configured like this:

./configure \
    --prefix= \
    --sysconfdir=/etc/nut \
    --includedir=/usr/include \
    --mandir=/usr/share/man \
    --libdir=/usr/lib/arm-linux-gnueabihf \
    --with-dev \
    --enable-static \
    --with-drvpath=/lib/nut \
    --datadir=/usr/share/nut \
    --with-user=nut \
    --with-group=nut \
    --with-udev-dir=/lib/udev \
    --with-systemdsystemunitdir=/lib/systemd/system \
    --with-systemdshutdowndir=/lib/systemd/system-shutdown

and then

make all
sudo make install
mkdir -p /var/state/ups
sudo chmod 0770 /var/state/ups
sudo chown nut:nut /var/state/ups # also tried root:nut

Trying to start the driver:

$ sudo -u nut /lib/nut/usbhid-ups -a apcbu -DDDDD
Network UPS Tools - Generic HID driver 0.47 (2.8.0-86-g67c6cd5be)
USB communication driver (libusb 1.0) 0.43
   0.000000 [D1] debug level is '5'
   0.001268 [D5] send_to_all: SETINFO device.type "ups"
   0.001341 [D2] Initializing an USB-connected UPS with library libusb-1.0.22 (API: 0x1000106) (NUT subdriver name='USB communication driver (libusb 1.0)' ver='0.43')
   0.001399 [D1] upsdrv_initups (non-SHUT)...
   0.031787 [D2] Checking device 1 of 8 (1D6B/0003)
   0.031950 [D1] Failed to open device (1D6B/0003), skipping: Access denied (insufficient permissions)
   0.032055 [D2] Checking device 2 of 8 (051D/0002)
   0.033149 [D1] nut_libusb_open get iManufacturer failed, retrying...
   0.033983 [D1] nut_libusb_open get iManufacturer failed, retrying...
   0.034858 [D1] nut_libusb_open get iManufacturer failed, retrying...
   0.035730 [D1] nut_libusb_open get iProduct failed, retrying...
   0.036604 [D1] nut_libusb_open get iProduct failed, retrying...
   0.037481 [D1] nut_libusb_open get iProduct failed, retrying...
   0.038357 [D1] nut_libusb_open get iSerialNumber failed, retrying...
   0.039231 [D1] nut_libusb_open get iSerialNumber failed, retrying...
   0.040104 [D1] nut_libusb_open get iSerialNumber failed, retrying...
   0.040160 [D2] - VendorID: 051d
   0.040213 [D2] - ProductID: 0002
   0.040266 [D2] - Manufacturer: unknown
   0.040315 [D2] - Product: unknown
   0.040367 [D2] - Serial Number: unknown
   0.040417 [D2] - Bus: 001
   0.040467 [D2] - Device: unknown
   0.040514 [D2] - Device release number: 0090
   0.040560 [D2] Trying to match device
   0.040612 [D2] match_function_subdriver (non-SHUT mode): matching a device...
   0.040669 device->Product is NULL so it is not possible to determine whether to activate max_report_size workaround
   0.040723 [D3] match_function_regex: matching a device...
   0.040913 [D2] match_function_regex: failed match of Serial: (null)
   0.040972 [D2] Device does not match - skipping
   0.041084 [D2] Checking device 3 of 8 (0A05/7220)
   0.041201 [D1] Failed to open device (0A05/7220), skipping: Access denied (insufficient permissions)
   0.041259 [D2] Checking device 4 of 8 (10C4/EA60)
   0.041345 [D1] Failed to open device (10C4/EA60), skipping: Access denied (insufficient permissions)
   0.041403 [D2] Checking device 5 of 8 (1A86/7523)
   0.041487 [D1] Failed to open device (1A86/7523), skipping: Access denied (insufficient permissions)
   0.041542 [D2] Checking device 6 of 8 (0951/1665)
   0.041624 [D1] Failed to open device (0951/1665), skipping: Access denied (insufficient permissions)
   0.041677 [D2] Checking device 7 of 8 (2109/3431)
   0.041754 [D1] Failed to open device (2109/3431), skipping: Access denied (insufficient permissions)
   0.041812 [D2] Checking device 8 of 8 (1D6B/0002)
   0.041895 [D1] Failed to open device (1D6B/0002), skipping: Access denied (insufficient permissions)
   0.041956 [D2] libusb1: No appropriate HID device found
   0.042060 libusb1: Could not open any HID devices: insufficient permissions on everything
   0.042117 No matching HID UPS found

And another try with root user

pi@spruthub:~$ sudo /lib/nut/usbhid-ups -a apcbu -u root -DDDDD
Network UPS Tools - Generic HID driver 0.47 (2.8.0-86-g67c6cd5be)
USB communication driver (libusb 1.0) 0.43
   0.000000 [D1] debug level is '5'
   0.002140 [D5] send_to_all: SETINFO device.type "ups"
   0.002212 [D2] Initializing an USB-connected UPS with library libusb-1.0.22 (API: 0x1000106) (NUT subdriver name='USB communication driver (libusb 1.0)' ver='0.43')
   0.002263 [D1] upsdrv_initups (non-SHUT)...
   0.029635 [D2] Checking device 1 of 8 (1D6B/0003)
   0.070041 [D2] - VendorID: 1d6b
   0.070120 [D2] - ProductID: 0003
   0.070161 [D2] - Manufacturer: Linux 5.10.103-v7l+ xhci-hcd
   0.070197 [D2] - Product: xHCI Host Controller
   0.070269 [D2] - Serial Number: 0000:01:00.0
   0.070383 [D2] - Bus: 002
   0.070495 [D2] - Device: unknown
   0.070608 [D2] - Device release number: 0510
   0.070721 [D2] Trying to match device
   0.070835 [D2] match_function_subdriver (non-SHUT mode): matching a device...
   0.070965 [D2] match_function_subdriver (non-SHUT mode): failed to match a subdriver to vendor and/or product ID
   0.071087 [D2] Device does not match - skipping
   0.071588 [D2] Checking device 2 of 8 (051D/0002)
   0.072609 [D1] nut_libusb_open get iManufacturer failed, retrying...
   0.073601 [D1] nut_libusb_open get iManufacturer failed, retrying...
   0.074474 [D1] nut_libusb_open get iManufacturer failed, retrying...
   0.075346 [D1] nut_libusb_open get iProduct failed, retrying...
   0.076223 [D1] nut_libusb_open get iProduct failed, retrying...
   0.077098 [D1] nut_libusb_open get iProduct failed, retrying...
   0.077973 [D1] nut_libusb_open get iSerialNumber failed, retrying...
   0.079007 [D1] nut_libusb_open get iSerialNumber failed, retrying...
   0.079980 [D1] nut_libusb_open get iSerialNumber failed, retrying...
   0.080103 [D2] - VendorID: 051d
   0.080217 [D2] - ProductID: 0002
   0.080328 [D2] - Manufacturer: unknown
   0.080440 [D2] - Product: unknown
   0.080552 [D2] - Serial Number: unknown
   0.080664 [D2] - Bus: 001
   0.080775 [D2] - Device: unknown
   0.080887 [D2] - Device release number: 0090
   0.080999 [D2] Trying to match device
   0.081114 [D2] match_function_subdriver (non-SHUT mode): matching a device...
   0.081232 device->Product is NULL so it is not possible to determine whether to activate max_report_size workaround
   0.081348 [D3] match_function_regex: matching a device...
   0.081582 [D2] match_function_regex: failed match of Serial: (null)
   0.081704 [D2] Device does not match - skipping
   0.081860 [D2] Checking device 3 of 8 (0A05/7220)
   0.082047 [D2] - VendorID: 0a05
   0.082165 [D2] - ProductID: 7220
   0.082278 [D2] - Manufacturer: unknown
   0.082389 [D2] - Product: unknown
   0.082500 [D2] - Serial Number: unknown
   0.082612 [D2] - Bus: 001
   0.082714 [D2] - Device: unknown
   0.082788 [D2] - Device release number: 0100
   0.082903 [D2] Trying to match device
   0.083015 [D2] match_function_subdriver (non-SHUT mode): matching a device...
   0.083138 [D2] match_function_subdriver (non-SHUT mode): failed to match a subdriver to vendor and/or product ID
   0.083237 [D2] Device does not match - skipping
   0.083373 [D2] Checking device 4 of 8 (10C4/EA60)
   0.088388 [D2] - VendorID: 10c4
   0.088509 [D2] - ProductID: ea60
   0.088622 [D2] - Manufacturer: Silicon Labs
   0.088734 [D2] - Product: CP2102 USB to UART Bridge Controller
   0.088846 [D2] - Serial Number: 0001
   0.089000 [D2] - Bus: 001
   0.089113 [D2] - Device: unknown
   0.089277 [D2] - Device release number: 0100
   0.089392 [D2] Trying to match device
   0.089506 [D2] match_function_subdriver (non-SHUT mode): matching a device...
   0.089626 [D2] match_function_subdriver (non-SHUT mode): failed to match a subdriver to vendor and/or product ID
   0.089740 [D2] Device does not match - skipping
   0.089888 [D2] Checking device 5 of 8 (1A86/7523)
   0.093641 [D2] - VendorID: 1a86
   0.093766 [D2] - ProductID: 7523
   0.093878 [D2] - Manufacturer: unknown
   0.093989 [D2] - Product: USB Serial
   0.094101 [D2] - Serial Number: unknown
   0.094212 [D2] - Bus: 001
   0.094323 [D2] - Device: unknown
   0.094436 [D2] - Device release number: 0264
   0.094549 [D2] Trying to match device
   0.094662 [D2] match_function_subdriver (non-SHUT mode): matching a device...
   0.094785 [D2] match_function_subdriver (non-SHUT mode): failed to match a subdriver to vendor and/or product ID
   0.094900 [D2] Device does not match - skipping
   0.095044 [D2] Checking device 6 of 8 (0951/1665)
   0.098187 [D2] - VendorID: 0951
   0.098307 [D2] - ProductID: 1665
   0.098419 [D2] - Manufacturer: Kingston
   0.098531 [D2] - Product: DataTraveler 2.0
   0.098644 [D2] - Serial Number: 1C6F6581FDFCBEA0192308DD
   0.098759 [D2] - Bus: 001
   0.098869 [D2] - Device: unknown
   0.099020 [D2] - Device release number: 0100
   0.099133 [D2] Trying to match device
   0.099245 [D2] match_function_subdriver (non-SHUT mode): matching a device...
   0.099428 [D2] match_function_subdriver (non-SHUT mode): failed to match a subdriver to vendor and/or product ID
   0.099552 [D2] Device does not match - skipping
   0.099702 [D2] Checking device 7 of 8 (2109/3431)
   0.100608 [D2] - VendorID: 2109
   0.100728 [D2] - ProductID: 3431
   0.100841 [D2] - Manufacturer: unknown
   0.100953 [D2] - Product: USB2.0 Hub
   0.101065 [D2] - Serial Number: unknown
   0.101176 [D2] - Bus: 001
   0.101288 [D2] - Device: unknown
   0.101400 [D2] - Device release number: 0421
   0.101512 [D2] Trying to match device
   0.101624 [D2] match_function_subdriver (non-SHUT mode): matching a device...
   0.101743 [D2] match_function_subdriver (non-SHUT mode): failed to match a subdriver to vendor and/or product ID
   0.101858 [D2] Device does not match - skipping
   0.102003 [D2] Checking device 8 of 8 (1D6B/0002)
   0.102626 [D2] - VendorID: 1d6b
   0.102746 [D2] - ProductID: 0002
   0.102858 [D2] - Manufacturer: Linux 5.10.103-v7l+ xhci-hcd
   0.102971 [D2] - Product: xHCI Host Controller
   0.103082 [D2] - Serial Number: 0000:01:00.0
   0.103193 [D2] - Bus: 001
   0.103305 [D2] - Device: unknown
   0.103416 [D2] - Device release number: 0510
   0.103527 [D2] Trying to match device
   0.103639 [D2] match_function_subdriver (non-SHUT mode): matching a device...
   0.103756 [D2] match_function_subdriver (non-SHUT mode): failed to match a subdriver to vendor and/or product ID
   0.103870 [D2] Device does not match - skipping
   0.104021 [D2] libusb1: No appropriate HID device found
   0.104143 libusb1: Could not open any HID devices: insufficient permissions on everything
   0.104257 No matching HID UPS found

I tried various configure options, with no luck. Can you point me in the right direction?

jimklimov commented 2 years ago

For some reason it is not getting basic data (Product etc), check if any other program (another driver instance?) has grabbed the device and catches the responses?

On Wed, May 25, 2022, 16:36 Ivan Rudoy @.***> wrote:

Hi, @jimklimov https://github.com/jimklimov! Sorry for the ping, but recently I tried to make another attempt to test my UPS with the latest version on the Nut. And unfortunately, I can't even start the driver now.

Configured like this:

./configure \ --prefix= \ --sysconfdir=/etc/nut \ --includedir=/usr/include \ --mandir=/usr/share/man \ --libdir=/usr/lib/arm-linux-gnueabihf \ --with-dev \ --enable-static \ --with-drvpath=/lib/nut \ --datadir=/usr/share/nut \ --with-user=nut \ --with-group=nut \ --with-udev-dir=/lib/udev \ --with-systemdsystemunitdir=/lib/systemd/system \ --with-systemdshutdowndir=/lib/systemd/system-shutdown

and then

make all sudo make install mkdir -p /var/state/ups sudo chmod 0770 /var/state/ups sudo chown nut:nut /var/state/ups # also tried root:nut

Trying to start the driver:

$ sudo -u nut /lib/nut/usbhid-ups -a apcbu -DDDDD Network UPS Tools - Generic HID driver 0.47 (2.8.0-86-g67c6cd5be) USB communication driver (libusb 1.0) 0.43 0.000000 [D1] debug level is '5' 0.001268 [D5] send_to_all: SETINFO device.type "ups" 0.001341 [D2] Initializing an USB-connected UPS with library libusb-1.0.22 (API: 0x1000106) (NUT subdriver name='USB communication driver (libusb 1.0)' ver='0.43') 0.001399 [D1] upsdrv_initups (non-SHUT)... 0.031787 [D2] Checking device 1 of 8 (1D6B/0003) 0.031950 [D1] Failed to open device (1D6B/0003), skipping: Access denied (insufficient permissions) 0.032055 [D2] Checking device 2 of 8 (051D/0002) 0.033149 [D1] nut_libusb_open get iManufacturer failed, retrying... 0.033983 [D1] nut_libusb_open get iManufacturer failed, retrying... 0.034858 [D1] nut_libusb_open get iManufacturer failed, retrying... 0.035730 [D1] nut_libusb_open get iProduct failed, retrying... 0.036604 [D1] nut_libusb_open get iProduct failed, retrying... 0.037481 [D1] nut_libusb_open get iProduct failed, retrying... 0.038357 [D1] nut_libusb_open get iSerialNumber failed, retrying... 0.039231 [D1] nut_libusb_open get iSerialNumber failed, retrying... 0.040104 [D1] nut_libusb_open get iSerialNumber failed, retrying... 0.040160 [D2] - VendorID: 051d 0.040213 [D2] - ProductID: 0002 0.040266 [D2] - Manufacturer: unknown 0.040315 [D2] - Product: unknown 0.040367 [D2] - Serial Number: unknown 0.040417 [D2] - Bus: 001 0.040467 [D2] - Device: unknown 0.040514 [D2] - Device release number: 0090 0.040560 [D2] Trying to match device 0.040612 [D2] match_function_subdriver (non-SHUT mode): matching a device... 0.040669 device->Product is NULL so it is not possible to determine whether to activate max_report_size workaround 0.040723 [D3] match_function_regex: matching a device... 0.040913 [D2] match_function_regex: failed match of Serial: (null) 0.040972 [D2] Device does not match - skipping 0.041084 [D2] Checking device 3 of 8 (0A05/7220) 0.041201 [D1] Failed to open device (0A05/7220), skipping: Access denied (insufficient permissions) 0.041259 [D2] Checking device 4 of 8 (10C4/EA60) 0.041345 [D1] Failed to open device (10C4/EA60), skipping: Access denied (insufficient permissions) 0.041403 [D2] Checking device 5 of 8 (1A86/7523) 0.041487 [D1] Failed to open device (1A86/7523), skipping: Access denied (insufficient permissions) 0.041542 [D2] Checking device 6 of 8 (0951/1665) 0.041624 [D1] Failed to open device (0951/1665), skipping: Access denied (insufficient permissions) 0.041677 [D2] Checking device 7 of 8 (2109/3431) 0.041754 [D1] Failed to open device (2109/3431), skipping: Access denied (insufficient permissions) 0.041812 [D2] Checking device 8 of 8 (1D6B/0002) 0.041895 [D1] Failed to open device (1D6B/0002), skipping: Access denied (insufficient permissions) 0.041956 [D2] libusb1: No appropriate HID device found 0.042060 libusb1: Could not open any HID devices: insufficient permissions on everything 0.042117 No matching HID UPS found

And another try with root user

@.***:~$ sudo /lib/nut/usbhid-ups -a apcbu -u root -DDDDD Network UPS Tools - Generic HID driver 0.47 (2.8.0-86-g67c6cd5be) USB communication driver (libusb 1.0) 0.43 0.000000 [D1] debug level is '5' 0.002140 [D5] send_to_all: SETINFO device.type "ups" 0.002212 [D2] Initializing an USB-connected UPS with library libusb-1.0.22 (API: 0x1000106) (NUT subdriver name='USB communication driver (libusb 1.0)' ver='0.43') 0.002263 [D1] upsdrv_initups (non-SHUT)... 0.029635 [D2] Checking device 1 of 8 (1D6B/0003) 0.070041 [D2] - VendorID: 1d6b 0.070120 [D2] - ProductID: 0003 0.070161 [D2] - Manufacturer: Linux 5.10.103-v7l+ xhci-hcd 0.070197 [D2] - Product: xHCI Host Controller 0.070269 [D2] - Serial Number: 0000:01:00.0 0.070383 [D2] - Bus: 002 0.070495 [D2] - Device: unknown 0.070608 [D2] - Device release number: 0510 0.070721 [D2] Trying to match device 0.070835 [D2] match_function_subdriver (non-SHUT mode): matching a device... 0.070965 [D2] match_function_subdriver (non-SHUT mode): failed to match a subdriver to vendor and/or product ID 0.071087 [D2] Device does not match - skipping 0.071588 [D2] Checking device 2 of 8 (051D/0002) 0.072609 [D1] nut_libusb_open get iManufacturer failed, retrying... 0.073601 [D1] nut_libusb_open get iManufacturer failed, retrying... 0.074474 [D1] nut_libusb_open get iManufacturer failed, retrying... 0.075346 [D1] nut_libusb_open get iProduct failed, retrying... 0.076223 [D1] nut_libusb_open get iProduct failed, retrying... 0.077098 [D1] nut_libusb_open get iProduct failed, retrying... 0.077973 [D1] nut_libusb_open get iSerialNumber failed, retrying... 0.079007 [D1] nut_libusb_open get iSerialNumber failed, retrying... 0.079980 [D1] nut_libusb_open get iSerialNumber failed, retrying... 0.080103 [D2] - VendorID: 051d 0.080217 [D2] - ProductID: 0002 0.080328 [D2] - Manufacturer: unknown 0.080440 [D2] - Product: unknown 0.080552 [D2] - Serial Number: unknown 0.080664 [D2] - Bus: 001 0.080775 [D2] - Device: unknown 0.080887 [D2] - Device release number: 0090 0.080999 [D2] Trying to match device 0.081114 [D2] match_function_subdriver (non-SHUT mode): matching a device... 0.081232 device->Product is NULL so it is not possible to determine whether to activate max_report_size workaround 0.081348 [D3] match_function_regex: matching a device... 0.081582 [D2] match_function_regex: failed match of Serial: (null) 0.081704 [D2] Device does not match - skipping 0.081860 [D2] Checking device 3 of 8 (0A05/7220) 0.082047 [D2] - VendorID: 0a05 0.082165 [D2] - ProductID: 7220 0.082278 [D2] - Manufacturer: unknown 0.082389 [D2] - Product: unknown 0.082500 [D2] - Serial Number: unknown 0.082612 [D2] - Bus: 001 0.082714 [D2] - Device: unknown 0.082788 [D2] - Device release number: 0100 0.082903 [D2] Trying to match device 0.083015 [D2] match_function_subdriver (non-SHUT mode): matching a device... 0.083138 [D2] match_function_subdriver (non-SHUT mode): failed to match a subdriver to vendor and/or product ID 0.083237 [D2] Device does not match - skipping 0.083373 [D2] Checking device 4 of 8 (10C4/EA60) 0.088388 [D2] - VendorID: 10c4 0.088509 [D2] - ProductID: ea60 0.088622 [D2] - Manufacturer: Silicon Labs 0.088734 [D2] - Product: CP2102 USB to UART Bridge Controller 0.088846 [D2] - Serial Number: 0001 0.089000 [D2] - Bus: 001 0.089113 [D2] - Device: unknown 0.089277 [D2] - Device release number: 0100 0.089392 [D2] Trying to match device 0.089506 [D2] match_function_subdriver (non-SHUT mode): matching a device... 0.089626 [D2] match_function_subdriver (non-SHUT mode): failed to match a subdriver to vendor and/or product ID 0.089740 [D2] Device does not match - skipping 0.089888 [D2] Checking device 5 of 8 (1A86/7523) 0.093641 [D2] - VendorID: 1a86 0.093766 [D2] - ProductID: 7523 0.093878 [D2] - Manufacturer: unknown 0.093989 [D2] - Product: USB Serial 0.094101 [D2] - Serial Number: unknown 0.094212 [D2] - Bus: 001 0.094323 [D2] - Device: unknown 0.094436 [D2] - Device release number: 0264 0.094549 [D2] Trying to match device 0.094662 [D2] match_function_subdriver (non-SHUT mode): matching a device... 0.094785 [D2] match_function_subdriver (non-SHUT mode): failed to match a subdriver to vendor and/or product ID 0.094900 [D2] Device does not match - skipping 0.095044 [D2] Checking device 6 of 8 (0951/1665) 0.098187 [D2] - VendorID: 0951 0.098307 [D2] - ProductID: 1665 0.098419 [D2] - Manufacturer: Kingston 0.098531 [D2] - Product: DataTraveler 2.0 0.098644 [D2] - Serial Number: 1C6F6581FDFCBEA0192308DD 0.098759 [D2] - Bus: 001 0.098869 [D2] - Device: unknown 0.099020 [D2] - Device release number: 0100 0.099133 [D2] Trying to match device 0.099245 [D2] match_function_subdriver (non-SHUT mode): matching a device... 0.099428 [D2] match_function_subdriver (non-SHUT mode): failed to match a subdriver to vendor and/or product ID 0.099552 [D2] Device does not match - skipping 0.099702 [D2] Checking device 7 of 8 (2109/3431) 0.100608 [D2] - VendorID: 2109 0.100728 [D2] - ProductID: 3431 0.100841 [D2] - Manufacturer: unknown 0.100953 [D2] - Product: USB2.0 Hub 0.101065 [D2] - Serial Number: unknown 0.101176 [D2] - Bus: 001 0.101288 [D2] - Device: unknown 0.101400 [D2] - Device release number: 0421 0.101512 [D2] Trying to match device 0.101624 [D2] match_function_subdriver (non-SHUT mode): matching a device... 0.101743 [D2] match_function_subdriver (non-SHUT mode): failed to match a subdriver to vendor and/or product ID 0.101858 [D2] Device does not match - skipping 0.102003 [D2] Checking device 8 of 8 (1D6B/0002) 0.102626 [D2] - VendorID: 1d6b 0.102746 [D2] - ProductID: 0002 0.102858 [D2] - Manufacturer: Linux 5.10.103-v7l+ xhci-hcd 0.102971 [D2] - Product: xHCI Host Controller 0.103082 [D2] - Serial Number: 0000:01:00.0 0.103193 [D2] - Bus: 001 0.103305 [D2] - Device: unknown 0.103416 [D2] - Device release number: 0510 0.103527 [D2] Trying to match device 0.103639 [D2] match_function_subdriver (non-SHUT mode): matching a device... 0.103756 [D2] match_function_subdriver (non-SHUT mode): failed to match a subdriver to vendor and/or product ID 0.103870 [D2] Device does not match - skipping 0.104021 [D2] libusb1: No appropriate HID device found 0.104143 libusb1: Could not open any HID devices: insufficient permissions on everything 0.104257 No matching HID UPS found

I tried various configure options, with no luck. Can you point me in the right direction?

— Reply to this email directly, view it on GitHub https://github.com/networkupstools/nut/issues/1304#issuecomment-1137344700, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAMPTFC4XAHU5ZWQ3ISDGTDVLY3HFANCNFSM5OU4OXZA . You are receiving this because you were mentioned.Message ID: @.***>

irudoy commented 2 years ago

@jimklimov seems like I figured out what's happening.

If I turn UPS power on/off, and reconnect usb, it's got the descriptor but ends ups with Can't initialize data from HID UPS:

complete output

$ sudo -u nut /lib/nut/usbhid-ups -a apcbu -DDDDD
Network UPS Tools - Generic HID driver 0.47 (2.8.0-86-g67c6cd5be)
USB communication driver (libusb 1.0) 0.43
   0.000000 [D1] debug level is '5'
   0.001577 [D5] send_to_all: SETINFO device.type "ups"
   0.001649 [D2] Initializing an USB-connected UPS with library libusb-1.0.22 (API: 0x1000106) (NUT subdriver name='USB communication driver (libusb 1.0)' ver='0.43')
   0.001705 [D1] upsdrv_initups (non-SHUT)...
   0.028694 [D2] Checking device 1 of 8 (1D6B/0003)
   0.028824 [D1] Failed to open device (1D6B/0003), skipping: Access denied (insufficient permissions)
   0.028871 [D2] Checking device 2 of 8 (051D/0002)
   0.035515 [D2] - VendorID: 051d
   0.035568 [D2] - ProductID: 0002
   0.035610 [D2] - Manufacturer: American Power Conversion
   0.035650 [D2] - Product: Back-UPS ES 850G2 FW:938.a2 .I USB FW:a2
   0.035689 [D2] - Serial Number: 5B2109T81980
   0.035728 [D2] - Bus: 001
   0.035767 [D2] - Device: unknown
   0.035806 [D2] - Device release number: 0090
   0.035845 [D2] Trying to match device
   0.035888 [D2] match_function_subdriver (non-SHUT mode): matching a device...
   0.035937 [D3] match_function_regex: matching a device...
   0.036137 [D2] Device matches
   0.036181 [D2] Reading first configuration descriptor
   0.036244 [D3] libusb_kernel_driver_active() returned 1 (driver active)
   0.036289 [D2] successfully set kernel driver auto-detach flag
   0.037865 [D2] Claimed interface 0 successfully
   0.037927 [D3] nut_usb_set_altinterface: skipped libusb_set_interface_alt_setting(udev, 0, 0)
   0.040310 [D3] HID descriptor, method 1: (9 bytes) => 09 21 00 01 21 01 22 19 04
   0.040369 [D3] HID descriptor length (method 1) 1049
   0.040409 [D4] i=0, extra[i]=09, extra[i+1]=21
   0.040456 [D3] HID descriptor, method 2: (9 bytes) => 09 21 00 01 21 01 22 19 04
   0.040507 [D3] HID descriptor length (method 2) 1049
   0.040548 [D2] HID descriptor length 1049
   0.047720 [D2] Report Descriptor size = 1049
   0.047798 [D3] Report Descriptor: (1049 bytes) => 05 84 09 04 a1 01 09 24 a1 00 85 01 09
   0.047854 [D3]  fe 79 02 75 08 95 01 15 00 26 ff 00 b1 22 85 02 09 ff 79 03 b1 22 85 03 05
   0.047905 [D3]  85 09 89 79 04 b1 22 85 04 09 8f 79 01 b1 22 85 05 09 8b b1 22 85 06 09 44
   0.047954 [D3]  81 a2 09 44 b1 a2 09 45 81 a2 09 45 b1 a2 06 86 ff 09 60 81 a2 09 60 b1 a2
   0.048004 [D3]  85 07 05 85 09 85 75 10 27 ff ff 00 00 b1 a2 85 08 05 84 09 40 67 21 d1 f0
   0.048055 [D3]  00 55 05 b1 22 85 09 09 30 b1 a2 85 0a 09 fd 75 08 26 ff 00 65 00 55 00 79
   0.048103 [D3]  01 b1 22 85 0b 05 85 09 2c b1 22 85 0c 09 66 25 64 81 a2 09 66 b1 a2 09 68
   0.048150 [D3]  75 10 27 ff ff 00 00 66 01 10 81 a2 09 68 b1 a2 85 0d 09 83 75 08 25 64 65
   0.048219 [D3]  00 b1 22 85 0e 09 67 b1 22 85 0f 09 8c b1 22 85 10 09 8e b1 22 85 11 09 29
   0.048274 [D3]  15 01 b1 a2 85 12 09 8d 15 00 b1 22 85 13 09 d0 25 01 81 a2 09 d0 b1 a2 85
   0.048322 [D3]  14 09 42 81 a2 09 42 b1 a2 05 84 09 69 81 a2 09 69 b1 a2 85 15 09 57 75 10
   0.048371 [D3]  16 ff ff 26 ff 7f 66 01 10 b1 a2 09 02 a1 02 85 16 05 85 65 00 75 01 15 00
   0.048421 [D3]  25 01 09 44 81 a2 09 44 b1 a2 09 45 81 a2 09 45 b1 a2 09 d0 81 a2 09 d0 b1
   0.048468 [D3]  a2 09 d1 81 a2 09 d1 b1 a2 09 42 81 a2 09 42 b1 a2 05 84 09 69 81 a2 09 69
   0.048518 [D3]  b1 a2 05 85 09 43 81 a2 09 43 b1 a2 05 84 09 73 81 a2 09 73 b1 a2 05 85 09
   0.048568 [D3]  4b 81 a2 09 4b b1 a2 05 84 09 65 81 a2 09 65 b1 a2 05 85 09 db 81 a2 09 db
   0.048616 [D3]  b1 a2 95 15 81 01 b1 01 c0 85 17 09 2a 95 01 75 10 27 ff ff 00 00 66 01 10
   0.048667 [D3]  b1 a2 85 18 05 84 09 5a 75 08 15 01 25 02 65 00 b1 a2 c0 09 12 a1 00 85 1c
   0.048718 [D3]  06 86 ff 09 16 75 18 15 00 27 ff ff ff 00 b2 a2 01 85 20 05 85 09 85 75 10
   0.048765 [D3]  27 ff ff 00 00 b1 a2 85 21 05 84 09 58 75 08 25 06 81 a2 09 58 b1 a2 85 22
   0.048815 [D3]  05 85 09 66 25 64 b1 a2 85 23 09 68 75 10 27 ff ff 00 00 66 01 10 b1 a2 85
   0.048865 [D3]  24 09 2a b1 a2 85 25 05 84 09 40 67 21 d1 f0 00 55 05 b1 22 85 26 09 30 b1
   0.048912 [D3]  a2 85 27 06 86 ff 09 24 75 10 16 e9 00 26 fe 00 65 00 55 00 b1 a2 85 28 09
   0.048962 [D3]  18 75 20 17 01 00 00 80 27 ff ff ff 7f b2 a2 01 c0 05 84 09 1a a1 00 85 30
   0.049013 [D3]  05 84 09 40 75 08 15 00 26 ff 00 67 21 d1 f0 00 55 07 b1 22 85 31 09 30 75
   0.049060 [D3]  10 b1 a2 85 32 09 53 16 a0 00 26 c4 00 b1 a2 85 33 09 54 16 00 01 26 16 01
   0.049109 [D3]  b1 a2 85 34 06 86 ff 09 24 16 73 00 26 8d 00 65 00 55 00 b1 a2 85 35 75 08
   0.049159 [D3]  09 61 15 00 25 02 b1 a2 85 36 09 52 25 0d b1 a2 c0 09 05 a1 00 85 40 09 7c
   0.049206 [D3]  25 01 b1 a2 85 41 09 7d 75 10 16 ff ff 26 ff 7f 66 01 10 b1 a2 85 42 05 84
   0.049256 [D3]  09 57 b1 a2 c0 09 16 a1 00 85 50 09 35 75 08 15 00 25 64 65 00 b1 a2 85 51
   0.049308 [D3]  06 86 ff 09 24 16 73 00 26 8d 00 b1 a2 85 52 05 84 09 44 75 10 15 00 27 ff
   0.049361 [D3]  ff 00 00 66 21 d1 55 07 b1 a2 c0 06 86 ff 09 01 a1 00 85 60 09 23 65 00 55
   0.049427 [D3]  00 b1 a2 85 61 09 26 75 08 16 10 00 26 8d 00 b1 a2 85 62 09 25 75 20 17 01
   0.049485 [D3]  00 00 80 27 ff ff ff 7f b2 a2 01 c0 85 7f 05 84 09 fe 79 05 75 08 95 01 15
   0.049535 [D3]  00 26 ff 00 b1 22 85 7e 06 86 ff 09 42 79 07 b1 22 85 7d 05 84 09 ff 79 03
   0.049586 [D3]  b1 22 85 7c 09 fd 79 01 b1 22 85 7b 05 85 09 85 75 10 27 ff ff 00 00 b1 a2
   0.049638 [D3]  05 84 09 02 a1 02 85 7a 05 85 09 44 75 01 25 01 b1 a2 09 45 b1 a2 09 d0 b1
   0.049690 [D3]  a2 09 d1 b1 a2 09 42 b1 a2 05 84 09 69 b1 a2 05 85 09 43 b1 a2 05 84 09 73
   0.049743 [D3]  b1 a2 05 85 09 4b b1 a2 05 84 09 65 b1 a2 05 85 09 db b1 a2 95 15 b1 01 c0
   0.049798 [D3]  85 79 06 86 ff 09 72 75 08 95 01 b1 a2 85 78 05 84 09 5a 15 01 25 02 b1 a2
   0.049853 [D3]  85 75 06 86 ff 09 29 75 10 15 00 27 ff ff 00 00 b1 a2 85 74 06 86 ff 09 2a
   0.049907 [D3]  75 20 17 01 00 00 80 27 ff ff ff 7f b1 a2 a1 00 06 00 ff 85 80 09 55 15 00
   0.049954 [D3]  26 ff 00 75 08 95 01 b1 82 c0 c0
   0.050312 Using subdriver: APC HID 0.98
   0.050367 [D3] Attempting Report Descriptor fix for UPS: Vendor: 051d, Product: 0002
   0.050411 [D4] Report Descriptor: highVoltageTransfer LogMin: 256 LogMax: 278
   0.050455 [D4] Report Descriptor: voltage LogMin: 0 LogMax: 255
   0.050499 [D3] Fixing Report Descriptor. Set voltage LogMin = 0, LogMax = 556
   0.050539 [D4] Report Descriptor: configVoltage LogMin: 0 LogMax: 255
   0.050579 [D3] Fixing Report Descriptor. Set configVoltage LogMin = 0, LogMax = 255
   0.050619 [D2] Report Descriptor Fixed
   0.050659 [D1] 105 HID objects found
   0.050710 [D4] Entering libusb_get_report
   0.051796 [D3] Report[get]: (2 bytes) => 01 02
   0.051853 [D5] PhyMax = 0, PhyMin = 0, LogMax = 255, LogMin = 0
   0.051896 [D5] Unit = 00000000, UnitExp = 0
   0.051937 [D5] Exponent = 0
   0.051978 [D5] hid_lookup_path: 00840004 -> UPS
   0.052020 [D5] hid_lookup_path: 00840024 -> PowerSummary
   0.052062 [D5] hid_lookup_path: 008400fe -> iProduct
   0.052107 [D1] Path: UPS.PowerSummary.iProduct, Type: Feature, ReportID: 0x01, Offset: 0, Size: 8, Value: 2
   0.052148 [D4] Entering libusb_get_report
   0.054558 [D3] Report[get]: (2 bytes) => 02 03
   0.054621 [D5] PhyMax = 0, PhyMin = 0, LogMax = 255, LogMin = 0
   0.054662 [D5] Unit = 00000000, UnitExp = 0
   0.054702 [D5] Exponent = 0
   0.054745 [D5] hid_lookup_path: 00840004 -> UPS
   0.054790 [D5] hid_lookup_path: 00840024 -> PowerSummary
   0.054835 [D5] hid_lookup_path: 008400ff -> iSerialNumber
   0.054879 [D1] Path: UPS.PowerSummary.iSerialNumber, Type: Feature, ReportID: 0x02, Offset: 0, Size: 8, Value: 3
   0.054920 [D4] Entering libusb_get_report
   0.057289 [D3] Report[get]: (2 bytes) => 03 04
   0.057347 [D5] PhyMax = 0, PhyMin = 0, LogMax = 255, LogMin = 0
   0.057387 [D5] Unit = 00000000, UnitExp = 0
   0.057426 [D5] Exponent = 0
   0.057466 [D5] hid_lookup_path: 00840004 -> UPS
   0.057507 [D5] hid_lookup_path: 00840024 -> PowerSummary
   0.057549 [D5] hid_lookup_path: 00850089 -> iDeviceChemistry
   0.057592 [D1] Path: UPS.PowerSummary.iDeviceChemistry, Type: Feature, ReportID: 0x03, Offset: 0, Size: 8, Value: 4
   0.057633 [D4] Entering libusb_get_report
   0.060041 [D3] Report[get]: (2 bytes) => 04 01
   0.060097 [D5] PhyMax = 0, PhyMin = 0, LogMax = 255, LogMin = 0
   0.060140 [D5] Unit = 00000000, UnitExp = 0
   0.060182 [D5] Exponent = 0
   0.060222 [D5] hid_lookup_path: 00840004 -> UPS
   0.060263 [D5] hid_lookup_path: 00840024 -> PowerSummary
   0.060305 [D5] hid_lookup_path: 0085008f -> iOEMInformation
   0.060348 [D1] Path: UPS.PowerSummary.iOEMInformation, Type: Feature, ReportID: 0x04, Offset: 0, Size: 8, Value: 1
   0.060389 [D4] Entering libusb_get_report
   0.062776 [D3] Report[get]: (2 bytes) => 05 01
   0.062823 [D5] PhyMax = 0, PhyMin = 0, LogMax = 255, LogMin = 0
   0.062865 [D5] Unit = 00000000, UnitExp = 0
   0.062906 [D5] Exponent = 0
   0.062945 [D5] hid_lookup_path: 00840004 -> UPS
   0.062985 [D5] hid_lookup_path: 00840024 -> PowerSummary
   0.063029 [D5] hid_lookup_path: 0085008b -> Rechargeable
   0.063070 [D1] Path: UPS.PowerSummary.Rechargeable, Type: Feature, ReportID: 0x05, Offset: 0, Size: 8, Value: 1
   0.063111 [D4] Entering libusb_get_report
   0.065525 [D3] Report[get]: (4 bytes) => 06 00 00 08
   0.065571 [D5] PhyMax = 0, PhyMin = 0, LogMax = 255, LogMin = 0
   0.065613 [D5] Unit = 00000000, UnitExp = 0
   0.065653 [D5] Exponent = 0
   0.065694 [D5] hid_lookup_path: 00840004 -> UPS
   0.065736 [D5] hid_lookup_path: 00840024 -> PowerSummary
   0.065780 [D5] hid_lookup_path: 00850044 -> Charging
   0.065823 [D1] Path: UPS.PowerSummary.Charging, Type: Input, ReportID: 0x06, Offset: 0, Size: 8, Value: 0
   0.065870 [D3] Report[buf]: (4 bytes) => 06 00 00 08
   0.065910 [D5] PhyMax = 0, PhyMin = 0, LogMax = 255, LogMin = 0
   0.065950 [D5] Unit = 00000000, UnitExp = 0
   0.065988 [D5] Exponent = 0
   0.066027 [D5] hid_lookup_path: 00840004 -> UPS
   0.066067 [D5] hid_lookup_path: 00840024 -> PowerSummary
   0.066107 [D5] hid_lookup_path: 00850044 -> Charging
   0.066151 [D1] Path: UPS.PowerSummary.Charging, Type: Feature, ReportID: 0x06, Offset: 0, Size: 8, Value: 0
   0.066197 [D3] Report[buf]: (4 bytes) => 06 00 00 08
   0.066237 [D5] PhyMax = 0, PhyMin = 0, LogMax = 255, LogMin = 0
   0.066277 [D5] Unit = 00000000, UnitExp = 0
   0.066315 [D5] Exponent = 0
   0.066357 [D5] hid_lookup_path: 00840004 -> UPS
   0.066399 [D5] hid_lookup_path: 00840024 -> PowerSummary
   0.066439 [D5] hid_lookup_path: 00850045 -> Discharging
   0.066483 [D1] Path: UPS.PowerSummary.Discharging, Type: Input, ReportID: 0x06, Offset: 8, Size: 8, Value: 0
   0.066526 [D3] Report[buf]: (4 bytes) => 06 00 00 08
   0.066566 [D5] PhyMax = 0, PhyMin = 0, LogMax = 255, LogMin = 0
   0.066605 [D5] Unit = 00000000, UnitExp = 0
   0.066643 [D5] Exponent = 0
   0.066685 [D5] hid_lookup_path: 00840004 -> UPS
   0.066724 [D5] hid_lookup_path: 00840024 -> PowerSummary
   0.066767 [D5] hid_lookup_path: 00850045 -> Discharging
   0.066809 [D1] Path: UPS.PowerSummary.Discharging, Type: Feature, ReportID: 0x06, Offset: 8, Size: 8, Value: 0
   0.066888 [D3] Report[buf]: (4 bytes) => 06 00 00 08
   0.066928 [D5] PhyMax = 0, PhyMin = 0, LogMax = 255, LogMin = 0
   0.066968 [D5] Unit = 00000000, UnitExp = 0
   0.067007 [D5] Exponent = 0
   0.067046 [D5] hid_lookup_path: 00840004 -> UPS
   0.067086 [D5] hid_lookup_path: 00840024 -> PowerSummary
   0.067128 [D5] hid_lookup_path: ff860060 -> APCStatusFlag
   0.067172 [D1] Path: UPS.PowerSummary.APCStatusFlag, Type: Input, ReportID: 0x06, Offset: 16, Size: 8, Value: 8
   0.067215 [D3] Report[buf]: (4 bytes) => 06 00 00 08
   0.067255 [D5] PhyMax = 0, PhyMin = 0, LogMax = 255, LogMin = 0
   0.067296 [D5] Unit = 00000000, UnitExp = 0
   0.067337 [D5] Exponent = 0
   0.067378 [D5] hid_lookup_path: 00840004 -> UPS
   0.067418 [D5] hid_lookup_path: 00840024 -> PowerSummary
   0.067460 [D5] hid_lookup_path: ff860060 -> APCStatusFlag
   0.067502 [D1] Path: UPS.PowerSummary.APCStatusFlag, Type: Feature, ReportID: 0x06, Offset: 16, Size: 8, Value: 8
   0.067542 [D4] Entering libusb_get_report
   0.068403 [D3] Report[get]: (3 bytes) => 07 62 52
   0.068450 [D5] PhyMax = 0, PhyMin = 0, LogMax = 65535, LogMin = 0
   0.068492 [D5] Unit = 00000000, UnitExp = 0
   0.068533 [D5] Exponent = 0
   0.068572 [D5] hid_lookup_path: 00840004 -> UPS
   0.068611 [D5] hid_lookup_path: 00840024 -> PowerSummary
   0.068653 [D5] hid_lookup_path: 00850085 -> ManufacturerDate
   0.068698 [D1] Path: UPS.PowerSummary.ManufacturerDate, Type: Feature, ReportID: 0x07, Offset: 0, Size: 16, Value: 21090
   0.068739 [D4] Entering libusb_get_report
   0.071171 [D3] Report[get]: (3 bytes) => 08 b0 04
   0.071217 [D5] PhyMax = 0, PhyMin = 0, LogMax = 65535, LogMin = 0
   0.071259 [D5] Unit = 00f0d121, UnitExp = 5
   0.071299 [D5] Exponent = -2
   0.071341 [D5] hid_lookup_path: 00840004 -> UPS
   0.071384 [D5] hid_lookup_path: 00840024 -> PowerSummary
   0.071424 [D5] hid_lookup_path: 00840040 -> ConfigVoltage
   0.071469 [D1] Path: UPS.PowerSummary.ConfigVoltage, Type: Feature, ReportID: 0x08, Offset: 0, Size: 16, Value: 12
   0.071510 [D4] Entering libusb_get_report
   0.073901 [D3] Report[get]: (3 bytes) => 09 3f 05
   0.073946 [D5] PhyMax = 0, PhyMin = 0, LogMax = 65535, LogMin = 0
   0.073989 [D5] Unit = 00f0d121, UnitExp = 5
   0.074028 [D5] Exponent = -2
   0.074071 [D5] hid_lookup_path: 00840004 -> UPS
   0.074111 [D5] hid_lookup_path: 00840024 -> PowerSummary
   0.074158 [D5] hid_lookup_path: 00840030 -> Voltage
   0.074204 [D1] Path: UPS.PowerSummary.Voltage, Type: Feature, ReportID: 0x09, Offset: 0, Size: 16, Value: 13.43
   0.074245 [D4] Entering libusb_get_report
   0.076654 [D3] Report[get]: (2 bytes) => 0a 01
   0.076701 [D5] PhyMax = 0, PhyMin = 0, LogMax = 255, LogMin = 0
   0.076745 [D5] Unit = 00000000, UnitExp = 0
   0.076785 [D5] Exponent = 0
   0.078096 [D5] hid_lookup_path: 00840004 -> UPS
   0.078141 [D5] hid_lookup_path: 00840024 -> PowerSummary
   0.078184 [D5] hid_lookup_path: 008400fd -> iManufacturer
   0.078230 [D1] Path: UPS.PowerSummary.iManufacturer, Type: Feature, ReportID: 0x0a, Offset: 0, Size: 8, Value: 1
   0.078270 [D4] Entering libusb_get_report
   0.079400 [D3] Report[get]: (2 bytes) => 0b 02
   0.079446 [D5] PhyMax = 0, PhyMin = 0, LogMax = 255, LogMin = 0
   0.079489 [D5] Unit = 00000000, UnitExp = 0
   0.079530 [D5] Exponent = 0
   0.079571 [D5] hid_lookup_path: 00840004 -> UPS
   0.079611 [D5] hid_lookup_path: 00840024 -> PowerSummary
   0.079652 [D5] hid_lookup_path: 0085002c -> CapacityMode
   0.079694 [D1] Path: UPS.PowerSummary.CapacityMode, Type: Feature, ReportID: 0x0b, Offset: 0, Size: 8, Value: 2

   // ...
   // ...
   // ...

   0.183179 [D4] Entering libusb_get_report
   0.184238 [D2] nut_libusb_get_report: Overflow
   0.184279 [D1] Can't retrieve Report 74: Resource temporarily unavailable
   0.184316 [D5] hid_lookup_path: 00840004 -> UPS
   0.184353 [D5] hid_lookup_path: ff86002a -> not found in lookup table
   0.184392 [D1] Path: UPS.ff86002a, Type: Feature, ReportID: 0x74, Offset: 0, Size: 32
   0.184428 [D4] Entering libusb_get_report
   0.185362 [D2] nut_libusb_get_report: Overflow
   0.185403 [D1] Can't retrieve Report 80: Resource temporarily unavailable
   0.185441 [D5] hid_lookup_path: 00840004 -> UPS
   0.185478 [D5] hid_lookup_path: 00000000 -> not found in lookup table
   0.185515 [D5] hid_lookup_path: ff000055 -> not found in lookup table
   0.185552 [D1] Path: UPS.00000000.ff000055, Type: Feature, ReportID: 0x80, Offset: 0, Size: 8
   0.185618 [D5] send_to_all: SETINFO ups.firmware.aux "a2 "
   0.185661 [D5] send_to_all: SETINFO ups.firmware "938.a2 .I"
   0.185704 [D5] send_to_all: SETINFO ups.mfr "American Power Conversion"
   0.185749 [D5] send_to_all: SETINFO ups.model "Back-UPS ES 850G2"
   0.185790 [D5] send_to_all: SETINFO ups.serial "5B2109T81980  "
   0.185828 [D5] send_to_all: SETINFO ups.vendorid "051d"
   0.185869 [D5] send_to_all: SETINFO ups.productid "0002"
   0.185906 [D2] Report descriptor retrieved (Reportlen = 1049)
   0.185942 [D2] Found HID device
   0.185984 [D1] Detected a UPS: American Power Conversion/Back-UPS ES 850G2 FW:938.a2 .I USB FW:a2
   0.186038 [D5] hid_lookup_usage: UPS -> 00840004
   0.186077 [D5] hid_lookup_usage: PowerSummary -> 00840024
   0.186120 [D5] hid_lookup_usage: RemainingCapacity -> 00850066
   0.186158 [D4] string_to_path: depth = 3
   0.186207 [D3] Report[buf]: (4 bytes) => 0c 64 60 0b
   0.186245 [D5] PhyMax = 0, PhyMin = 0, LogMax = 100, LogMin = 0
   0.186281 [D5] Unit = 00000000, UnitExp = 0
   0.186318 [D5] Exponent = 0
   0.186361 [D2] Path: UPS.PowerSummary.RemainingCapacity, Type: Feature, ReportID: 0x0c, Offset: 0, Size: 8, Value: 100
   0.186404 [D5] send_to_all: SETINFO battery.charge "100"
   0.186443 [D5] hid_lookup_usage: UPS -> 00840004
   0.186481 [D5] hid_lookup_usage: PowerSummary -> 00840024
   0.186519 [D5] hid_lookup_usage: RemainingCapacityLimit -> 00850029
   0.186555 [D4] string_to_path: depth = 3
   0.186596 [D3] Report[buf]: (2 bytes) => 11 0a
   0.186634 [D5] PhyMax = 0, PhyMin = 0, LogMax = 100, LogMin = 1
   0.186670 [D5] Unit = 00000000, UnitExp = 0
   0.186706 [D5] Exponent = 0
   0.186747 [D2] Path: UPS.PowerSummary.RemainingCapacityLimit, Type: Feature, ReportID: 0x11, Offset: 0, Size: 8, Value: 10
   0.186790 [D5] send_to_all: SETINFO battery.charge.low "10"
   0.186864 [D5] send_to_all: SETFLAGS battery.charge.low RW STRING
   0.186904 [D5] send_to_all: SETAUX battery.charge.low 10
   0.186943 [D5] hid_lookup_usage: UPS -> 00840004
   0.186983 [D5] hid_lookup_usage: PowerSummary -> 00840024
   0.187024 [D5] hid_lookup_usage: WarningCapacityLimit -> 0085008c
   0.187060 [D4] string_to_path: depth = 3
   0.187104 [D3] Report[buf]: (2 bytes) => 0f 32
   0.187142 [D5] PhyMax = 0, PhyMin = 0, LogMax = 100, LogMin = 0
   0.187177 [D5] Unit = 00000000, UnitExp = 0
   0.187214 [D5] Exponent = 0
   0.187253 [D2] Path: UPS.PowerSummary.WarningCapacityLimit, Type: Feature, ReportID: 0x0f, Offset: 0, Size: 8, Value: 50
   0.187294 [D5] send_to_all: SETINFO battery.charge.warning "50"
   0.187334 [D5] hid_lookup_usage: UPS -> 00840004
   0.187371 [D5] hid_lookup_usage: Battery -> 00840012
   0.187413 [D5] hid_lookup_usage: RunTimeToEmpty -> 00850068
   0.187448 [D4] string_to_path: depth = 3
   0.187527 [D4] Entering libusb_get_report
   0.188124 [D2] nut_libusb_get_report: Overflow
   0.188167 [D1] Can't retrieve Report 23: Resource temporarily unavailable
   0.188203 Can't initialize data from HID UPS

But from this point it starts to fail until ups reboot/reconnect:

$ sudo -u nut /lib/nut/usbhid-ups -a apcbu -DDDDD
Network UPS Tools - Generic HID driver 0.47 (2.8.0-86-g67c6cd5be)
USB communication driver (libusb 1.0) 0.43
   0.000000 [D1] debug level is '5'
   0.002122 [D5] send_to_all: SETINFO device.type "ups"
   0.002946 [D2] Initializing an USB-connected UPS with library libusb-1.0.22 (API: 0x1000106) (NUT subdriver name='USB communication driver (libusb 1.0)' ver='0.43')
   0.003687 [D1] upsdrv_initups (non-SHUT)...
   0.039488 [D2] Checking device 1 of 8 (1D6B/0003)
   0.040446 [D1] Failed to open device (1D6B/0003), skipping: Access denied (insufficient permissions)
   0.041185 [D2] Checking device 2 of 8 (051D/0002)
   0.043948 [D1] nut_libusb_open get iManufacturer failed, retrying...
   0.045613 [D1] nut_libusb_open get iManufacturer failed, retrying...
   0.047125 [D1] nut_libusb_open get iManufacturer failed, retrying...
   0.048606 [D1] nut_libusb_open get iProduct failed, retrying...
   0.050107 [D1] nut_libusb_open get iProduct failed, retrying...
   0.051692 [D1] nut_libusb_open get iProduct failed, retrying...
   0.052993 [D1] nut_libusb_open get iSerialNumber failed, retrying...
   0.053809 [D1] nut_libusb_open get iSerialNumber failed, retrying...
   0.054683 [D1] nut_libusb_open get iSerialNumber failed, retrying...
   0.054708 [D2] - VendorID: 051d
   0.054735 [D2] - ProductID: 0002
   0.054759 [D2] - Manufacturer: unknown
   0.054783 [D2] - Product: unknown
   0.054803 [D2] - Serial Number: unknown
   0.054828 [D2] - Bus: 001
   0.054852 [D2] - Device: unknown
   0.054877 [D2] - Device release number: 0090
   0.054900 [D2] Trying to match device
   0.054923 [D2] match_function_subdriver (non-SHUT mode): matching a device...
   0.054952 device->Product is NULL so it is not possible to determine whether to activate max_report_size workaround
   0.054979 [D3] match_function_regex: matching a device...
   0.055087 [D2] match_function_regex: failed match of Serial: (null)
   0.055112 [D2] Device does not match - skipping
   0.055169 [D2] Checking device 3 of 8 (0A05/7220)
   0.055237 [D1] Failed to open device (0A05/7220), skipping: Access denied (insufficient permissions)
   0.055265 [D2] Checking device 4 of 8 (10C4/EA60)
   0.055307 [D1] Failed to open device (10C4/EA60), skipping: Access denied (insufficient permissions)
   0.055334 [D2] Checking device 5 of 8 (1A86/7523)
   0.055374 [D1] Failed to open device (1A86/7523), skipping: Access denied (insufficient permissions)
   0.055400 [D2] Checking device 6 of 8 (0951/1665)
   0.055439 [D1] Failed to open device (0951/1665), skipping: Access denied (insufficient permissions)
   0.055466 [D2] Checking device 7 of 8 (2109/3431)
   0.055505 [D1] Failed to open device (2109/3431), skipping: Access denied (insufficient permissions)
   0.055531 [D2] Checking device 8 of 8 (1D6B/0002)
   0.055570 [D1] Failed to open device (1D6B/0002), skipping: Access denied (insufficient permissions)
   0.055601 [D2] libusb1: No appropriate HID device found
   0.055630 libusb1: Could not open any HID devices: insufficient permissions on everything
   0.055655 No matching HID UPS found$ sudo -u nut /lib/nut/usbhid-ups -a apcbu -DDDDD
Network UPS Tools - Generic HID driver 0.47 (2.8.0-86-g67c6cd5be)
USB communication driver (libusb 1.0) 0.43
   0.000000 [D1] debug level is '5'
   0.002122 [D5] send_to_all: SETINFO device.type "ups"
   0.002946 [D2] Initializing an USB-connected UPS with library libusb-1.0.22 (API: 0x1000106) (NUT subdriver name='USB communication driver (libusb 1.0)' ver='0.43')
   0.003687 [D1] upsdrv_initups (non-SHUT)...
   0.039488 [D2] Checking device 1 of 8 (1D6B/0003)
   0.040446 [D1] Failed to open device (1D6B/0003), skipping: Access denied (insufficient permissions)
   0.041185 [D2] Checking device 2 of 8 (051D/0002)
   0.043948 [D1] nut_libusb_open get iManufacturer failed, retrying...
   0.045613 [D1] nut_libusb_open get iManufacturer failed, retrying...
   0.047125 [D1] nut_libusb_open get iManufacturer failed, retrying...
   0.048606 [D1] nut_libusb_open get iProduct failed, retrying...
   0.050107 [D1] nut_libusb_open get iProduct failed, retrying...
   0.051692 [D1] nut_libusb_open get iProduct failed, retrying...
   0.052993 [D1] nut_libusb_open get iSerialNumber failed, retrying...
   0.053809 [D1] nut_libusb_open get iSerialNumber failed, retrying...
   0.054683 [D1] nut_libusb_open get iSerialNumber failed, retrying...
   0.054708 [D2] - VendorID: 051d
   0.054735 [D2] - ProductID: 0002
   0.054759 [D2] - Manufacturer: unknown
   0.054783 [D2] - Product: unknown
   0.054803 [D2] - Serial Number: unknown
   0.054828 [D2] - Bus: 001
   0.054852 [D2] - Device: unknown
   0.054877 [D2] - Device release number: 0090
   0.054900 [D2] Trying to match device
   0.054923 [D2] match_function_subdriver (non-SHUT mode): matching a device...
   0.054952 device->Product is NULL so it is not possible to determine whether to activate max_report_size workaround
   0.054979 [D3] match_function_regex: matching a device...
   0.055087 [D2] match_function_regex: failed match of Serial: (null)
   0.055112 [D2] Device does not match - skipping
   0.055169 [D2] Checking device 3 of 8 (0A05/7220)
   0.055237 [D1] Failed to open device (0A05/7220), skipping: Access denied (insufficient permissions)
   0.055265 [D2] Checking device 4 of 8 (10C4/EA60)
   0.055307 [D1] Failed to open device (10C4/EA60), skipping: Access denied (insufficient permissions)
   0.055334 [D2] Checking device 5 of 8 (1A86/7523)
   0.055374 [D1] Failed to open device (1A86/7523), skipping: Access denied (insufficient permissions)
   0.055400 [D2] Checking device 6 of 8 (0951/1665)
   0.055439 [D1] Failed to open device (0951/1665), skipping: Access denied (insufficient permissions)
   0.055466 [D2] Checking device 7 of 8 (2109/3431)
   0.055505 [D1] Failed to open device (2109/3431), skipping: Access denied (insufficient permissions)
   0.055531 [D2] Checking device 8 of 8 (1D6B/0002)
   0.055570 [D1] Failed to open device (1D6B/0002), skipping: Access denied (insufficient permissions)
   0.055601 [D2] libusb1: No appropriate HID device found
   0.055630 libusb1: Could not open any HID devices: insufficient permissions on everything
   0.055655 No matching HID UPS found

Am I doing something wrong?

jimklimov commented 2 years ago

not sure... do you "fully" turn off/reset the ups, and then random data is served when it is booting? maybe firmware is buggy and talks when it is not ready to.

There was a recent PR to wait between reconnects without releasing the libusb link IIRC, so the (CPS) firmware did not reboot due to link reset and fail to serve in a loop. Maybe something similar happens here too?

irudoy commented 2 years ago

@jimklimov it's working pretty good on the same UPS firmware with Nut v2.7.4 (libusb-0.1).

Just to clarify, it's enough to just plug/unplug the UPS for making it to read the descriptor. No need to turn it off.

What I did:

Full output with comments: https://pastebin.com/0F4vQYQu