aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSven Schwermer <sven.schwermer@disruptive-technologies.com>2022-01-05 14:02:08 +0100
committerAleksander Morgado <aleksander@aleksander.es>2022-01-11 09:31:32 +0000
commit2830cb32735df7f1a9389db06261b66f3bc3d42e (patch)
treefe590287b4964b65fd889d7ef43009f513589a31
parentc21bcb55263af92df930adbc27b16a30468e7b91 (diff)
fibocom: Add udev port rules for MA510-GL
-rwxr-xr-xplugins/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 790520cd..1ffc1cff 100755
--- a/plugins/fibocom/77-mm-fibocom-port-types.rules
+++ b/plugins/fibocom/77-mm-fibocom-port-types.rules
@@ -53,4 +53,12 @@ ATTRS{idVendor}=="2cb7", ATTRS{idProduct}=="01a4", ENV{.MM_USBIFNUM}=="04", ENV{
ATTRS{idVendor}=="2cb7", ATTRS{idProduct}=="01a4", ENV{.MM_USBIFNUM}=="05", ENV{ID_MM_PORT_IGNORE}="1"
ATTRS{idVendor}=="2cb7", ATTRS{idProduct}=="01a4", ENV{.MM_USBIFNUM}=="06", ENV{ID_MM_PORT_IGNORE}="1"
+# Fibocom MA510-GL (GTUSBMODE=31)
+# ttyUSB0 (if #0): debug port (ignore)
+# ttyUSB1 (if #1): AT port
+# ttyUSB2 (if #2): AT port
+ATTRS{idVendor}=="2cb7", ATTRS{idProduct}=="0106", ENV{.MM_USBIFNUM}=="00", ENV{ID_MM_PORT_IGNORE}="1"
+ATTRS{idVendor}=="2cb7", ATTRS{idProduct}=="0106", ENV{.MM_USBIFNUM}=="01", SUBSYSTEM=="tty", ENV{ID_MM_PORT_TYPE_AT_PRIMARY}="1"
+ATTRS{idVendor}=="2cb7", ATTRS{idProduct}=="0106", ENV{.MM_USBIFNUM}=="02", SUBSYSTEM=="tty", ENV{ID_MM_PORT_TYPE_AT_SECONDARY}="1"
+
LABEL="mm_fibocom_port_types_end"