From owner-freebsd-usb@FreeBSD.ORG Thu Jul 9 17:31:34 2009 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C7C7D106566B for ; Thu, 9 Jul 2009 17:31:34 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe07.swip.net [212.247.154.193]) by mx1.freebsd.org (Postfix) with ESMTP id 5D7F58FC18 for ; Thu, 9 Jul 2009 17:31:34 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=MXw7gxVQKqGXY79tIT8aFQ==:17 a=kNKxU6IRFeM57lXOwdEA:9 a=q68oui0cBWMRklgh5RbQJOBqQ7oA:4 Received: from [62.113.132.61] (account mc467741@c2i.net HELO laptop.adsl.tele2.no) by mailfe07.swip.net (CommuniGate Pro SMTP 5.2.13) with ESMTPA id 1271482622; Thu, 09 Jul 2009 19:31:33 +0200 From: Hans Petter Selasky To: freebsd-usb@freebsd.org Date: Thu, 9 Jul 2009 19:31:09 +0200 User-Agent: KMail/1.11.4 (FreeBSD/8.0-BETA1; KDE/4.2.4; i386; ; ) References: <200907091733.53664.nick@van-laarhoven.org> In-Reply-To: <200907091733.53664.nick@van-laarhoven.org> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200907091931.10975.hselasky@c2i.net> Cc: Subject: Re: ZTE devices 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: Thu, 09 Jul 2009 17:31:35 -0000 On Thursday 09 July 2009 17:33:52 Nick Hibma wrote: > HPS, > > Not sure whether this is actually a problem, but you might want to have a > look at the switch command for ZTE devices in the FBSD7 code base. it uses > a ZTE specific command. The ZTE 636 device here switches properly using > that command sequence. > > On another note, that device presents alternate interfaces, as in, > interface 0 and 2 have alternates 1 and 3 resp. How does the new stack > handle that? Can you set these alternates during attach? If so, you might > want to do that for ZTE devices, as the alternates probably contain the > additional serial ports. > > Below the descriptor dump for those devices. > > Nick > Hi, The 8-current u3g driver does not consider alternate settings. If that is a problem please suggest a patch. --HPS