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
This commit is contained in:

committed by
Dan Williams

parent
4403bb7764
commit
ed97ebf6bf
16
plugins/dell/77-mm-dell-port-types.rules
Normal file
16
plugins/dell/77-mm-dell-port-types.rules
Normal file
@@ -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"
|
Reference in New Issue
Block a user