[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Nut,usb and installation

Thomas Taylor wrote:
On Saturday 24 September 2005 18:43, david walcroft wrote:

Markku Kolkka wrote:

david walcroft kirjoitti viestissään (lähetysaika sunnuntai, 25.

syyskuuta 2005 00:37):

# If the UPS is locally attached set it to "yes"
# Model of the UPS (filename to call for it, without path)
# Example - one of
#       apcsmart        - APC SMartUPS and similar
#       fentonups       - Fenton UPS
#       optiups
#       bestups
#       genericups
#       ups-trust425+625
#  upsdrvctl
# You MUST change this, or set SERVER to "no"
# To support multiple drivers, set MODEL=upsdrvctl

The "MODEL" parameter does _not_ mean the actual model of your
ups, you must set it to the nut driver used for your UPS (or

# UPS device - needed if UPS is locally attached

Wasn't your UPS connected through USB, not the serial port?

Ok, I'll set up with MODEL=genericups, but I'm not sure what USB uses
for connections <socket> <port> and how to determine the same for a
config file.

Thanks for all you help Markku.


-- To find out where udev is putting your ups, as root run "tail /var/log/message" after plugging the ups into the usb socket, the entry you want will probably contain /dev/ttyUSB1..4. But be warned, it may not always be loaded as the same usb device depending on other usb devices being plugged or unplugged.

You will probably have to write a rule for your ups. Take a look at the man page for udev and examine the existing rules in /etc/udev/rules/d to get the idea. It would be a good idea to create a "file" under /dev, sav /dev/ups, and put a symlink pointing to it in the rule.

Hope this helps,

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

Thanks Tom,
I've run 'Tail /var/log/messages' several times before - same result

"Sep 25 17:19:24 reddwarf kernel: usb 3-2: USB disconnect, address 2

Sep 25 17:19:34 reddwarf kernel: usb 3-2: new low speed USB device using uhci_hcd and address 5"

I have never seen so many config files for one programme !!


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]