kern/118686: [patch] teach usbdevs / ubsa(4) about Huawei E220 G3
Modem
Edwin Groothuis
edwin at mavetju.org
Fri Dec 14 02:10:02 PST 2007
>Number: 118686
>Category: kern
>Synopsis: [patch] teach usbdevs / ubsa(4) about Huawei E220 G3 Modem
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Fri Dec 14 10:10:01 UTC 2007
>Closed-Date:
>Last-Modified:
>Originator: Edwin Groothuis
>Release: FreeBSD 6.2-RELEASE-p4 i386
>Organization:
-
>Environment:
System: FreeBSD k7.mavetju 6.2-RELEASE-p4 FreeBSD 6.2-RELEASE-p4 #0: Thu Apr 26 17:55:55 UTC 2007 root at i386-builder.daemonology.net:/usr/obj/usr/src/sys/SMP i386
>Description:
Support for the Huawei E220 3G modem.
At http://www.mavetju.org/weblog/html/00192.html and at
http://docs.freebsd.org/cgi/getmsg.cgi?fetch=84233+0+current/freebsd-usb is
described that it works and how it works.
I don't know how to overcome the "wiggle the cable half out of the
socket" trick, but maybe that
http://mail-index.netbsd.org/current-users/2007/11/29/0000.html
will give people a hint.
I'm more than happy to try anything (well, not really anything).
>How-To-Repeat:
>Fix:
Index: ubsa.4
===================================================================
RCS file: /home/ncvs/src/share/man/man4/ubsa.4,v
retrieving revision 1.10
diff -u -r1.10 ubsa.4
--- ubsa.4 8 May 2007 18:51:40 -0000 1.10
+++ ubsa.4 14 Dec 2007 09:19:24 -0000
@@ -96,6 +96,8 @@
Option Globetrotter 3G Fusion Quad (no WLAN support)
.It
Peracom single port serial adapter
+.It
+Huawei Technologies Mobile and E220 G3 Modem
.El
.Pp
The supported 3G cards provide the necessary modem port for ppp,
Index: ubsa.c
===================================================================
RCS file: /home/ncvs/src/sys/dev/usb/ubsa.c,v
retrieving revision 1.32
diff -u -r1.32 ubsa.c
--- ubsa.c 22 Jun 2007 05:56:05 -0000 1.32
+++ ubsa.c 14 Dec 2007 09:20:21 -0000
@@ -234,6 +234,8 @@
{ USB_VENDOR_OPTION, USB_PRODUCT_OPTION_GT3GPLUS },
/* Huawei Mobile */
{ USB_VENDOR_HUAWEI, USB_PRODUCT_HUAWEI_MOBILE },
+ /* Huawei E220 G3 Modem */
+ { USB_VENDOR_HUAWEI, USB_PRODUCT_HUAWEI_E220 },
{ 0, 0 }
};
Index: usbdevs
===================================================================
RCS file: /home/ncvs/src/sys/dev/usb/usbdevs,v
retrieving revision 1.336
diff -u -r1.336 usbdevs
--- usbdevs 11 Dec 2007 06:41:38 -0000 1.336
+++ usbdevs 14 Dec 2007 09:20:25 -0000
@@ -1386,6 +1386,7 @@
/* HUAWEI products */
product HUAWEI MOBILE 0x1001 Huawei Mobile
+product HUAWEI E220 0x1003 Huawei E220 G3 Modem
/* HUAWEI 3com products */
product HUAWEI3COM WUB320G 0x0009 Aolynk WUB320g
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-bugs
mailing list