aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZrshuo Zhang <zrshuo.zhang@fibocom.corp-partner.google.com>2021-04-07 12:18:58 +0200
committerAleksander Morgado <aleksander@aleksander.es>2021-04-07 12:18:58 +0200
commit179e12befc6daa8048a3f1adffaa24a1d62ddcae (patch)
treeadae72b043056d3ae86231fbf1703fe1b66f6b06
parent1db0f0b66fb69c08bd95aecf857e922979cc1247 (diff)
fibocom: add port type hints for the NL668-AM
-rw-r--r--plugins/fibocom/77-mm-fibocom-port-types.rules8
1 files changed, 8 insertions, 0 deletions
diff --git a/plugins/fibocom/77-mm-fibocom-port-types.rules b/plugins/fibocom/77-mm-fibocom-port-types.rules
index 11917f41..2f43f246 100644
--- a/plugins/fibocom/77-mm-fibocom-port-types.rules
+++ b/plugins/fibocom/77-mm-fibocom-port-types.rules
@@ -13,6 +13,14 @@ SUBSYSTEMS=="usb", ATTRS{bInterfaceNumber}=="?*", ENV{.MM_USBIFNUM}="$attr{bInte
# ttyACM2 (if #6): AT port
ATTRS{idVendor}=="2cb7", ATTRS{idProduct}=="0007", ENV{.MM_USBIFNUM}=="04", ENV{ID_MM_PORT_IGNORE}="1"
+# Fibocom NL668-AM
+# ttyACM0 (if #2): AT port
+# ttyACM1 (if #3): AT port
+# ttyACM2 (if #4): debug port (ignore)
+ATTRS{idVendor}=="2cb7", ATTRS{idProduct}=="01a0", ENV{.MM_USBIFNUM}=="02", ENV{ID_MM_PORT_TYPE_AT_PRIMARY}="1"
+ATTRS{idVendor}=="2cb7", ATTRS{idProduct}=="01a0", ENV{.MM_USBIFNUM}=="03", ENV{ID_MM_PORT_TYPE_AT_SECONDARY}="1"
+ATTRS{idVendor}=="2cb7", ATTRS{idProduct}=="01a0", ENV{.MM_USBIFNUM}=="04", ENV{ID_MM_PORT_IGNORE}="1"
+
# Fibocom FM150
# ttyUSB0 (if #0): QCDM port
# ttyUSB1 (if #1): AT port