>Number:         159919
>Category:       usb
>Synopsis:       Patch for HUAWEI E173 (u3g/umodem)
>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 Aug 19 16:20:10 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Poul-Henning Kamp
>Release:        FreeBSD 9.0-CURRENT amd64
>Organization:
>Environment:
System: FreeBSD critter.freebsd.dk 9.0-CURRENT FreeBSD 9.0-CURRENT #0 r224239M: 
Fri Aug 19 14:35:16 UTC 2011 p...@critter.freebsd.dk:/sys/amd64/compile/CRITTER 
amd64


        
>Description:
        With this patch I can get a Huawei E173 3G dongle to work.
        I'm not sure why I have to teach umodem about it specifically.
        It comes up as /dev/cuaU[012] rather than /dev/cuaU0.[012]

>How-To-Repeat:
        Plug an Huawei E173 in.
>Fix:


Index: dev/usb/serial/u3g.c
===================================================================
--- dev/usb/serial/u3g.c        (revision 224265)
+++ dev/usb/serial/u3g.c        (working copy)
@@ -280,6 +280,7 @@
        U3G_DEV(HUAWEI, E143D, U3GINIT_HUAWEI),
        U3G_DEV(HUAWEI, E143E, U3GINIT_HUAWEI),
        U3G_DEV(HUAWEI, E143F, U3GINIT_HUAWEI),
+       U3G_DEV(HUAWEI, E173_INIT, U3GINIT_HUAWEISCSI),
        U3G_DEV(HUAWEI, E180V, U3GINIT_HUAWEI),
        U3G_DEV(HUAWEI, E220, U3GINIT_HUAWEI),
        U3G_DEV(HUAWEI, E220BIS, U3GINIT_HUAWEI),
Index: dev/usb/serial/umodem.c
===================================================================
--- dev/usb/serial/umodem.c     (revision 224265)
+++ dev/usb/serial/umodem.c     (working copy)
@@ -132,6 +132,7 @@
        {USB_VPI(USB_VENDOR_KYOCERA, USB_PRODUCT_KYOCERA_AHK3001V, 1)},
        {USB_VPI(USB_VENDOR_SIERRA, USB_PRODUCT_SIERRA_MC5720, 1)},
        {USB_VPI(USB_VENDOR_CURITEL, USB_PRODUCT_CURITEL_PC5740, 1)},
+       {USB_VPI(USB_VENDOR_HUAWEI, USB_PRODUCT_HUAWEI_E173, 1)},
 };
 
 /*
Index: dev/usb/usbdevs
===================================================================
--- dev/usb/usbdevs     (revision 224265)
+++ dev/usb/usbdevs     (working copy)
@@ -1874,6 +1874,8 @@
 product HUAWEI K3765           0x1465  3G modem
 product HUAWEI E1820           0x14ac  E1820 HSPA+ USB Slider
 product HUAWEI K3765_INIT      0x1520  K3765 Initial
+product HUAWEI E173            0x1c05  3G modem
+product HUAWEI E173_INIT       0x1c0b  3G modem
 
 /* HUAWEI 3com products */
 product HUAWEI3COM WUB320G     0x0009  Aolynk WUB320g

>Release-Note:
>Audit-Trail:
>Unformatted:
_______________________________________________
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org"

Reply via email to