From owner-freebsd-usb@FreeBSD.ORG Wed Feb 4 16:31:00 2009 Return-Path: Delivered-To: usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 637E01065672; Wed, 4 Feb 2009 16:31:00 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe08.swip.net [212.247.154.225]) by mx1.freebsd.org (Postfix) with ESMTP id C3DB58FC12; Wed, 4 Feb 2009 16:30:59 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=eQgmVNAsqagA:10 a=gkBtyVXq2fsA:10 a=_GpmdnD9TGfYaHV3wcMA:9 a=fb1yOvZzWwtjYqavfUboWBoF3YEA:4 a=50e4U0PicR4A:10 Received: from [85.19.218.115] (account mc467741@c2i.net HELO [10.37.1.92]) by mailfe08.swip.net (CommuniGate Pro SMTP 5.2.6) with ESMTPA id 1189347199; Wed, 04 Feb 2009 17:30:58 +0100 From: Hans Petter Selasky To: freebsd-current@freebsd.org Date: Wed, 4 Feb 2009 17:33:22 +0100 User-Agent: KMail/1.9.7 References: <1233734352.1767.55.camel@localhost> <200902041044.27663.hselasky@c2i.net> <20090204.085606.1630229139.imp@bsdimp.com> In-Reply-To: <20090204.085606.1630229139.imp@bsdimp.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200902041733.23389.hselasky@c2i.net> Cc: vova@fbsd.ru, usb@freebsd.org Subject: Re: [was: USB2 - umass problem] U3G modem unit number changes 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, 04 Feb 2009 16:31:01 -0000 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