usb/136761: [usbdevs] [patch] Teach usbdevs / u3g(4) about Huawei
E180v 3G modem
Beat Gätzi
beat at chruetertee.ch
Tue Jul 14 16:40:01 UTC 2009
>Number: 136761
>Category: usb
>Synopsis: [usbdevs] [patch] Teach usbdevs / u3g(4) about Huawei E180v 3G modem
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-usb
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Tue Jul 14 16:40:00 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator: Beat Gätzi
>Release: FreeBSD 8.0-BETA1 i386
>Organization:
>Environment:
System: FreeBSD daedalus.network.local 8.0-BETA1 FreeBSD 8.0-BETA1 #10: Tue Jul 14 14:01:16 CEST 2009 root at daedalus.network.local:/usr/obj/usr/src/sys/BEASTIE i386
>Description:
Add support for Huawei E180v 3G modem:
# usbconfig | grep HUAWEI
ugen6.2: <HUAWEI Mobile HUAWEI Technology> at usbus6, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON
# usbconfig -u 6 -a 2 dump_device_desc | grep id
idVendor = 0x12d1
idProduct = 0x140c
Functional testing successful with up to date CURRENT and attached patch.
>How-To-Repeat:
>Fix:
--- HUAWEI-E180V.patch begins here ---
Index: share/man/man4/u3g.4
===================================================================
--- share/man/man4/u3g.4 (Revision 195677)
+++ share/man/man4/u3g.4 (Arbeitskopie)
@@ -64,7 +64,7 @@
.It
Qualcomm Inc. CDMA MSM
.It
-Huawei B190, E220 ('<Huawei Mobile>')
+Huawei B190, E180v, E220 ('<Huawei Mobile>')
.It
Novatel U740, MC950D, X950D, etc.
.It
Index: sys/dev/usb/serial/u3g.c
===================================================================
--- sys/dev/usb/serial/u3g.c (Revision 195677)
+++ sys/dev/usb/serial/u3g.c (Arbeitskopie)
@@ -186,6 +186,7 @@
U3G_DEV(QUALCOMMINC, CDMA_MSM, U3GFL_SCSI_EJECT),
/* OEM: Huawei */
U3G_DEV(HUAWEI, MOBILE, U3GFL_HUAWEI_INIT),
+ U3G_DEV(HUAWEI, E180V, U3GFL_HUAWEI_INIT),
U3G_DEV(HUAWEI, E220, U3GFL_HUAWEI_INIT),
/* OEM: Novatel */
U3G_DEV(NOVATEL, CDMA_MODEM, 0),
Index: sys/dev/usb/usbdevs
===================================================================
--- sys/dev/usb/usbdevs (Revision 195677)
+++ sys/dev/usb/usbdevs (Arbeitskopie)
@@ -1473,6 +1473,7 @@
/* HUAWEI products */
product HUAWEI MOBILE 0x1001 Huawei Mobile
product HUAWEI E220 0x1003 Huawei HSDPA modem
+product HUAWEI E180V 0x140c Huawei Mobile E180V
/* HUAWEI 3com products */
product HUAWEI3COM WUB320G 0x0009 Aolynk WUB320g
--- HUAWEI-E180V.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-usb
mailing list