/lib/nut/usbhid-ups -a legrand -DDD:
$ sudo /lib/nut/usbhid-ups -a legrand -DDD
Network UPS Tools - Generic HID driver 0.49 (2.8.0-Windows-190-g9fb8d6d5f)
USB communication driver (libusb 1.0) 0.43
0.000000 [D1] debug level is '3'
0.000582 [D1] Succeeded to become_user(nut): now UID=107 GID=113
0.000602 [D2] Initializing an USB-connected UPS with library libusb-1.0.24 (API: 0x1000108) (NUT subdriver name='USB communication driver (libusb 1.0)' ver='0.43')
0.000614 [D1] upsdrv_initups (non-SHUT)...
0.003860 [D2] Checking device 1 of 10 (8087/8000)
0.003886 [D1] Failed to open device (8087/8000), skipping: Access denied (insufficient permissions)
0.003894 [D2] Checking device 2 of 10 (1D6B/0002)
0.003906 [D1] Failed to open device (1D6B/0002), skipping: Access denied (insufficient permissions)
0.003914 [D2] Checking device 3 of 10 (8087/8008)
0.003924 [D1] Failed to open device (8087/8008), skipping: Access denied (insufficient permissions)
0.003931 [D2] Checking device 4 of 10 (1D6B/0002)
0.003943 [D1] Failed to open device (1D6B/0002), skipping: Access denied (insufficient permissions)
0.003952 [D2] Checking device 5 of 10 (152D/0567)
0.003965 [D1] Failed to open device (152D/0567), skipping: Access denied (insufficient permissions)
0.003973 [D2] Checking device 6 of 10 (1D6B/0003)
0.003986 [D1] Failed to open device (1D6B/0003), skipping: Access denied (insufficient permissions)
0.003993 [D2] Checking device 7 of 10 (0BDA/0129)
0.004004 [D1] Failed to open device (0BDA/0129), skipping: Access denied (insufficient permissions)
0.004013 [D2] Checking device 8 of 10 (1CB0/0032)
0.004984 [D2] - VendorID: 1cb0
0.004992 [D2] - ProductID: 0032
0.004995 [D2] - Manufacturer: Legrand
0.004998 [D2] - Product: Legrand UPS
0.005002 [D2] - Serial Number:
0.005008 [D2] - Bus: 002
0.005014 [D2] - Device: unknown
0.005022 [D2] - Device release number: 0100
0.005029 [D2] Trying to match device
0.005038 [D2] match_function_subdriver (non-SHUT mode): matching a device...
0.005049 interrupt pipe disabled (add 'pollonly' flag to 'ups.conf' to get rid of this message)
0.005057 [D3] match_function_regex: matching a device...
0.005104 [D2] Device matches
0.005110 [D2] Reading first configuration descriptor
0.005121 [D3] libusb_kernel_driver_active() returned 0
0.005129 [D2] failed to claim USB device: Resource busy
0.005137 [D2] Kernel driver already detached
0.005144 [D2] failed to claim USB device: Resource busy
0.005149 [D2] Kernel driver already detached
0.005156 [D2] failed to claim USB device: Resource busy
0.005164 [D2] Kernel driver already detached
0.005171 [D2] failed to claim USB device: Resource busy
0.005179 [D2] Kernel driver already detached
0.005189 Can't claim USB device [1cb0:0032]@0/0: Entity not found