After spending all day sort of getting NUT to work, I just shoved some extra notes into this file. I have a 2 part section on all of that.
cd /bin ls nut* nutconf nut-scanner ls ups* upsc upscmd upsd upsdrvctl upsdrvsvcctl upslog upsmon upsrw upssched upssched-cmdMost (all?) of these have man pages.
This needs to be done right or permissions will block access to USB. There is a bunch of stuff in /usr/lib/udev/rules.d -- in particular the file 62-nut-usbups.rules. These are actually in force. The rules in /etc/udev/rules.d are things added by the user in addition to these.
Within this big file, the lines that matter to me are the following. In fact the last of the three match my Vendor and Product ID
# Cyber Power Systems
# 900AVR/BC900D - usbhid-ups
ATTR{idVendor}=="0764", ATTR{idProduct}=="0005", MODE="664", GROUP="dialout"
# Dynex DX-800U?, CP1200AVR/BC1200D, CP825AVR-G, CP1000AVRLCD, CP1000PFCLCD, CP1500C, CP550HG, etc. - usbhid-ups
ATTR{idVendor}=="0764", ATTR{idProduct}=="0501", MODE="664", GROUP="dialout"
# OR2200LCDRM2U, OR700LCDRM1U, PR6000LCDRTXL5U, CP1350EPFCLCD - usbhid-ups
ATTR{idVendor}=="0764", ATTR{idProduct}=="0601", MODE="664", GROUP="dialout"
Once a rule is added, you need to do this:
sudo udevadm control --reloadAnd if the device is already plugged in, you either want to unplug/replug it or use the command:
sudo udevadm trigger