aboutsummaryrefslogtreecommitdiff
path: root/plugins/cinterion/77-mm-cinterion-port-types.rules
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@aleksander.es>2020-12-14 09:35:02 +0100
committerAleksander Morgado <aleksander@aleksander.es>2020-12-14 09:58:08 +0100
commit067b09c8358ad92ff0ca3c266d0229e9518069d0 (patch)
tree87bb8c20ffc2baf360683fcca43542d07d0d6614 /plugins/cinterion/77-mm-cinterion-port-types.rules
parentbee8a391bf46e33f8378504f71c4e087d7a82fb5 (diff)
cinterion: add PLS83 port type hints
Diffstat (limited to 'plugins/cinterion/77-mm-cinterion-port-types.rules')
-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 51caf221..8916303c 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"