> From: night...@gmail.com > Date: Thu, Jan 23, 2014 at 10:01 AM > Subject: Re: Trouble with Huawei e3276 > To: misc <misc@openbsd.org>
... > port 6 addr 3: high speed, power 500 mA, config 1, Mobile(0x155b), > Technology(0x12d1), rev 1.02 > umass1 ... Please try the attached diff: $ cd /usr/src/sys/dev/usb && patch -NE -i /path/to/e3276.diff And rebuild your kernel. Ciao, David Index: umsm.c =================================================================== RCS file: /cvs/src/sys/dev/usb/umsm.c,v retrieving revision 1.96 diff -u -p -u -p -r1.96 umsm.c --- umsm.c 13 Dec 2013 17:43:07 -0000 1.96 +++ umsm.c 23 Jan 2014 09:27:57 -0000 @@ -138,6 +138,7 @@ static const struct umsm_type umsm_devs[ {{ USB_VENDOR_HUAWEI, USB_PRODUCT_HUAWEI_E1820 }, DEV_UMASS5}, {{ USB_VENDOR_HUAWEI, USB_PRODUCT_HUAWEI_E220 }, DEV_HUAWEI}, {{ USB_VENDOR_HUAWEI, USB_PRODUCT_HUAWEI_E303 }, DEV_UMASS5}, + {{ USB_VENDOR_HUAWEI, USB_PRODUCT_HUAWEI_E3276 }, DEV_UMASS5}, {{ USB_VENDOR_HUAWEI, USB_PRODUCT_HUAWEI_E353_INIT }, DEV_UMASS5}, {{ USB_VENDOR_HUAWEI, USB_PRODUCT_HUAWEI_E510 }, DEV_HUAWEI}, {{ USB_VENDOR_HUAWEI, USB_PRODUCT_HUAWEI_E618 }, DEV_HUAWEI}, Index: usbdevs =================================================================== RCS file: /cvs/src/sys/dev/usb/usbdevs,v retrieving revision 1.622 diff -u -p -u -p -r1.622 usbdevs --- usbdevs 22 Jan 2014 01:25:41 -0000 1.622 +++ usbdevs 23 Jan 2014 09:28:02 -0000 @@ -2153,6 +2153,7 @@ product HUAWEI K4510 0x14c5 HUAWEI Mob product HUAWEI E353_INIT 0x14fe HUAWEI Mobile E353 Initial product HUAWEI E392_INIT 0x1505 HUAWEI Mobile E392 Initial product HUAWEI K3765_INIT 0x1520 HUAWEI Mobile K3765 Initial +product HUAWEI E3276 0x155b HUAWEI Mobile E3276 product HUAWEI E173S 0x1c05 HUAWEI Mobile E173s product HUAWEI E173S_INIT 0x1c0b HUAWEI Mobile E173s Initial product HUAWEI E303 0x1f01 HUAWEI Mobile E303 Index: usbdevs.h =================================================================== RCS file: /cvs/src/sys/dev/usb/usbdevs.h,v retrieving revision 1.634 diff -u -p -u -p -r1.634 usbdevs.h --- usbdevs.h 22 Jan 2014 02:47:05 -0000 1.634 +++ usbdevs.h 23 Jan 2014 09:28:07 -0000 @@ -2160,6 +2160,7 @@ #define USB_PRODUCT_HUAWEI_E353_INIT 0x14fe /* HUAWEI Mobile E353 Initial */ #define USB_PRODUCT_HUAWEI_E392_INIT 0x1505 /* HUAWEI Mobile E392 Initial */ #define USB_PRODUCT_HUAWEI_K3765_INIT 0x1520 /* HUAWEI Mobile K3765 Initial */ +#define USB_PRODUCT_HUAWEI_E3276 0x155b /* HUAWEI Mobile E3276 */ #define USB_PRODUCT_HUAWEI_E173S 0x1c05 /* HUAWEI Mobile E173s */ #define USB_PRODUCT_HUAWEI_E173S_INIT 0x1c0b /* HUAWEI Mobile E173s Initial */ #define USB_PRODUCT_HUAWEI_E303 0x1f01 /* HUAWEI Mobile E303 */ Index: usbdevs_data.h =================================================================== RCS file: /cvs/src/sys/dev/usb/usbdevs_data.h,v retrieving revision 1.628 diff -u -p -u -p -r1.628 usbdevs_data.h --- usbdevs_data.h 22 Jan 2014 02:47:05 -0000 1.628 +++ usbdevs_data.h 23 Jan 2014 09:28:15 -0000 @@ -4562,6 +4562,10 @@ const struct usb_known_product usb_known "HUAWEI Mobile K3765 Initial", }, { + USB_VENDOR_HUAWEI, USB_PRODUCT_HUAWEI_E3276, + "HUAWEI Mobile E3276", + }, + { USB_VENDOR_HUAWEI, USB_PRODUCT_HUAWEI_E173S, "HUAWEI Mobile E173s", }, Index: umsm.c =================================================================== RCS file: /cvs/src/sys/dev/usb/umsm.c,v retrieving revision 1.96 diff -u -p -u -p -r1.96 umsm.c --- umsm.c 13 Dec 2013 17:43:07 -0000 1.96 +++ umsm.c 23 Jan 2014 09:27:57 -0000 @@ -138,6 +138,7 @@ static const struct umsm_type umsm_devs[ {{ USB_VENDOR_HUAWEI, USB_PRODUCT_HUAWEI_E1820 }, DEV_UMASS5}, {{ USB_VENDOR_HUAWEI, USB_PRODUCT_HUAWEI_E220 }, DEV_HUAWEI}, {{ USB_VENDOR_HUAWEI, USB_PRODUCT_HUAWEI_E303 }, DEV_UMASS5}, + {{ USB_VENDOR_HUAWEI, USB_PRODUCT_HUAWEI_E3276 }, DEV_UMASS5}, {{ USB_VENDOR_HUAWEI, USB_PRODUCT_HUAWEI_E353_INIT }, DEV_UMASS5}, {{ USB_VENDOR_HUAWEI, USB_PRODUCT_HUAWEI_E510 }, DEV_HUAWEI}, {{ USB_VENDOR_HUAWEI, USB_PRODUCT_HUAWEI_E618 }, DEV_HUAWEI}, Index: usbdevs =================================================================== RCS file: /cvs/src/sys/dev/usb/usbdevs,v retrieving revision 1.622 diff -u -p -u -p -r1.622 usbdevs --- usbdevs 22 Jan 2014 01:25:41 -0000 1.622 +++ usbdevs 23 Jan 2014 09:28:02 -0000 @@ -2153,6 +2153,7 @@ product HUAWEI K4510 0x14c5 HUAWEI Mob product HUAWEI E353_INIT 0x14fe HUAWEI Mobile E353 Initial product HUAWEI E392_INIT 0x1505 HUAWEI Mobile E392 Initial product HUAWEI K3765_INIT 0x1520 HUAWEI Mobile K3765 Initial +product HUAWEI E3276 0x155b HUAWEI Mobile E3276 product HUAWEI E173S 0x1c05 HUAWEI Mobile E173s product HUAWEI E173S_INIT 0x1c0b HUAWEI Mobile E173s Initial product HUAWEI E303 0x1f01 HUAWEI Mobile E303 Index: usbdevs.h =================================================================== RCS file: /cvs/src/sys/dev/usb/usbdevs.h,v retrieving revision 1.634 diff -u -p -u -p -r1.634 usbdevs.h --- usbdevs.h 22 Jan 2014 02:47:05 -0000 1.634 +++ usbdevs.h 23 Jan 2014 09:28:07 -0000 @@ -2160,6 +2160,7 @@ #define USB_PRODUCT_HUAWEI_E353_INIT 0x14fe /* HUAWEI Mobile E353 Initial */ #define USB_PRODUCT_HUAWEI_E392_INIT 0x1505 /* HUAWEI Mobile E392 Initial */ #define USB_PRODUCT_HUAWEI_K3765_INIT 0x1520 /* HUAWEI Mobile K3765 Initial */ +#define USB_PRODUCT_HUAWEI_E3276 0x155b /* HUAWEI Mobile E3276 */ #define USB_PRODUCT_HUAWEI_E173S 0x1c05 /* HUAWEI Mobile E173s */ #define USB_PRODUCT_HUAWEI_E173S_INIT 0x1c0b /* HUAWEI Mobile E173s Initial */ #define USB_PRODUCT_HUAWEI_E303 0x1f01 /* HUAWEI Mobile E303 */ Index: usbdevs_data.h =================================================================== RCS file: /cvs/src/sys/dev/usb/usbdevs_data.h,v retrieving revision 1.628 diff -u -p -u -p -r1.628 usbdevs_data.h --- usbdevs_data.h 22 Jan 2014 02:47:05 -0000 1.628 +++ usbdevs_data.h 23 Jan 2014 09:28:15 -0000 @@ -4562,6 +4562,10 @@ const struct usb_known_product usb_known "HUAWEI Mobile K3765 Initial", }, { + USB_VENDOR_HUAWEI, USB_PRODUCT_HUAWEI_E3276, + "HUAWEI Mobile E3276", + }, + { USB_VENDOR_HUAWEI, USB_PRODUCT_HUAWEI_E173S, "HUAWEI Mobile E173s", },