summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgavin <gavin@FreeBSD.org>2014-10-07 19:07:50 +0000
committergavin <gavin@FreeBSD.org>2014-10-07 19:07:50 +0000
commit4b224f6ad787399efb9277b01a00ede4921e83ec (patch)
tree3cdf974b98f4ef41e8a3074aceb9d27254813f96
parent919850542e70c0c478f7f60a1b41d1e22d174a4f (diff)
downloadFreeBSD-src-4b224f6ad787399efb9277b01a00ede4921e83ec.zip
FreeBSD-src-4b224f6ad787399efb9277b01a00ede4921e83ec.tar.gz
Support the Vodafone R215 LET USB dongle, which is apparently a rebadged
E5372 with different product IDs. Interestingly, the standard E5372 IDs (12d1:1506) are currently listed in u3g.c and are the same as the E3131. However, the R215/E5372 is an NCM device and works well with cdce(4) whereas the E3131 isn't. More work may be needed to better identify the other device IDs. MFC after: 1 week
-rw-r--r--sys/dev/usb/net/if_cdce.c1
-rw-r--r--sys/dev/usb/usbdevs2
2 files changed, 3 insertions, 0 deletions
diff --git a/sys/dev/usb/net/if_cdce.c b/sys/dev/usb/net/if_cdce.c
index b03bf63..e74a7db 100644
--- a/sys/dev/usb/net/if_cdce.c
+++ b/sys/dev/usb/net/if_cdce.c
@@ -273,6 +273,7 @@ static const struct usb_ether_methods cdce_ue_methods = {
static const STRUCT_USB_HOST_ID cdce_switch_devs[] = {
{USB_VPI(USB_VENDOR_HUAWEI, USB_PRODUCT_HUAWEI_E3272_INIT, MSC_EJECT_HUAWEI2)},
+ {USB_VPI(USB_VENDOR_HUAWEI, USB_PRODUCT_HUAWEI_R215_INIT, MSC_EJECT_HUAWEI2)},
};
static const STRUCT_USB_HOST_ID cdce_host_devs[] = {
diff --git a/sys/dev/usb/usbdevs b/sys/dev/usb/usbdevs
index 17a8806..a5273ac 100644
--- a/sys/dev/usb/usbdevs
+++ b/sys/dev/usb/usbdevs
@@ -2353,6 +2353,8 @@ product HUAWEI E3131 0x1506 3G modem
product HUAWEI K3765_INIT 0x1520 K3765 Initial
product HUAWEI K4505_INIT 0x1521 K4505 Initial
product HUAWEI E3272_INIT 0x155b LTE modem initial
+product HUAWEI R215_INIT 0x1582 LTE modem initial
+product HUAWEI R215 0x1588 LTE modem
product HUAWEI ETS2055 0x1803 CDMA modem
product HUAWEI E173 0x1c05 3G modem
product HUAWEI E173_INIT 0x1c0b 3G modem initial
OpenPOWER on IntegriCloud