From owner-freebsd-usb@FreeBSD.ORG Tue May 17 18:58:00 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 25343106566B for ; Tue, 17 May 2011 18:58:00 +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 B659D8FC25 for ; Tue, 17 May 2011 18:57:59 +0000 (UTC) Received: (qmail 35101 invoked by uid 0); 17 May 2011 18:57:58 -0000 Received: from smtp.bway.net (216.220.96.25) by xena.bway.net with (DHE-RSA-AES256-SHA encrypted) SMTP; 17 May 2011 18:57:58 -0000 Received: (qmail 35084 invoked by uid 90); 17 May 2011 18:57:57 -0000 Received: from unknown (HELO hotlap.nat.fasttrackmonkey.com) (spork@96.57.144.66) by smtp.bway.net with (AES256-SHA encrypted) SMTP; 17 May 2011 18:57:57 -0000 Message-ID: <4DD2C534.8000005@bway.net> Date: Tue, 17 May 2011 14:57:56 -0400 From: Charles Sprickman User-Agent: Postbox 2.1.4 (Macintosh/20110310) MIME-Version: 1.0 To: Christopher Hilton References: <201105171118.43267.hselasky@c2i.net> <6CFC0E04-AF60-4983-A6FA-0AEC3CFAF75A@vindaloo.com> In-Reply-To: <6CFC0E04-AF60-4983-A6FA-0AEC3CFAF75A@vindaloo.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-usb@freebsd.org Subject: Re: 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 18:58:00 -0000 Christopher Hilton wrote: > On May 17, 2011, at 5:18 AM, Hans Petter Selasky wrote: > >> Hi, >> >> If you run 8-stable, there is some information you can lookup via sysctls of >> the USB devices, which tells you which port belongs to which device. >> >> Use the serial number to identify your device, if your device has such a >> value. >> >> usbconfig -d X.Y dump_device_desc >> > > Are you suggesting that one could use this information to config devd and perhaps automatically create a link to the correct port at USB attach time? I ask because I anticipate having to deal with this situation in the future. My question as well... Thanks, Charles > -- Chris > > Chris Hilton e: chris /at/ vindaloo /dot/ com > ------------------------------------------------------------------------ > "All I was doing was trying to get home from work!" > -- Rosa Parks >