From owner-freebsd-usb@FreeBSD.ORG Wed May 18 06:58:30 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 0D9081065670 for ; Wed, 18 May 2011 06:58:30 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe07.c2i.net [212.247.154.194]) by mx1.freebsd.org (Postfix) with ESMTP id 8C6A58FC17 for ; Wed, 18 May 2011 06:58:29 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.1 cv=EsGlCpMeIw85Gy1IHWHJoTo3ieATU4tNmYze/bSqBec= c=1 sm=1 a=SvYTsOw2Z4kA:10 a=z-Xvt5ykEnYA:10 a=WQU8e4WWZSUA:10 a=8nJEP1OIZ-IA:10 a=CL8lFSKtTFcA:10 a=i9M/sDlu2rpZ9XS819oYzg==:17 a=SXy45_S-PVexSAgnaQcA:9 a=wPNLvfGTeEIA:10 a=i9M/sDlu2rpZ9XS819oYzg==:117 Received: from [188.126.198.129] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe07.swip.net (CommuniGate Pro SMTP 5.2.19) with ESMTPA id 127804647; Wed, 18 May 2011 08:58:28 +0200 From: Hans Petter Selasky To: Christopher Hilton Date: Wed, 18 May 2011 08:57:21 +0200 User-Agent: KMail/1.13.5 (FreeBSD/8.2-STABLE; KDE/4.4.5; amd64; ; ) References: <201105171118.43267.hselasky@c2i.net> <6CFC0E04-AF60-4983-A6FA-0AEC3CFAF75A@vindaloo.com> In-Reply-To: <6CFC0E04-AF60-4983-A6FA-0AEC3CFAF75A@vindaloo.com> X-Face: *nPdTl_}RuAI6^PVpA02T?$%Xa^>@hE0uyUIoiha$pC:9TVgl.Oq, NwSZ4V"|LR.+tj}g5 %V,x^qOs~mnU3]Gn; cQLv&.N>TrxmSFf+p6(30a/{)KUU!s}w\IhQBj}[g}bj0I3^glmC( :AuzV9:.hESm-x4h240C`9=w MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201105180857.21315.hselasky@c2i.net> Cc: Charles Sprickman , 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: Wed, 18 May 2011 06:58:30 -0000 On Tuesday 17 May 2011 18:19:25 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. > Yes, I think that is the idea. Currently this functionality is only introduced in 8-stable and 9-current. --HPS