Open irudoy opened 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
@jimklimov thanks for your response! Unfortunately, it's working the same way on master branch.
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?
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: @.***>
@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
:
$ 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?
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?
@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:
Can't initialize data from HID UPS
No matching HID UPS found
Can't initialize data from HID UPS
No matching HID UPS found
Full output with comments: https://pastebin.com/0F4vQYQu
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, exceptload.on
.There is no
load.on
command inupscmd -l
output: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:
My env:
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 /// ... /// ```