u3g supports LongCheer WM66 HSDPA Modem
Hans Petter Selasky
hselasky at c2i.net
Sun Dec 21 16:08:20 UTC 2008
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: <USB Modem USB Modem, class 0/0, rev
> 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
More information about the freebsd-current
mailing list