diff options
author | Brendan Peter <bpeter@lytx.com> | 2020-06-15 15:48:01 -0700 |
---|---|---|
committer | Aleksander Morgado <aleksander@aleksander.es> | 2020-06-16 09:22:18 +0200 |
commit | ba9e4889339707359c05e079e5b4e553d1b1cb29 (patch) | |
tree | d718eb85ecb9c837b620bd66a41ea4a62a4a2025 | |
parent | f0e9b85f783bfe0ce6f5899f47624cdf8f997154 (diff) |
quectel: add port type hints for EG95
(cherry picked from commit cb8d810583690ea2c011e66d36c1eeb346f83690)
-rw-r--r-- | plugins/quectel/77-mm-quectel-port-types.rules | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/plugins/quectel/77-mm-quectel-port-types.rules b/plugins/quectel/77-mm-quectel-port-types.rules index 71138580..caa7b10e 100644 --- a/plugins/quectel/77-mm-quectel-port-types.rules +++ b/plugins/quectel/77-mm-quectel-port-types.rules @@ -27,6 +27,16 @@ ATTRS{idVendor}=="2c7c", ATTRS{idProduct}=="0191", ENV{.MM_USBIFNUM}=="01", ENV{ ATTRS{idVendor}=="2c7c", ATTRS{idProduct}=="0191", ENV{.MM_USBIFNUM}=="02", ENV{ID_MM_PORT_TYPE_AT_PRIMARY}="1" ATTRS{idVendor}=="2c7c", ATTRS{idProduct}=="0191", ENV{.MM_USBIFNUM}=="03", ENV{ID_MM_PORT_TYPE_AT_SECONDARY}="1" +# Quectel EG95 +# ttyUSB0 (if #0): QCDM/DIAG port +# ttyUSB1 (if #1): GPS data port +# ttyUSB2 (if #2): AT primary port +# ttyUSB3 (if #3): AT secondary port +ATTRS{idVendor}=="2c7c", ATTRS{idProduct}=="0195", ENV{.MM_USBIFNUM}=="00", ENV{ID_MM_PORT_TYPE_QCDM}="1" +ATTRS{idVendor}=="2c7c", ATTRS{idProduct}=="0195", ENV{.MM_USBIFNUM}=="01", ENV{ID_MM_PORT_TYPE_GPS}="1" +ATTRS{idVendor}=="2c7c", ATTRS{idProduct}=="0195", ENV{.MM_USBIFNUM}=="02", ENV{ID_MM_PORT_TYPE_AT_PRIMARY}="1" +ATTRS{idVendor}=="2c7c", ATTRS{idProduct}=="0195", ENV{.MM_USBIFNUM}=="03", ENV{ID_MM_PORT_TYPE_AT_SECONDARY}="1" + # Quectel BG96 # ttyUSB0 (if #0): QCDM/DIAG port # ttyUSB1 (if #1): GPS data port |