I’m running SCALE v25.04.2.3. I’m trying to get the ups service working, but am running into a problem. In syslog I’m seeing this permission error:
nut-driver@ups[3735034]: libusb1: Could not open any HID devices: insufficient permissions on everything
I can see the device connected to the machine:
root@truenas[/dev]# lsusb Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 003 Device 004: ID 3746:ffff EcoFlow EF-UPS-RIVER 3 Plus Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
But even running the tool as root yields a permission problem:
root@truenas[/dev]# /usr/lib/nut/usbhid-ups -DD -a ups -x productid=ffff -x vendorid=3746 -x explore=1 Network UPS Tools - Generic HID driver 0.47 (2.8.0) USB communication driver (libusb 1.0) 0.43 0.000000 [D1] debug level is '2' 0.001752 [D2] Initializing an USB-connected UPS with library libusb-1.0.26 (API: 0x1000109) (NUT subdriver name='USB communication driver (libusb 1.0)' ver='0.43') 0.001776 [D1] upsdrv_initups (non-SHUT)... 0.006316 [D2] Checking device 1 of 5 (1D6B/0003) 0.006570 [D1] Failed to open device (1D6B/0003), skipping: Access denied (insufficient permissions) 0.006599 [D2] Checking device 2 of 5 (3746/FFFF) 0.006621 [D1] Failed to open device (3746/FFFF), skipping: Access denied (insufficient permissions) 0.006631 [D2] Checking device 3 of 5 (1D6B/0002) 0.006645 [D1] Failed to open device (1D6B/0002), skipping: Access denied (insufficient permissions) 0.006654 [D2] Checking device 4 of 5 (1D6B/0003) 0.006667 [D1] Failed to open device (1D6B/0003), skipping: Access denied (insufficient permissions) 0.006674 [D2] Checking device 5 of 5 (1D6B/0002) 0.006685 [D1] Failed to open device (1D6B/0002), skipping: Access denied (insufficient permissions) 0.006693 [D2] libusb1: No appropriate HID device found 0.006700 libusb1: Could not open any HID devices: insufficient permissions on everything 0.006707 No matching HID UPS found
Any suggestions? I haven’t gone mucking about with any system accounts or services, etc.