NUT Config

Matthew Saltzman mjs at ces.clemson.edu
Sat Aug 27 13:06:46 UTC 2005


On Fri, 26 Aug 2005, Robert Bell wrote:

> I'm hoping someone can help me here. I'm reading the docs for NUT, trying to 
> get it to talk to my CyberPower AVR1500 UPS. The docs say:
>
> Next, create an entry in ups.conf like this:
>
> 	[myups]
> 		driver = hidups
> 		port = /dev/usb/hid/hiddev0
>
>   If you don't have those entries in /dev, make them with mknod -
>   they're character devices, major 180, minor 96 and up.
>
>
> I have no clue how how to do whatever it says to do in the last sentance. I 
> know the system is reporting my UPS on 
> kernel: hiddev96: USB HID v1.10 Device [Cyber Power System CPS RS232 USB 
> BRIDGE for UPS] on usb-0000:00:10.1-2
>
> /dev/usb/hid/hiddev96 does not exist. Can someone tell me how to make it?

You shouldn't have to make any devices.  One point of the udev device 
manager in FC4 is that it creates and destroys USB device nodes as the 
devices are attached and detached.  The device created when my APC UPS
is detected is /dev/hiddev0.

A couple of other things to be aware of when configuring nut on FC:

- The FC packages for nut work with a file called /etc/sysconfig/ups.  You 
*must* include configuration information (at least MODEL and DEVICE) in 
this file.  The FC installation of nut will not work without it.  OPTIONS 
and UPSD_OPTIONS can be configured there or in /etc/ups/.  (When I first 
set up nut, I tried the standard configuration.  I finally got it working 
by fixing /etc/sysconfig/ups, but I haven't gone back to figure out what I 
don't need from the /etc/ups configs.)

- There's a USB driver bug that causes USB errors to be logged every five 
seconds when upsd is running.  That makes for constant disk activity and 
very large log files.

 	https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=164051

>
> Thanks !
>
>
>

-- 
 		Matthew Saltzman

Clemson University Math Sciences
mjs AT clemson DOT edu
http://www.math.clemson.edu/~mjs




More information about the fedora-list mailing list