Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 May 2011 03:00:00 -0400 (EDT)
From:      Charles Sprickman <spork@bway.net>
To:        freebsd-usb@freebsd.org
Subject:   usb serial port device naming
Message-ID:  <alpine.OSX.2.00.1105170243500.1983@hotlap.nat.fasttrackmonkey.com>

next in thread | raw e-mail | index | archive | help
Hello,

I recently started moving our console server from one box (4.11) to 
another (8.1).  The old box had some RocketPort PCI cards and a 16 port 
USB to serial adapter.  I moved the USB to serial device to the 8.1 box 
and added another 8 port USB to serial adapter.

I moved the 16 port box without a reboot, and then added the 8 port box. 
I started setting up conserver (console server software) with the new 
device names, and then decided perhaps a reboot to verify the device names 
"stuck" across reboots was in order.  Sure enough, on reboot the 8 port 
device preceded the 16 port - meaning my /dev/ttyU0 moved from being the 
first port on the 16 port box to being the first port on the 8 port box.

Is there anything I can do to "lock" these port assignments?  I suspect 
that on a reboot the order will stay the same, but if someone flips the 
ports around or unplugs either of these while the box is up all my console 
mappings will get scrambled.

Thanks,

Charles



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.OSX.2.00.1105170243500.1983>