Date: Wed, 10 Nov 2010 16:09:53 -0500 From: Dima Dorfman <dd@freebsd.org> To: Nick Hibma <n_hibma@freebsd.org> Cc: usb@freebsd.org Subject: Patch - u3g support for Huawei K3765 Message-ID: <m2sjz8c2ce.fsf@crouton.trit.net>
next in thread | raw e-mail | index | archive | help
--=-=-= Hello, I have a Vodafone-branded HUAWEI K3765 datacard, which should be supported by the u3g driver, but my unit needs some extra help to work. I'm not sure if this applies to all K3765s or if mine (or vodafone's) is special in some way. The special init product ID looks a little unusual, but it's exactly what the OpenBSD umsm driver does Nick, does this look good to you? Patch is attached Thanks, -- Dima --=-=-= Content-Type: text/x-patch Content-Disposition: inline; filename=u3g-k3765.diff Index: serial/u3g.c =================================================================== --- serial/u3g.c (revision 215101) +++ serial/u3g.c (working copy) @@ -288,6 +288,7 @@ U3G_DEV(HUAWEI, MOBILE, U3GINIT_HUAWEI), U3G_DEV(HUAWEI, E1752, U3GINIT_HUAWEISCSI), U3G_DEV(HUAWEI, K3765, U3GINIT_HUAWEI), + U3G_DEV(HUAWEI, K3765_INIT, U3GINIT_HUAWEISCSI), U3G_DEV(KYOCERA2, CDMA_MSM_K, 0), U3G_DEV(KYOCERA2, KPC680, 0), U3G_DEV(LONGCHEER, WM66, U3GINIT_HUAWEI), Index: usbdevs =================================================================== --- usbdevs (revision 215101) +++ usbdevs (working copy) @@ -1857,6 +1857,7 @@ product HUAWEI E1752 0x1446 3G modem product HUAWEI K3765 0x1465 3G modem product HUAWEI E14AC 0x14ac 3G modem +product HUAWEI K3765_INIT 0x1520 HUAWEI Mobile K3765 Initial /* HUAWEI 3com products */ product HUAWEI3COM WUB320G 0x0009 Aolynk WUB320g --=-=-=--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?m2sjz8c2ce.fsf>