Re: USB2 - umass problem

From: Vladimir Grebenschikov <vova_at_fbsd.ru>
Date: Thu, 05 Feb 2009 01:31:01 +0300
On Wed, 2009-02-04 at 08:56 -0700, M. Warner Losh wrote:
> In message: <200902041044.27663.hselasky_at_c2i.net>
>             Hans Petter Selasky <hselasky_at_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...

Yes, it is uart.

> Warner
-- 
Vladimir B. Grebenschikov
vova_at_fbsd.ru
Received on Wed Feb 04 2009 - 21:32:09 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:41 UTC