NUT Config

Thomas Taylor linxt at comcast.net
Sat Aug 27 06:50:45 UTC 2005


On Friday 26 August 2005 20:15, 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?
>
> Thanks !

Take a look at the man and info pages for mknod.  You have to create the node. 

You have the clues you need above.  It's a character device, 
named /dev/usb/hid/hiddev0, the major number is 180 and the minor number is 
96.

Therefore, as root run this command:

	mknod /dev/usb/hid/hiddev0 c 180 96 

Please do the reading first to be sure you know what you're doing.

HTH,
Tom

-- 
Tom Taylor
Linux user #263467
Federal Way, WA
Iraq war: 1,872 and counting









More information about the fedora-list mailing list