fibocom: add port type hints for the NL668-AM

This commit is contained in:
Zrshuo Zhang
2021-04-07 12:18:58 +02:00
committed by Aleksander Morgado
parent 1db0f0b66f
commit 179e12befc

View File

@@ -13,6 +13,14 @@ SUBSYSTEMS=="usb", ATTRS{bInterfaceNumber}=="?*", ENV{.MM_USBIFNUM}="$attr{bInte
# ttyACM2 (if #6): AT port # ttyACM2 (if #6): AT port
ATTRS{idVendor}=="2cb7", ATTRS{idProduct}=="0007", ENV{.MM_USBIFNUM}=="04", ENV{ID_MM_PORT_IGNORE}="1" 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 # Fibocom FM150
# ttyUSB0 (if #0): QCDM port # ttyUSB0 (if #0): QCDM port
# ttyUSB1 (if #1): AT port # ttyUSB1 (if #1): AT port