fibocom: ignore intel trace port in the L850-GL

This commit is contained in:
Aleksander Morgado
2018-08-21 17:02:39 +00:00
committed by Dan Williams
parent af8adcc756
commit 1b002a3584
2 changed files with 18 additions and 0 deletions
+2
View File
@@ -991,6 +991,8 @@ libmm_plugin_quectel_la_LDFLAGS = $(PLUGIN_COMMON_LINKER_FLAGS)
# plugin: fibocom
################################################################################
dist_udevrules_DATA += fibocom/77-mm-fibocom-port-types.rules
pkglib_LTLIBRARIES += libmm-plugin-fibocom.la
libmm_plugin_fibocom_la_SOURCES = \
fibocom/mm-plugin-fibocom.c \
@@ -0,0 +1,16 @@
# do not edit this file, it will be overwritten on update
ACTION!="add|change|move|bind", GOTO="mm_fibocom_port_types_end"
SUBSYSTEMS=="usb", ATTRS{idVendor}=="2cb7", GOTO="mm_fibocom_port_types"
GOTO="mm_fibocom_port_types_end"
LABEL="mm_fibocom_port_types"
SUBSYSTEMS=="usb", ATTRS{bInterfaceNumber}=="?*", ENV{.MM_USBIFNUM}="$attr{bInterfaceNumber}"
# Fibocom L850-GL
# ttyACM0 (if #2): AT port
# ttyACM1 (if #4): debug port (ignore)
# ttyACM2 (if #6): AT port
ATTRS{idVendor}=="2cb7", ATTRS{idProduct}=="0007", ENV{.MM_USBIFNUM}=="04", ENV{ID_MM_PORT_IGNORE}="1"
LABEL="mm_fibocom_port_types_end"