From 2bad8f5a0dc56b82cacc0982a15c2a32016f7975 Mon Sep 17 00:00:00 2001 From: Mingjie Zhang Date: Thu, 9 Dec 2021 20:48:50 +0800 Subject: [PATCH] fibocom: update FM101 port type hints to final layout The port type hints for the FM101 were updated to be in line with the final product layout, where USB interface #2 is now used as an AT port (not ignored) and USB interface #4 is now used as debug port. USB interface #6 is removed as it no longer exists. --- plugins/fibocom/77-mm-fibocom-port-types.rules | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/plugins/fibocom/77-mm-fibocom-port-types.rules b/plugins/fibocom/77-mm-fibocom-port-types.rules index 05b28aeb..790520cd 100755 --- a/plugins/fibocom/77-mm-fibocom-port-types.rules +++ b/plugins/fibocom/77-mm-fibocom-port-types.rules @@ -32,16 +32,14 @@ ATTRS{idVendor}=="2cb7", ATTRS{idProduct}=="0104", ENV{.MM_USBIFNUM}=="02", SUBS ATTRS{idVendor}=="2cb7", ATTRS{idProduct}=="0104", ENV{.MM_USBIFNUM}=="03", ENV{ID_MM_PORT_IGNORE}="1" # Fibocom FM101-GL (MBIM) -# ttyUSB0 (if #2): debug port (ignore) +# ttyUSB0 (if #2): AT port # ttyUSB1 (if #3): AT port -# ttyUSB2 (if #4): AT port +# ttyUSB2 (if #4): debug port (ignore) # ttyUSB3 (if #5): debug port (ignore) -# ttyUSB4 (if #6): debug port (ignore) -ATTRS{idVendor}=="2cb7", ATTRS{idProduct}=="01a2", ENV{.MM_USBIFNUM}=="02", ENV{ID_MM_PORT_IGNORE}="1" -ATTRS{idVendor}=="2cb7", ATTRS{idProduct}=="01a2", ENV{.MM_USBIFNUM}=="03", SUBSYSTEM=="tty", ENV{ID_MM_PORT_TYPE_AT_PRIMARY}="1" -ATTRS{idVendor}=="2cb7", ATTRS{idProduct}=="01a2", ENV{.MM_USBIFNUM}=="04", SUBSYSTEM=="tty", ENV{ID_MM_PORT_TYPE_AT_SECONDARY}="1" +ATTRS{idVendor}=="2cb7", ATTRS{idProduct}=="01a2", ENV{.MM_USBIFNUM}=="02", SUBSYSTEM=="tty", ENV{ID_MM_PORT_TYPE_AT_PRIMARY}="1" +ATTRS{idVendor}=="2cb7", ATTRS{idProduct}=="01a2", ENV{.MM_USBIFNUM}=="03", SUBSYSTEM=="tty", ENV{ID_MM_PORT_TYPE_AT_SECONDARY}="1" +ATTRS{idVendor}=="2cb7", ATTRS{idProduct}=="01a2", ENV{.MM_USBIFNUM}=="04", ENV{ID_MM_PORT_IGNORE}="1" ATTRS{idVendor}=="2cb7", ATTRS{idProduct}=="01a2", ENV{.MM_USBIFNUM}=="05", ENV{ID_MM_PORT_IGNORE}="1" -ATTRS{idVendor}=="2cb7", ATTRS{idProduct}=="01a2", ENV{.MM_USBIFNUM}=="06", ENV{ID_MM_PORT_IGNORE}="1" # Fibocom FM101-GL (ADB) # ttyUSB0 (if #2): debug port (ignore)