From 13005fb6c2beb1e87200e31aadbbd62de4f33729 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Thu, 18 Mar 2021 17:54:55 +0100 Subject: 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. --- src/etc/udev/rules.d/99-vyos-wwan.rules | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 src/etc/udev/rules.d/99-vyos-wwan.rules (limited to 'src/etc/udev') 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" -- cgit v1.2.3