From owner-freebsd-bugs@FreeBSD.ORG Fri Dec 14 10:10:02 2007 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D907616A41B for ; Fri, 14 Dec 2007 10:10:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id BC12113C4D3 for ; Fri, 14 Dec 2007 10:10:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id lBEAA2EX082113 for ; Fri, 14 Dec 2007 10:10:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id lBEAA2Hb082106; Fri, 14 Dec 2007 10:10:02 GMT (envelope-from gnats) Resent-Date: Fri, 14 Dec 2007 10:10:02 GMT Resent-Message-Id: <200712141010.lBEAA2Hb082106@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Edwin Groothuis Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 37A5F16A418 for ; Fri, 14 Dec 2007 10:01:48 +0000 (UTC) (envelope-from edwin@mavetju.org) Received: from mail5out.barnet.com.au (mail5.barnet.com.au [202.83.178.78]) by mx1.freebsd.org (Postfix) with ESMTP id 0241813C500 for ; Fri, 14 Dec 2007 10:01:47 +0000 (UTC) (envelope-from edwin@mavetju.org) Received: by mail5out.barnet.com.au (Postfix, from userid 1001) id 9C75A2218A78; Fri, 14 Dec 2007 21:01:46 +1100 (EST) Received: from mail5auth.barnet.com.au (mail5.barnet.com.au [202.83.178.78]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "mail5auth.barnet.com.au", Issuer "*.barnet.com.au" (verified OK)) by mail5.barnet.com.au (Postfix) with ESMTP id 65BDB21B1664 for ; Fri, 14 Dec 2007 21:01:46 +1100 (EST) Received: from k7.mavetju (k7.mavetju.org [10.251.1.18]) by mail5auth.barnet.com.au (Postfix) with ESMTP id E50692218A71 for ; Fri, 14 Dec 2007 21:01:45 +1100 (EST) Received: by k7.mavetju (Postfix, from userid 1001) id 749BF26C; Fri, 14 Dec 2007 21:01:45 +1100 (EST) Message-Id: <20071214100145.749BF26C@k7.mavetju> Date: Fri, 14 Dec 2007 21:01:45 +1100 (EST) From: Edwin Groothuis To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: kern/118686: [patch] teach usbdevs / ubsa(4) about Huawei E220 G3 Modem X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Edwin Groothuis List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Dec 2007 10:10:02 -0000 >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@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: