Date: Wed, 04 Feb 2009 08:56:06 -0700 (MST) From: "M. Warner Losh" <imp@bsdimp.com> To: hselasky@c2i.net Cc: vova@fbsd.ru, usb@freebsd.org, freebsd-current@freebsd.org Subject: Re: USB2 - umass problem Message-ID: <20090204.085606.1630229139.imp@bsdimp.com> In-Reply-To: <200902041044.27663.hselasky@c2i.net> References: <1233734352.1767.55.camel@localhost> <200902041044.27663.hselasky@c2i.net>
next in thread | previous in thread | raw e-mail | index | archive | help
In message: <200902041044.27663.hselasky@c2i.net> Hans Petter Selasky <hselasky@c2i.net> writes: : Hi, : : On Wednesday 04 February 2009, Vladimir Grebenschikov wrote: : > Hi : > : > : > By some reason devfs semantic was changed: : > Instead of /dev/cuaU0.[0-2] and /dev/ttyU0.[0-2], I've get : > /dev/cuaU[0-2] /dev/ttyU[0-2] and! /dev/cuau1 /dev/ttyu1 : > What is reason for such change (additional port with lowercase 'u' and : > U[0-2] instead of more logical U0.[0-2]) ? : : It is because we are attaching drivers per interface instead of per device. A : new modem unit is allocated every time we find a modem, simply put. If the : modem has multiple instances in an interface, /dev/cuaU0.[0...] will be : created. Else /dev/cuaU... . Generally, we try not to change the details of how a device attaches /dev entries from release to release. Why the change? Also to Vladimir, Are you sure that the 'u' devices are created with the USB modem? They should only be created for uart devices... Warner
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090204.085606.1630229139.imp>