<div dir="ltr"><div>Hello:</div><div><br></div><div>I have a Cyberpower OL1500RTXL2U ups connected to a raspberry pi running void linux via USB. <br></div><div><br></div><div>After configuring the UPS and attempting to start the usbhid-ups driver, it fails to detect it, even when running with the -u root option. Based on the debug logs, it checks the correct USB device but doesn't detect it for some reason.</div><div><br></div><div>Below are terminal extracts of nut-scanner and attempting to start the usbhid-ups driver manually, as well as version numbers and OS info.</div><div><br></div><div>Also below are my config files with passwords and serial numbers censored.</div><div><br></div><div>Thank you for any assistance you can provide.</div><div><br></div><div>If you need any more information, I will attempt to provide it.</div><div><br></div><div>[toxicsauce@rack-monitor ~]$ upsd -V<br>Network UPS Tools upsd 2.7.4<br>[toxicsauce@rack-monitor ~]$</div><div><br></div><div>[toxicsauce@rack-monitor ~]$ uname -a<br>Linux rack-monitor 4.19.120_1 #1 SMP Mon May 11 19:27:08 UTC 2020 armv7l GNU/Linux<br>[toxicsauce@rack-monitor ~]$</div><div><br></div><div>Statepath is /run/ups:</div><div>   0 drwxrwx---  2 nut  nut    40 Dec 31 17:16 ups</div><div><br></div><div>[toxicsauce@rack-monitor run]$ ls -lash /etc/ups/<br>total 52K<br>4.0K drwxr-xr-x  2 root root 4.0K May 17  2020 .<br>4.0K drwxr-xr-x 31 root root 4.0K May 17  2020 ..<br>4.0K -rw-r-----  1 root nut  1.6K May 17  2020 nut.conf<br>8.0K -rw-r-----  1 root nut  4.8K Dec 31 17:11 ups.conf<br>8.0K -rw-r-----  1 root nut  4.5K Jun 18  2020 upsd.conf<br>4.0K -rw-r-----  1 root nut  2.3K Jun 18  2020 upsd.users<br> 16K -rw-r-----  1 root nut   15K Jun 13  2019 upsmon.conf<br>4.0K -rw-r-----  1 root nut  3.8K Jun 13  2019 upssched.conf<br></div><div><br></div><div>[toxicsauce@rack-monitor run]$ sudo nut-scanner<br>Password:<br>AVAHI client library not found. AVAHI search disabled.<br>Scanning USB bus.<br>No start IP, skipping SNMP<br>Scanning XML/HTTP bus.<br>No start IP, skipping NUT bus (old connect method)<br>[nutdev1]<br>        driver = "usbhid-ups"<br>        port = "auto"<br>        vendorid = "0764"<br>        productid = "0601"<br>        product = "OL1500RTXL2U"<br>        serial = "XXXXXXXXXXXX"<br>        vendor = "CyberPower Systems"<br>        bus = "001"<br></div><div><br></div><div>[toxicsauce@rack-monitor run]$ sudo /var/lib/nut/usbhid-ups -a cyberpower -DDDDDDDDDDDD -u root</div>Password:<br>Network UPS Tools - Generic HID driver 0.41 (2.7.4)<br>USB communication driver 0.33<br>   0.000000     debug level is '12'<br>   0.000597     upsdrv_initups...<br>   0.012367     Checking device (0764/0601) (001/004)<br>   0.038119     - VendorID: 0764<br>   0.038191     - ProductID: 0601<br>   0.038249     - Manufacturer: CyberPower Systems<br>   0.038308     - Product: OL1500RTXL2U<br>   0.038365     - Serial Number: XXXXXXXXXXX<br>   0.038423     - Bus: 001<br>   0.038480     - Device release number: 0200<br>   0.038534     Trying to match device<br>   0.038687     Device does not match - skipping<br>   0.038810     Checking device (0424/EC00) (001/003)<br>   0.038971     - VendorID: 0424<br>   0.039031     - ProductID: ec00<br>   0.039074     - Manufacturer: unknown<br>   0.039115     - Product: unknown<br>   0.039160     - Serial Number: unknown<br>   0.039202     - Bus: 001<br>   0.039243     - Device release number: 0200<br>   0.039286     Trying to match device<br>   0.039338     Device does not match - skipping<br>   0.039418     Checking device (0424/9514) (001/002)<br>   0.039534     - VendorID: 0424<br>   0.039582     - ProductID: 9514<br>   0.039624     - Manufacturer: unknown<br>   0.039666     - Product: unknown<br>   0.039708     - Serial Number: unknown<br>   0.039753     - Bus: 001<br>   0.039799     - Device release number: 0200<br>   0.039842     Trying to match device<br>   0.039895     Device does not match - skipping<br>   0.039979     Checking device (1D6B/0002) (001/001)<br>   0.040917     - VendorID: 1d6b<br>   0.040977     - ProductID: 0002<br>   0.041044     - Manufacturer: Linux 4.19.120_1 dwc_otg_hcd<br>   0.041094     - Product: DWC OTG Controller<br>   0.041141     - Serial Number: XXXXXXXX<br>   0.041182     - Bus: 001<br>   0.041223     - Device release number: 0419<br>   0.041264     Trying to match device<br>   0.041312     Device does not match - skipping<br>   0.041396     No appropriate HID device found<br><div>   0.041447     No matching HID UPS found</div><div><br></div><div><br></div><div>[toxicsauce@rack-monitor ups]$sudo cat nut.conf<br>Password:<br><br>MODE=netserver</div><div><br></div><div>[toxicsauce@rack-monitor ups]$ sudo cat ups.conf</div><div>Password:</div><div><br></div><div># Network UPS Tools: example ups.conf<br><br>[cyberpower]<br>        driver=usbhid-ups<br>        port=auto<br>        vendorid="0764"<br>        productid="0601"<br>        product="OL1500RTXL2U"<br>        serial="XXXXXXXXX"<br>        vendor="Cyber Power Systems"<br>        bus="001"<br>        desc="Main 1500VA ups"<br>        pollinterval=15</div><div><br></div><div>[toxicsauce@rack-monitor ups]$ sudo less upsd.conf<br></div><div>Password:</div><div><br></div><div># Network UPS Tools: example upsd configuration file<br>#<br># This file contains access control data, you should keep it secure.<br>#<br># It should only be readable by the user that upsd becomes.  See the FAQ.<br>#<br># Each entry below provides usage and default value.</div><div><br></div><div># =======================================================================<br># MAXAGE <seconds><br># MAXAGE 15<br>#<br># This defaults to 15 seconds.  After a UPS driver has stopped updating<br># the data for this many seconds, upsd marks it stale and stops making<br># that information available to clients.  After all, the only thing worse<br># than no data is bad data.<br>#<br># You should only use this if your driver has difficulties keeping<br># the data fresh within the normal 15 second interval.  Watch the syslog<br># for notifications from upsd about staleness.<br><br># =======================================================================<br># STATEPATH <path><br># STATEPATH /var/run/nut<br>#<br># Tell upsd to look for the driver state sockets in 'path' rather<br># than the default that was compiled into the program.<br><br># =======================================================================<br># LISTEN <address> [<port>]<br>LISTEN 127.0.0.1 3493<br>LISTEN ::1 3493<br>LISTEN 10.0.1.12 3493</div><div><br></div><div><br></div><div>all other config files are default, as I was testing things first before configuring the autoshutdown scripts.</div></div>