From owner-freebsd-hackers@FreeBSD.ORG Thu Dec 8 14:41:47 2011 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8E20E1065675 for ; Thu, 8 Dec 2011 14:41:47 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe06.c2i.net [212.247.154.162]) by mx1.freebsd.org (Postfix) with ESMTP id 20C788FC15 for ; Thu, 8 Dec 2011 14:41:46 +0000 (UTC) X-T2-Spam-Status: No, hits=-0.2 required=5.0 tests=ALL_TRUSTED, BAYES_50 Received: from [188.126.198.129] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe06.swip.net (CommuniGate Pro SMTP 5.4.2) with ESMTPA id 213145416; Thu, 08 Dec 2011 15:41:44 +0100 From: Hans Petter Selasky To: freebsd-hackers@freebsd.org Date: Thu, 8 Dec 2011 15:39:10 +0100 User-Agent: KMail/1.13.5 (FreeBSD/8.2-STABLE; KDE/4.4.5; amd64; ; ) References: 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="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <201112081539.11014.hselasky@c2i.net> Cc: Lorenzo Cogotti Subject: Re: USB Texas Instruments CDCE modem not recognized by cdce X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Dec 2011 14:41:47 -0000 On Thursday 08 December 2011 14:09:47 Lorenzo Cogotti wrote: > Dear all, > > I am new to this list and to FreeBSD in general, so first of all hi > everyone and thank you for providing this awesome and rock solid OS. > > I have a CDC compliant (at least this is what the manufacturer claims) > USB Modem, which doesn't get detected by cdce module. > > /var/log/messages reports: > root: Unknown USB device: vendor 0x0451 product 0x6060 bus uhub0 > kernel: ugen0.2: at usbus0 > > usbconfig list reports: > ugen0.2: > at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON > > I tested this with FreeBSD 8.2 and FreeBSD 9.0RC2, the situation doesn't > change. > I tested this modem on Linux, which is able to detect and properly use > this modem via USB with module: cdc_ether > > I suspect that some trivial changes to cdce module would get this modem > up and running, but I am too newbie to do this on my own, so I thought > to ask this ML for help on this topic. > > I took a look to cdce, on kernel sources included with FreeBSD 8.2 > release, more precisely to: > dev/usb/net/if_cdce.c > Hi, > I assume that a device specific entry to: Typically you need to select configuration 1 for dual RNDIS/CDCE devices to work. 1) Locate your device: usbconfig 2) Set config 1 usbconfig -d X.Y set_config 1 To permanently do this, you can set the configuration index 1 quirk for your device. --HPS