diff options
author | Mingjie Zhang <superzmj@fibocom.com> | 2021-12-09 20:48:50 +0800 |
---|---|---|
committer | Mingjie Zhang <superzmj@fibocom.com> | 2021-12-10 19:44:28 +0800 |
commit | 2bad8f5a0dc56b82cacc0982a15c2a32016f7975 (patch) | |
tree | 23bb84219a477ac49da065dc0ce80781eb14a7e3 | |
parent | 559df16debd03d0ba00a68633f43cbda32f4aa8a (diff) |
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.
-rwxr-xr-x | plugins/fibocom/77-mm-fibocom-port-types.rules | 12 |
1 files 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) |