From bce3f275456f9fe5a58a0b6342fc6da7f5d3f712 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniele=20Vigan=C3=B2?= Date: Sun, 23 Nov 2014 12:22:19 +0100 Subject: [PATCH] Rename to udev rule and add more comments --- etc/udev/rules.d/{60-wwan.rules => 99-dell5809e.rules} | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) rename etc/udev/rules.d/{60-wwan.rules => 99-dell5809e.rules} (90%) diff --git a/etc/udev/rules.d/60-wwan.rules b/etc/udev/rules.d/99-dell5809e.rules similarity index 90% rename from etc/udev/rules.d/60-wwan.rules rename to etc/udev/rules.d/99-dell5809e.rules index 454607b..c3954b4 100644 --- a/etc/udev/rules.d/60-wwan.rules +++ b/etc/udev/rules.d/99-dell5809e.rules @@ -4,15 +4,17 @@ ACTION!="add|change", GOTO="mbim_to_qmi_rules_end" SUBSYSTEM=="usb", \ ATTR{bNumConfigurations}=="1", GOTO="mbim_to_qmi_rules_end" -# force Dell WWAN 5809e to configuration #1 +# load qcserial module SUBSYSTEM=="usb", \ ATTR{idVendor}=="413c", ATTR{idProduct}=="81b1", \ RUN+="/sbin/modprobe -b qcserial" +# force Dell WWAN 5809e to configuration #1 SUBSYSTEM=="usb", \ ATTR{idVendor}=="413c", ATTR{idProduct}=="81b1", \ ATTR{bConfigurationValue}="1" +# add the new id in the qcserial driver SUBSYSTEM=="drivers", \ ENV{DEVPATH}=="/bus/usb-serial/drivers/qcserial", \ ATTR{new_id}="413c 81b1"