From owner-freebsd-net@FreeBSD.ORG Mon Mar 14 10:11:36 2011 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7CA3F1065689 for ; Mon, 14 Mar 2011 10:11:36 +0000 (UTC) (envelope-from milu@dat.pl) Received: from jab.dat.pl (dat.pl [80.51.155.34]) by mx1.freebsd.org (Postfix) with ESMTP id 35B9B8FC1D for ; Mon, 14 Mar 2011 10:11:35 +0000 (UTC) Received: from jab.dat.pl (jsrv.dat.pl [127.0.0.1]) by jab.dat.pl (Postfix) with ESMTP id D7E209D; Mon, 14 Mar 2011 11:11:34 +0100 (CET) X-Virus-Scanned: amavisd-new at dat.pl Received: from jab.dat.pl ([127.0.0.1]) by jab.dat.pl (jab.dat.pl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id PKInsYXduQZa; Mon, 14 Mar 2011 11:11:30 +0100 (CET) Received: from snifi.localnet (unknown [212.69.68.42]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by jab.dat.pl (Postfix) with ESMTPSA id 934B048; Mon, 14 Mar 2011 11:11:30 +0100 (CET) From: Maciej Milewski To: freebsd-net@freebsd.org Date: Mon, 14 Mar 2011 11:11:29 +0100 User-Agent: KMail/1.13.6 (Linux/2.6.37-ARCH; KDE/4.6.1; x86_64; ; ) References: <201103140828.55848.milu@dat.pl> <201103141640.55493.erichfreebsdlist@ovitrap.com> In-Reply-To: <201103141640.55493.erichfreebsdlist@ovitrap.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-2" Content-Transfer-Encoding: quoted-printable Message-Id: <201103141111.30137.milu@dat.pl> Cc: Ryan Coleman Subject: Re: Setting up Novatel Mifi 2200 on 8.2-REL X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Mar 2011 10:11:36 -0000 Dnia poniedzia=B3ek, 14 marca 2011 o 10:40:55 Erich Dollansky napisa=B3(a): > Hi, >=20 > On Monday 14 March 2011 14:28:55 Maciej Milewski wrote: > > Monday 14 of March 2011 01:38:21 Ryan Coleman napisa=B3(a): > > It is recognized as cd device (it's called a feature in windows world - > > it has a drivers for the modem to autoinstall it). Ejecting this cd > > should detach umass and attach modem/serial device: > > camcontrol eject cd0 > >=20 > > I think that adding > > product NOVATEL ZEROCD2 0x5020 Novatel ZeroCD > > into sys/dev/usb/usbdevs and recompiling kernel may work. >=20 > you must also add an corresponding entry into u3g.c or you will not be ab= le > to compile it. >=20 > Erich I'm not sure of that in this case because I saw that ZEROCD2 actually isn't= =20 mentioned nowhere in the usb tree but exists unattached: %grep ZEROCD2 /usr/src/sys/dev/usb/* /usr/src/sys/dev/usb/usbdevs:product NOVATEL ZEROCD2 0x5030 =20 Novatel ZeroCD and grepping by ZEROCD gives: %grep ZEROCD /usr/src/sys/dev/usb/* /usr/src/sys/dev/usb/usbdevs:product NOVATEL ZEROCD 0x5010 =20 Novatel ZeroCD /usr/src/sys/dev/usb/usbdevs:product NOVATEL ZEROCD2 0x5030 =20 Novatel ZeroCD /usr/src/sys/dev/usb/usbdevs:product STELERA ZEROCD 0x1000 Zer= ocd=20 Installer So maybe there is a bug that it's not attached in the u3g.c as it should? /usr/src/sys/dev/usb/serial/u3g.c: U3G_DEV(NOVATEL, ZEROCD2,=20 U3GINIT_SCSIEJECT), Maciej Milewski