Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 Nov 2012 15:25:44 GMT
From:      Mathieu Simon <mathieu.sim@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   usb/173503: Add IDs for Huawei K3770 and K4507
Message-ID:  <201211091525.qA9FPiXR041671@red.freebsd.org>
Resent-Message-ID: <201211091530.qA9FU144063231@freefall.freebsd.org>

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

>Number:         173503
>Category:       usb
>Synopsis:       Add IDs for Huawei K3770 and K4507
>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:   Fri Nov 09 15:30:00 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Mathieu Simon
>Release:        8.3
>Organization:
>Environment:
Any FreeBSD release so far that would like to use one of these devices.
>Description:

>How-To-Repeat:
Attach 3G modems using one of these 2 device IDs.
>Fix:
Add device IDs for Huawei K3770 and K4505 in -CURRENT
for
This patch is based on 2 patches initially included in the pfSense project:

* for the K3770: Jim Pingle <jimp@pfsense.org>
* for the K4505: Seth Mos <seth.mos@dds.nl>

User feedback resulted working changes so, but the submitter doesn't 
have the devices themselves.

diff --git a/sys/dev/usb/serial/u3g.c b/sys/dev/usb/serial/u3g.c
index c61c887..193c71b 100644
--- a/sys/dev/usb/serial/u3g.c
+++ b/sys/dev/usb/serial/u3g.c
@@ -319,6 +319,10 @@ static const STRUCT_USB_HOST_ID u3g_devs[] = {
        U3G_DEV(HUAWEI, E1820, U3GINIT_HUAWEISCSI),
        U3G_DEV(HUAWEI, K3765, U3GINIT_HUAWEI),
        U3G_DEV(HUAWEI, K3765_INIT, U3GINIT_HUAWEISCSI),
+       U3G_DEV(HUAWEI, K3770, U3GINIT_HUAWEI),
+       U3G_DEV(HUAWEI, K3770_INIT, U3GINIT_HUAWEISCSI),
+       U3G_DEV(HUAWEI, K4505, U3GINIT_HUAWEI),
+       U3G_DEV(HUAWEI, K4505_INIT, U3GINIT_HUAWEISCSI),
        U3G_DEV(HUAWEI, ETS2055, U3GINIT_HUAWEI),
        U3G_DEV(KYOCERA2, CDMA_MSM_K, 0),
        U3G_DEV(KYOCERA2, KPC680, 0),
diff --git a/sys/dev/usb/usbdevs b/sys/dev/usb/usbdevs
index afe1398..a6fb686 100644
--- a/sys/dev/usb/usbdevs
+++ b/sys/dev/usb/usbdevs
@@ -2189,12 +2189,16 @@ product HUAWEI E143D            0x143d  3G modem
 product HUAWEI E143E           0x143e  3G modem
 product HUAWEI E143F           0x143f  3G modem
 product HUAWEI E1752           0x1446  3G modem
+product HUAWEI K4505           0x1464  3G modem
 product HUAWEI K3765           0x1465  3G modem
 product HUAWEI E1820           0x14ac  E1820 HSPA+ USB Slider
+product HUAWEI K3770           0x14c9  3G modem
+product HUAWEI K3770_INIT      0x14d1  K3770 Initial
 product HUAWEI E3131_INIT      0x14fe  3G modem initial
 product HUAWEI E392            0x1505  LTE modem
 product HUAWEI E3131           0x1506  3G modem
 product HUAWEI K3765_INIT      0x1520  K3765 Initial
+product HUAWEI K4505_INIT      0x1521  K4505 Initial
 product HUAWEI ETS2055         0x1803  CDMA modem
 product HUAWEI E173            0x1c05  3G modem
 product HUAWEI E173_INIT       0x1c0b  3G modem initial


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



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