aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAleksander Morgado <aleksandermj@chromium.org>2024-08-23 16:24:37 +0000
committerAleksander Morgado <aleksandermj@chromium.org>2024-08-23 16:24:37 +0000
commite30ed1bc4799fea776e03f2090f22900a7710af0 (patch)
treefbd96b1bd8644004a3b131bc532a02b386c52ba9 /src
parent04b3a3f01ce17a996630f6498fdec85866a51a03 (diff)
fibocom: add L850 AT port hints
Just so that we make sure no other probing type is tried with them.
Diffstat (limited to 'src')
-rw-r--r--src/plugins/fibocom/77-mm-fibocom-port-types.rules2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/fibocom/77-mm-fibocom-port-types.rules b/src/plugins/fibocom/77-mm-fibocom-port-types.rules
index 0d080acc..9e0e42ad 100644
--- a/src/plugins/fibocom/77-mm-fibocom-port-types.rules
+++ b/src/plugins/fibocom/77-mm-fibocom-port-types.rules
@@ -12,7 +12,9 @@ SUBSYSTEMS=="usb", ATTRS{bInterfaceNumber}=="?*", ENV{.MM_USBIFNUM}="$attr{bInte
# 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}=="02", SUBSYSTEM=="tty", ENV{ID_MM_PORT_TYPE_AT_PRIMARY}="1"
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}=="06", SUBSYSTEM=="tty", ENV{ID_MM_PORT_TYPE_AT_SECONDARY}="1"
# Fibocom NL668-AM
# ttyACM0 (if #2): AT port