From owner-freebsd-usb@FreeBSD.ORG Tue May 17 07:26:43 2011 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 627861065676 for ; Tue, 17 May 2011 07:26:43 +0000 (UTC) (envelope-from spork@bway.net) Received: from xena.bway.net (xena.bway.net [216.220.96.26]) by mx1.freebsd.org (Postfix) with ESMTP id F19AC8FC16 for ; Tue, 17 May 2011 07:26:42 +0000 (UTC) Received: (qmail 38988 invoked by uid 0); 17 May 2011 07:00:01 -0000 Received: from smtp.bway.net (216.220.96.25) by xena.bway.net with (DHE-RSA-AES256-SHA encrypted) SMTP; 17 May 2011 07:00:01 -0000 Received: (qmail 38842 invoked by uid 90); 17 May 2011 07:00:01 -0000 Received: from unknown (HELO hotlap.nat.fasttrackmonkey.com) (spork@96.57.144.66) by smtp.bway.net with (DHE-RSA-AES256-SHA encrypted) SMTP; 17 May 2011 07:00:01 -0000 Date: Tue, 17 May 2011 03:00:00 -0400 (EDT) From: Charles Sprickman X-X-Sender: spork@hotlap.nat.fasttrackmonkey.com To: freebsd-usb@freebsd.org Message-ID: User-Agent: Alpine 2.00 (OSX 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII Subject: usb serial port device naming X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 May 2011 07:26:43 -0000 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