summaryrefslogtreecommitdiff
path: root/src/etc/udev/rules.d
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-03-28 20:49:16 +0100
committerChristian Poessinger <christian@poessinger.com>2020-03-28 20:49:16 +0100
commitd74f6594be0a6d7697c9deb5a677a82576139b98 (patch)
tree56ba52b263f9f393a789019106259d92d7fe07d0 /src/etc/udev/rules.d
parent458ccfc2f0fe46d399d2412af60d8ade26b57f65 (diff)
parent722925e159cee6bdaba6f9f2090aedf443c1f032 (diff)
downloadvyos-1x-d74f6594be0a6d7697c9deb5a677a82576139b98.tar.gz
vyos-1x-d74f6594be0a6d7697c9deb5a677a82576139b98.zip
Merge branch 't1988-xml-wirelessmodem' into current
* t1988-xml-wirelessmodem: wwan: T1988: add ipv6 addressing nodes pppoe: T1318: add command to show statistics wwan: T1988: ppp: change order of debug and logfile options wwan: T1988: migrate operational mode commands wwan: T1988: support interface disable wwan: T1988: add support for Sierra Wireless MC7710 modem wwan: T1988: initial XML/Python representation
Diffstat (limited to 'src/etc/udev/rules.d')
-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"