summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-03-18 17:54:55 +0100
committerChristian Poessinger <christian@poessinger.com>2021-03-18 17:55:09 +0100
commit13005fb6c2beb1e87200e31aadbbd62de4f33729 (patch)
tree48a8f2162dac9ff970f7fce55a73ffe1c6f3e848
parent00082c9b6704fbf026758ae381867e8d471b56da (diff)
downloadvyos-1x-13005fb6c2beb1e87200e31aadbbd62de4f33729.tar.gz
vyos-1x-13005fb6c2beb1e87200e31aadbbd62de4f33729.zip
Revert "udev: T3063: drop special WWAN rule for Sierra Wireless cards"
Turns out we still need it, else a MC7710 card won't work on an APU4 device. This reverts commit f9e0fb6bffd41c143ff5454c3b73cca4a588ca86.
-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"