Displaying 1 result from an estimated 1 matches for "upsserial2usb".
2008 May 12
1
Usb, udev and nut
...USB0 it creates ttyUSB1. Here
is the udev rule that I added to the top of the 025_nut-usbups.rules
file in order to create a static symlink should udev decide to create
the device as either ttyUSB0 or ttyUSB1.
KERNEL=="ttyUSB?", MODE="664" GROUP="nut", SYMLINK+="upsserial2usb"
The ups.conf file is set to use the newly created symlink
/dev/upsserial2usb
[myups]
driver = megatec
port = /dev/upsserial2usb
desc = "Local UPS"
And here is the problem: upsdrvctl will fail to start when pointed to
the symlink that the udev rule creates, but will st...