Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Jul 2012 18:32:34 GMT
From:      Piotr Pacholak <obi.gts@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   usb/169789: support for huawei e3131 - patch
Message-ID:  <201207111832.q6BIWYqg036710@red.freebsd.org>
Resent-Message-ID: <201207111840.q6BIe2Ud059140@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         169789
>Category:       usb
>Synopsis:       support for huawei e3131 - patch
>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:   Wed Jul 11 18:40:02 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Piotr Pacholak
>Release:        FreeBSD 9-STABLE i386
>Organization:
>Environment:
FreeBSD zarnik 9.0-STABLE FreeBSD 9.0-STABLE #8 r238253M: Mon Jul  9 00:33:46 UTC 2012     root@zarnik:/usr/obj/usr/src/sys/GENERIC  i386

>Description:
After adding these ids, huawei e3131 comes up as umodem's /dev/cuaU[012].
>How-To-Repeat:
Plug in Huawei E3131
>Fix:


Patch attached with submission follows:

Index: serial/u3g.c
===================================================================
--- sys/dev/usb/serial/u3g.c	(revision 238253)
+++ sys/dev/usb/serial/u3g.c	(working copy)
@@ -282,6 +282,8 @@
 	U3G_DEV(HUAWEI, E143F, U3GINIT_HUAWEI),
 	U3G_DEV(HUAWEI, E173, 0),
 	U3G_DEV(HUAWEI, E173_INIT, U3GINIT_HUAWEISCSI),
+ 	U3G_DEV(HUAWEI, E3131, 0),
+ 	U3G_DEV(HUAWEI, E3131_INIT, U3GINIT_HUAWEISCSI),
 	U3G_DEV(HUAWEI, E180V, U3GINIT_HUAWEI),
 	U3G_DEV(HUAWEI, E220, U3GINIT_HUAWEI),
 	U3G_DEV(HUAWEI, E220BIS, U3GINIT_HUAWEI),
Index: usbdevs
===================================================================
--- sys/dev/usb/usbdevs	(revision 238253)
+++ sys/dev/usb/usbdevs	(working copy)
@@ -1888,6 +1888,8 @@
 product HUAWEI K3765_INIT	0x1520	K3765 Initial
 product HUAWEI E173		0x1c05	3G modem
 product HUAWEI E173_INIT	0x1c0b	3G modem initial
+product HUAWEI E3131		0x1506	3G modem
+product HUAWEI E3131_INIT	0x14fe	3G modem initial
 
 /* HUAWEI 3com products */
 product HUAWEI3COM WUB320G	0x0009	Aolynk WUB320g


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201207111832.q6BIWYqg036710>