Hi,

Below are the patches to make the Huawei 180E work.  This is 
a GSM/GPRS/HDSPA modem.  This is resold by Swisscom
as the Swisscom Unlimited (*) modem.

All of them apply into sys/dev/usb/usbdevs.  Once they
are applied it works perfectly.  No suprise, but, far
better than Linuxen, whos amazingly complex system for
GSM modems broke recently.

This are very trivial given that they are nothing more then
adding in yet another USB device which behaves exactly like
an existing device.

cheers

bruce

(*) - Unlimited == 10GB/month.
--- umsm.c.orig Tue Nov 24 21:56:31 2009
+++ umsm.c      Tue Nov 24 21:56:30 2009
@@ -126,6 +126,7 @@
 
        {{ USB_VENDOR_HUAWEI,   USB_PRODUCT_HUAWEI_E220 }, DEV_HUAWEI},
        {{ USB_VENDOR_HUAWEI,   USB_PRODUCT_HUAWEI_E510 }, DEV_HUAWEI},
+       {{ USB_VENDOR_HUAWEI,   USB_PRODUCT_HUAWEI_E180 }, DEV_HUAWEI},
        {{ USB_VENDOR_HUAWEI,   USB_PRODUCT_HUAWEI_E618 }, DEV_HUAWEI},
        
        {{ USB_VENDOR_HYUNDAI,  USB_PRODUCT_HYUNDAI_UM175 }, 0},
--- usbdevs.orig        Tue Nov 24 21:56:31 2009
+++ usbdevs     Tue Nov 24 21:56:31 2009
@@ -1678,6 +1678,7 @@
 product HUAWEI E618            0x1001  HUAWEI Mobile E618
 product HUAWEI E220            0x1003  HUAWEI Mobile Modem
 product HUAWEI E510            0x1411  HUAWEI Mobile E510
+product HUAWEI E180            0x140c  HUAWEI Mobile E180
 
 /* HUMAX products */
 product HUMAX PVRSMART         0x138c  PVR-SMART
--- usbdevs.h.orig      Tue Nov 24 21:56:31 2009
+++ usbdevs.h   Tue Nov 24 21:56:31 2009
@@ -1685,6 +1685,7 @@
 #define        USB_PRODUCT_HUAWEI_E618 0x1001          /* HUAWEI Mobile E618 */
 #define        USB_PRODUCT_HUAWEI_E220 0x1003          /* HUAWEI Mobile Modem 
*/
 #define        USB_PRODUCT_HUAWEI_E510 0x1411          /* HUAWEI Mobile E510 */
+#define        USB_PRODUCT_HUAWEI_E180 0x140c          /* HUAWEI Mobile E180 */
 
 /* HUMAX products */
 #define        USB_PRODUCT_HUMAX_PVRSMART      0x138c          /* PVR-SMART */
--- usbdevs_data.h.orig Tue Nov 24 21:56:31 2009
+++ usbdevs_data.h      Tue Nov 24 21:56:31 2009
@@ -3146,6 +3146,10 @@
            "HUAWEI Mobile E510",
        },
        {
+           USB_VENDOR_HUAWEI, USB_PRODUCT_HUAWEI_E180,
+           "HUAWEI Mobile E180",
+       },
+       {
            USB_VENDOR_HUMAX, USB_PRODUCT_HUMAX_PVRSMART,
            "PVR-SMART",
        },

Reply via email to