diff options
author | Daniele Palmas <dnlplm@gmail.com> | 2016-04-29 12:50:10 +0200 |
---|---|---|
committer | Dan Williams <dcbw@redhat.com> | 2016-05-03 11:44:37 -0500 |
commit | ed97ebf6bfac937501d4cee8fe97919f30b627c4 (patch) | |
tree | e51c77337da76ece4b447f60587d8ae7740a654e | |
parent | 4403bb7764268a3924ed0ed7d14c510751fdbb4d (diff) | |
download | ModemManager-ed97ebf6bfac937501d4cee8fe97919f30b627c4.tar.gz |
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
-rw-r--r-- | plugins/dell/77-mm-dell-port-types.rules | 16 |
1 files changed, 16 insertions, 0 deletions
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 000000000..a54f634ec --- /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" |