summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@aleksander.es>2020-12-14 09:35:02 +0100
committerAleksander Morgado <aleksander@aleksander.es>2021-01-13 12:26:37 +0100
commit7684b8c87c834bce0f1ab141427b82b2e3ed3ac5 (patch)
treef07dd049e322ffc7d77f904a70a637eac360677c
parent45955463e7b87a0488421284dfb635f91a54d545 (diff)
downloadModemManager-7684b8c87c834bce0f1ab141427b82b2e3ed3ac5.tar.gz
cinterion: add PLS83 port type hints
(cherry picked from commit 067b09c8358ad92ff0ca3c266d0229e9518069d0)
-rw-r--r--plugins/cinterion/77-mm-cinterion-port-types.rules10
1 files changed, 10 insertions, 0 deletions
diff --git a/plugins/cinterion/77-mm-cinterion-port-types.rules b/plugins/cinterion/77-mm-cinterion-port-types.rules
index 51caf221b..8916303ca 100644
--- a/plugins/cinterion/77-mm-cinterion-port-types.rules
+++ b/plugins/cinterion/77-mm-cinterion-port-types.rules
@@ -46,4 +46,14 @@ ATTRS{idVendor}=="1e2d", ATTRS{idProduct}=="005d", ENV{.MM_USBIFNUM}=="04", ENV{
ATTRS{idVendor}=="1e2d", ATTRS{idProduct}=="005d", ENV{.MM_USBIFNUM}=="06", ENV{ID_MM_PORT_IGNORE}="1"
ATTRS{idVendor}=="1e2d", ATTRS{idProduct}=="005d", ENV{.MM_USBIFNUM}=="08", ENV{ID_MM_PORT_IGNORE}="1"
+# PLS83
+# ttyACM0 (if #0): AT port
+# ttyACM1 (if #2): AT port
+# ttyACM2 (if #4): GPS data port
+# ttyACM3 (if #6): DIAG/QCDM
+ATTRS{idVendor}=="1e2d", ATTRS{idProduct}=="006F", ENV{.MM_USBIFNUM}=="00", ENV{ID_MM_PORT_TYPE_AT_PRIMARY}="1"
+ATTRS{idVendor}=="1e2d", ATTRS{idProduct}=="006F", ENV{.MM_USBIFNUM}=="02", ENV{ID_MM_PORT_TYPE_AT_SECONDARY}="1"
+ATTRS{idVendor}=="1e2d", ATTRS{idProduct}=="006F", ENV{.MM_USBIFNUM}=="04", ENV{ID_MM_PORT_TYPE_GPS}="1"
+ATTRS{idVendor}=="1e2d", ATTRS{idProduct}=="006F", ENV{.MM_USBIFNUM}=="06", ENV{ID_MM_PORT_TYPE_QCDM}="1"
+
LABEL="mm_cinterion_port_types_end"