From ed97ebf6bfac937501d4cee8fe97919f30b627c4 Mon Sep 17 00:00:00 2001 From: Daniele Palmas Date: Fri, 29 Apr 2016 12:50:10 +0200 Subject: [PATCH] dell: add udev rules for 413c/81ba 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 00000000..a54f634e --- /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"