Hi,
I've got a Huawei E303 UMTS stick which doesn't work out of the box in
current.
After adding the following patch, the E303 seems to be recognized:
# cvs diff -u usbdevs usbdevs.h usbdevs_data.h umsm.c
Index: usbdevs
===================================================================
RCS file: /cvs/src/sys/dev/usb/usbdevs,v
retrieving revision 1.580
diff -u -r1.580 usbdevs
--- usbdevs 7 Jul 2012 17:59:03 -0000 1.580
+++ usbdevs 15 Jul 2012 14:14:59 -0000
@@ -2033,6 +2033,7 @@
product HUAWEI K3765_INIT 0x1520 HUAWEI Mobile K3765 Initial
product HUAWEI E173S 0x1c05 HUAWEI Mobile E173s
product HUAWEI E173S_INIT 0x1c0b HUAWEI Mobile E173s Initial
+product HUAWEI E303 0x1f01 HUAWEI Mobile E303
/* HUMAX products */
product HUMAX PVRSMART 0x138c PVR-SMART
Index: usbdevs.h
===================================================================
RCS file: /cvs/src/sys/dev/usb/usbdevs.h,v
retrieving revision 1.590
diff -u -r1.590 usbdevs.h
--- usbdevs.h 7 Jul 2012 17:59:44 -0000 1.590
+++ usbdevs.h 15 Jul 2012 14:14:59 -0000
@@ -2040,6 +2040,7 @@
#define USB_PRODUCT_HUAWEI_K3765_INIT 0x1520 /*
HUAWEI Mobile K3765 Initial */
#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 */
/* HUMAX products */
#define USB_PRODUCT_HUMAX_PVRSMART 0x138c /*
PVR-SMART */
Index: usbdevs_data.h
===================================================================
RCS file: /cvs/src/sys/dev/usb/usbdevs_data.h,v
retrieving revision 1.584
diff -u -r1.584 usbdevs_data.h
--- usbdevs_data.h 7 Jul 2012 17:59:45 -0000 1.584
+++ usbdevs_data.h 15 Jul 2012 14:15:00 -0000
@@ -4242,6 +4242,10 @@
"HUAWEI Mobile E173s Initial",
},
{
+ USB_VENDOR_HUAWEI, USB_PRODUCT_HUAWEI_E303,
+ "HUAWEI Mobile E303",
+ },
+ {
USB_VENDOR_HUMAX, USB_PRODUCT_HUMAX_PVRSMART,
"PVR-SMART",
},
Index: umsm.c
===================================================================
RCS file: /cvs/src/sys/dev/usb/umsm.c,v
retrieving revision 1.85
diff -u -r1.85 umsm.c
--- umsm.c 14 Jan 2012 10:26:11 -0000 1.85
+++ umsm.c 15 Jul 2012 14:15:00 -0000
@@ -138,6 +138,7 @@
{{ USB_VENDOR_HUAWEI, USB_PRODUCT_HUAWEI_E182 }, DEV_UMASS5},
{{ 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_E510 }, DEV_HUAWEI},
{{ USB_VENDOR_HUAWEI, USB_PRODUCT_HUAWEI_E618 }, DEV_HUAWEI},
{{ USB_VENDOR_HUAWEI, USB_PRODUCT_HUAWEI_EM770W }, 0},
from dmesg after the patch:
umsm0 at uhub0 port 5 configuration 1 interface 0 "HUAWEI HUAWEI HiLink"
rev 2.00/1.02 addr 2
umsm0 detached
umsm0 at uhub0 port 5 configuration 1 interface 0 "HUAWEI HUAWEI HiLink"
rev 2.00/1.02 addr 2
ucom0 at umsm0
umsm1 at uhub0 port 5 configuration 1 interface 1 "HUAWEI HUAWEI HiLink"
rev 2.00/1.02 addr 2
ucom1 at umsm1
umsm2 at uhub0 port 5 configuration 1 interface 2 "HUAWEI HUAWEI HiLink"
rev 2.00/1.02 addr 2
ucom2 at umsm2
Unfortunately, I have no clue where to go from there. I'd like to
connect to vodafone in Germany via UMTS, but I didn't find a
/etc/ppp/peers/ and a corresponding chat script configuration in the
archives which works for me.
Is anybody else using a similar setup?
Best Regards
Andreas