Add support for more 3G/4G USB modems.
BUG=chromium:249487
TEST=Tested the following:
1. Build and run unit tests.
2. Verify that mist successfully switches the added USB modems from
the mass storage mode to the modem mode.
Change-Id: I613100932cc63b1428720c7aefa2223b3090be7c
Reviewed-on: https://gerrit.chromium.org/gerrit/59562
Reviewed-by: mukesh agrawal <quiche@chromium.org>
Tested-by: Ben Chan <benchan@chromium.org>
Commit-Queue: mukesh agrawal <quiche@chromium.org>
diff --git a/51-mist.rules b/51-mist.rules
index 30af2a4..e897975 100644
--- a/51-mist.rules
+++ b/51-mist.rules
@@ -17,6 +17,8 @@
ATTRS{idVendor}=="12d1", ATTRS{idProduct}=="1446", GOTO="mist_switch_device"
ATTRS{idVendor}=="12d1", ATTRS{idProduct}=="14fe", GOTO="mist_switch_device"
ATTRS{idVendor}=="12d1", ATTRS{idProduct}=="1505", GOTO="mist_switch_device"
+ATTRS{idVendor}=="12d1", ATTRS{idProduct}=="1526", GOTO="mist_switch_device"
+ATTRS{idVendor}=="12d1", ATTRS{idProduct}=="1f01", GOTO="mist_switch_device"
ATTRS{idVendor}=="19d2", ATTRS{idProduct}=="1201", GOTO="mist_switch_device"
GOTO="mist_end"
diff --git a/default.conf b/default.conf
index 82acc00..6322f10 100644
--- a/default.conf
+++ b/default.conf
@@ -41,6 +41,20 @@
usb_message: "55534243123456780000000000000011062000000100000000000000000000"
}
+# Huawei K3772
+usb_modem_info {
+ initial_usb_id { vendor_id: 0x12d1 product_id: 0x1526 }
+ final_usb_id { vendor_id: 0x12d1 product_id: 0x14cf }
+ usb_message: "55534243123456780000000000000011062000000100000000000000000000"
+}
+
+# Huawei E303C
+usb_modem_info {
+ initial_usb_id { vendor_id: 0x12d1 product_id: 0x1f01 }
+ final_usb_id { vendor_id: 0x12d1 product_id: 0x14db }
+ usb_message: "55534243123456780000000000000a11062000000000000100000000000000"
+}
+
# ZTE MF691
usb_modem_info {
initial_usb_id { vendor_id: 0x19d2 product_id: 0x1201 }