Date: Wed, 18 May 2011 08:57:21 +0200 From: Hans Petter Selasky <hselasky@c2i.net> To: Christopher Hilton <chris@vindaloo.com> Cc: Charles Sprickman <spork@bway.net>, freebsd-usb@freebsd.org Subject: Re: usb serial port device naming Message-ID: <201105180857.21315.hselasky@c2i.net> In-Reply-To: <6CFC0E04-AF60-4983-A6FA-0AEC3CFAF75A@vindaloo.com> References: <alpine.OSX.2.00.1105170243500.1983@hotlap.nat.fasttrackmonkey.com> <201105171118.43267.hselasky@c2i.net> <6CFC0E04-AF60-4983-A6FA-0AEC3CFAF75A@vindaloo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201105180857.21315.hselasky>