Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 4 Feb 2009 17:33:22 +0100
From:      Hans Petter Selasky <hselasky@c2i.net>
To:        freebsd-current@freebsd.org
Cc:        vova@fbsd.ru, usb@freebsd.org, "M. Warner Losh" <imp@bsdimp.com>
Subject:   Re:  [was: USB2 - umass problem] U3G modem unit number changes
Message-ID:  <200902041733.23389.hselasky@c2i.net>
In-Reply-To: <20090204.085606.1630229139.imp@bsdimp.com>
References:  <1233734352.1767.55.camel@localhost> <200902041044.27663.hselasky@c2i.net> <20090204.085606.1630229139.imp@bsdimp.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

On Wednesday 04 February 2009, M. Warner Losh wrote:

> Why the change? 

Because u3g2.c is attaching to an USB interface and not the whole USB device. 
This is to allow other drivers to hook on the other interfaces.

If you want to have exactly the same numbering like before, then the U3G 
interface driver instances on the same USB device need to peek at eachother 
to figure out the correct unit and sub-unit number.

>
> Also to Vladimir, Are you sure that the 'u' devices are created with
> the USB modem?  They should only be created for uart devices...

--HPS



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200902041733.23389.hselasky>