From owner-freebsd-current@FreeBSD.ORG Sun Dec 21 16:08:20 2008 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 92E9C1065677 for ; Sun, 21 Dec 2008 16:08:20 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe10.swipnet.se [212.247.155.33]) by mx1.freebsd.org (Postfix) with ESMTP id 27EE88FC1B for ; Sun, 21 Dec 2008 16:08:19 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=BEaspg8GV2sA:10 a=j9K8MEizs28A:10 a=Rige9g_vBmkQULO9djsA:9 a=W_QrgxDzOs2W7h4EJqIA:7 a=6CkqAJ3G2ZlnEFPrnx98iLSqK2MA:4 a=G2AsRb49nnwmWARIy9zzNStElGQ=:19 a=LY0hPdMaydYA:10 Received: from [193.217.167.134] (account mc467741@c2i.net HELO [10.0.0.186]) by mailfe10.swip.net (CommuniGate Pro SMTP 5.2.6) with ESMTPA id 1000246774; Sun, 21 Dec 2008 17:08:18 +0100 From: Hans Petter Selasky To: freebsd-current@freebsd.org, Antonio Hilario Date: Sun, 21 Dec 2008 17:10:36 +0100 User-Agent: KMail/1.9.7 References: <200812211026.05140.avahilario@gmail.com> In-Reply-To: <200812211026.05140.avahilario@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200812211710.37104.hselasky@c2i.net> Cc: Subject: Re: u3g supports LongCheer WM66 HSDPA 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: Sun, 21 Dec 2008 16:08:20 -0000 On Sunday 21 December 2008, Antonio A Hilario wrote: > Hello all, > > I managed to get my LongCheer WM66 HSDPA modem working using the u3g > driver, after several weeks of getting by with ubsa. > > The device is a ZeroCD device which uses these vendor IDs: > > Mass storage mode: > > vendor 0x1c9e > product 0x1001 > > HSDPA mode: > > vendoer 0x1c9e > product 0x6061 > > This requires patching /usr/src/sys/dev/usb/u3g.c, in 7.1-PRERELEASE > > {{ USB_VENDOR_HUAWEI, USB_PRODUCT_HUAWEI_MOBILE }, > U3GSP_HSDPA, U3GFL_HUAWEI_INIT }, > + {{ USB_VENDOR_LONGCHEER, USB_PRODUCT_LONGCHEER_WM66 }, > U3GSP_HSDPA, U3GFL_HUAWEI_INIT | U3GFL_SCSI_EJECT }, > {{ USB_VENDOR_HUAWEI, USB_PRODUCT_HUAWEI_E220 }, > U3GSP_HSPA, U3GFL_HUAWEI_INIT }, > > as well as /usr/src/sys/dev/usb/usbdevs > > vendor LONGCHEER 0x1c9e Longcheer Holdings, Ltd. > > product LONGCHEER WM66 0x6061 WM66 HSDPA USB Modem > > > The driver creates three devices /dev/ttyU0.%d, of which the first is used > as the device's AT command interface: > > Dec 20 16:41:45 emily ucom0: 1.10/0.00, addr 3> on uhub4 > Dec 20 16:41:45 emily ucom0: configured 3 serial ports (U0.%d) > > My thanks for the work done on u3g! Device works beautifully under minicom > and with ppp, and am able to attain ~ 40kBps with our carrier - *without* > those annoying stalls I got under UBSA. > > - Antonio Hi, Can you make a USB-PR containing your patch so that we don't loose it? I'm probably going through the USB PR-list during the X-mas holidays to get patches committed. --HPS