summaryrefslogtreecommitdiff
path: root/src/etc/udev/rules.d/99-vyos-wwan.rules
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-03-10 19:50:00 +0100
committerChristian Poessinger <christian@poessinger.com>2020-03-28 20:48:32 +0100
commitced45949bc282d23b0767f698f31b580602f0c9c (patch)
treefe42a9b240c3cf4c642f4975df358ffbff36aa83 /src/etc/udev/rules.d/99-vyos-wwan.rules
parentbf628f732acedce1ff1837202627260c6fd4533d (diff)
downloadvyos-1x-ced45949bc282d23b0767f698f31b580602f0c9c.tar.gz
vyos-1x-ced45949bc282d23b0767f698f31b580602f0c9c.zip
wwan: T1988: add support for Sierra Wireless MC7710 modem
Diffstat (limited to 'src/etc/udev/rules.d/99-vyos-wwan.rules')
-rw-r--r--src/etc/udev/rules.d/99-vyos-wwan.rules11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/etc/udev/rules.d/99-vyos-wwan.rules b/src/etc/udev/rules.d/99-vyos-wwan.rules
new file mode 100644
index 000000000..67f30a3dd
--- /dev/null
+++ b/src/etc/udev/rules.d/99-vyos-wwan.rules
@@ -0,0 +1,11 @@
+ACTION!="add|change", GOTO="mbim_to_qmi_rules_end"
+
+SUBSYSTEM!="usb", GOTO="mbim_to_qmi_rules_end"
+
+# ignore any device with only one configuration
+ATTR{bNumConfigurations}=="1", GOTO="mbim_to_qmi_rules_end"
+
+# force Sierra Wireless MC7710 to configuration #1
+ATTR{idVendor}=="1199",ATTR{idProduct}=="68a2",ATTR{bConfigurationValue}="1"
+
+LABEL="mbim_to_qmi_rules_end"