[PATCH 3/4] dell: add udev rules for 413c/81ba

Daniele Palmas dnlplm at gmail.com
Fri Apr 29 10:50:10 UTC 2016


udev rules for Dell-branded 413c/81ba Telit modem are used for dynamic
port configuration in Telit plugin custom init
---
 plugins/dell/77-mm-dell-port-types.rules | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 plugins/dell/77-mm-dell-port-types.rules

diff --git a/plugins/dell/77-mm-dell-port-types.rules b/plugins/dell/77-mm-dell-port-types.rules
new file mode 100644
index 0000000..a54f634
--- /dev/null
+++ b/plugins/dell/77-mm-dell-port-types.rules
@@ -0,0 +1,16 @@
+# do not edit this file, it will be overwritten on update
+
+ACTION!="add|change|move", GOTO="mm_dell_port_types_end"
+
+SUBSYSTEMS=="usb", ATTRS{idVendor}=="413c", GOTO="mm_dell_vendorcheck"
+GOTO="mm_dell_port_types_end"
+
+LABEL="mm_dell_vendorcheck"
+SUBSYSTEMS=="usb", ATTRS{bInterfaceNumber}=="?*", ENV{.MM_USBIFNUM}="$attr{bInterfaceNumber}"
+
+# DW5580 is a Dell-branded Telit modem
+# tag is needed here both for dynamic port recognition and  minimizing port probing time
+ATTRS{idVendor}=="413c", ATTRS{idProduct}=="81ba", ENV{ID_MM_TELIT_TAGGED}="1", ENV{ID_MM_TELIT_PORTS_TAGGED}="1"
+
+GOTO="mm_dell_port_types_end"
+LABEL="mm_dell_port_types_end"
-- 
2.8.1



More information about the ModemManager-devel mailing list