From owner-freebsd-current@FreeBSD.ORG Thu Jul 7 12:49:46 2011 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0E283106564A; Thu, 7 Jul 2011 12:49:46 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe04.c2i.net [212.247.154.98]) by mx1.freebsd.org (Postfix) with ESMTP id 536A18FC1A; Thu, 7 Jul 2011 12:49:45 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.1 cv=Ki88u+3nwejNRg6MOseuLmL2vomBRNHvHPpCRMZep5s= c=1 sm=1 a=SvYTsOw2Z4kA:10 a=8GCaWQNJa_IA:10 a=WQU8e4WWZSUA:10 a=8nJEP1OIZ-IA:10 a=CL8lFSKtTFcA:10 a=i9M/sDlu2rpZ9XS819oYzg==:17 a=8kQB0OdkAAAA:8 a=N3vH5299AAAA:8 a=Lx8nvDvfJ4C5hwmOibYA:9 a=wPNLvfGTeEIA:10 a=9aOQ2cSd83gA:10 a=i9M/sDlu2rpZ9XS819oYzg==:117 Received: from [188.126.198.129] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe04.swip.net (CommuniGate Pro SMTP 5.2.19) with ESMTPA id 149462814; Thu, 07 Jul 2011 14:49:43 +0200 From: Hans Petter Selasky To: freebsd-current@freebsd.org Date: Thu, 7 Jul 2011 14:47:52 +0200 User-Agent: KMail/1.13.5 (FreeBSD/8.2-STABLE; KDE/4.4.5; amd64; ; ) References: <1309237117.88943.YahooMailNeo@web39307.mail.mud.yahoo.com> <201107061719.38445.hselasky@c2i.net> In-Reply-To: X-Face: *nPdTl_}RuAI6^PVpA02T?$%Xa^>@hE0uyUIoiha$pC:9TVgl.Oq, NwSZ4V"|LR.+tj}g5 %V,x^qOs~mnU3]Gn; cQLv&.N>TrxmSFf+p6(30a/{)KUU!s}w\IhQBj}[g}bj0I3^glmC( :AuzV9:.hESm-x4h240C`9=w MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201107071447.53041.hselasky@c2i.net> Cc: PseudoCylon , "freebsd-wireless@freebsd.org" Subject: Re: [CFT] Sierra Wireless HSPA+ USB modem X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Jul 2011 12:49:46 -0000 On Thursday 07 July 2011 14:43:22 PseudoCylon wrote: > On Wed, Jul 6, 2011 at 9:19 AM, Hans Petter Selasky wrote: > >> Hi, > >> > >> I'm going to review and import your driver. > >> > >> --HPS > > > > Hi, > > > > The intial patch had some bad code and didn't compile on 9-current. I've > > tried to clean it up. Please test and report back if I didn't break > > anything. > > > > http://hselasky.homeunix.org:8192/usie_for_FreeBSD_9_current.patch > > > > --HPS > > Hello, > > Thanks for the patch. > > if_usie.c > 241 if (usbd_lookup_id_by_uaa(usie_devs, sizeof(usie_devs), uaa) != 0) > 242 return; /* no device match */ > > It should return non-zero on success, but somehow this caused the > process to exit, and modem stayed being a CD-ROM. Hi, Is this device changing its USB vendor and product ID ? We need this ID check, else all mass storage devices will receive the eject command! --HPS