Jon Bendtsen
2010-Nov-24 12:19 UTC
[Nut-upsuser] howto handle USB serial port keeps changing
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? JonB
James Harper
2010-Nov-24 12:27 UTC
[Nut-upsuser] howto handle USB serial port keeps changing
> > 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 doyou 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. James
Arnaud Quette
2010-Nov-24 17:40 UTC
[Nut-upsuser] howto handle USB serial port keeps changing
2010/11/24 Jon Bendtsen> 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? >adding a practical example to the theory: http://noctis.de/archives/16-HowTo-fixed-name-for-a-udev-device.html cheers, Arnaud -- Linux / Unix Expert R&D - Eaton - http://powerquality.eaton.com Network UPS Tools (NUT) Project Leader - http://www.networkupstools.org/ Debian Developer - http://www.debian.org Free Software Developer - http://arnaud.quette.free.fr/ -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.alioth.debian.org/pipermail/nut-upsuser/attachments/20101124/3944597e/attachment.htm>