[Nut-upsuser] howto handle USB serial port keeps changing

Jon Bendtsen jbendtsen at laerdal.dk
Wed Nov 24 13:15:04 UTC 2010

On 24/11/2010, at 13.57, Charles Lepple wrote:

> On Nov 24, 2010, at 7:27 AM, James Harper wrote:
>>> Hi
>>> I have a serial UPS connected using a serial2USB device. Usually it is
>>> port=/dev/ttyUSB0, but occasionally i need port=/dev/ttyUSB1. How do you guys
>>> handle something like this?
>> Could some udev persistent device naming rules help with this? I've done
>> that with usb harddisks before but not serial ports.
> The udev rules need something unique to latch on to, so hopefully the serial-to-USB device has a USB serial number, or is a different model or brand than the other converters that you use.

I have 2, one has a serial number, the other does not. And the other is a dual serial port thing.

Thanks for the advice.


More information about the Nut-upsuser mailing list