September 4, 2026

some extra useless notes about NUT on Fedora

My UPS is a Cyberpower CP1500PFCLCD. I am running Fedora 44 on an x86 desktop.

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.

A look at files in /bin

cd /bin
ls nut*
nutconf  nut-scanner
ls ups*
upsc  upscmd  upsd  upsdrvctl  upsdrvsvcctl  upslog  upsmon  upsrw  upssched  upssched-cmd
Most (all?) of these have man pages.

Dealing with udev rules

You should not need to do anything with this. Just installing the Fedora nut package should set this up. It should. It does provide the file. But you never know.

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 --reload
And if the device is already plugged in, you either want to unplug/replug it or use the command:
sudo udevadm trigger

Have any comments? Questions? Drop me a line!