diff options
author | Matthew Starr <mstarr@hedonline.com> | 2018-04-10 17:30:32 +0000 |
---|---|---|
committer | Aleksander Morgado <aleksander@aleksander.es> | 2018-04-30 18:29:39 +0200 |
commit | 4895577597f6cadb9c791ef0483a95ba85aa27f5 (patch) | |
tree | db5578d61748b696066636d34702c1577147095a /plugins | |
parent | e17d5a51a24248d53ea5da8d16d86f2ca187a566 (diff) |
u-blox: ignore non-AT ttyACM interfaces
For the TOBY-R2, LISA-R2, and LARA-R2, the only valid AT ports are
ttyACM0, ttyACM1, and ttyACM2. All other ttyACM ports cause MM to
wait 20-30 seconds probing the port on startup.
Ignoring the non-AT ttyACM ports allows MM to not wait 20-30 seconds
probing and therefore startup much faster with these modems.
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/ublox/77-mm-ublox-port-types.rules | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/plugins/ublox/77-mm-ublox-port-types.rules b/plugins/ublox/77-mm-ublox-port-types.rules index cb77f0e0..31128dac 100644 --- a/plugins/ublox/77-mm-ublox-port-types.rules +++ b/plugins/ublox/77-mm-ublox-port-types.rules @@ -16,4 +16,39 @@ ATTRS{idVendor}=="1546", ATTRS{idProduct}=="1010", ENV{.MM_USBIFNUM}=="02", ENV{ ATTRS{idVendor}=="1546", ATTRS{idProduct}=="1010", ENV{.MM_USBIFNUM}=="04", ENV{ID_MM_PORT_IGNORE}="1" ATTRS{idVendor}=="1546", ATTRS{idProduct}=="1010", ENV{.MM_USBIFNUM}=="08", ENV{ID_MM_PORT_IGNORE}="1" +# TOBY-R2 port types +# ttyACM0 (if #0): primary +# ttyACM1 (if #2): secondary +# ttyACM2 (if #4): tertiary +# ttyACM3 (if #6): GNSS Tunneling (ignore) +# ttyACM4 (if #8): SIM Access Profile (ignore) +# ttyACM5 (if #10): Primary Log for diagnostics (ignore) +ATTRS{idVendor}=="1546", ATTRS{idProduct}=="1107", ENV{.MM_USBIFNUM}=="06", ENV{ID_MM_PORT_IGNORE}="1" +ATTRS{idVendor}=="1546", ATTRS{idProduct}=="1107", ENV{.MM_USBIFNUM}=="08", ENV{ID_MM_PORT_IGNORE}="1" +ATTRS{idVendor}=="1546", ATTRS{idProduct}=="1107", ENV{.MM_USBIFNUM}=="0a", ENV{ID_MM_PORT_IGNORE}="1" + +# LARA-R2 port types +# ttyACM0 (if #0): primary +# ttyACM1 (if #2): secondary +# ttyACM2 (if #4): tertiary +# ttyACM3 (if #6): GNSS Tunneling (ignore) +# ttyACM4 (if #8): SIM Access Profile (ignore) +# ttyACM5 (if #10): Primary Log for diagnostics (ignore) +ATTRS{idVendor}=="1546", ATTRS{idProduct}=="110a", ENV{.MM_USBIFNUM}=="06", ENV{ID_MM_PORT_IGNORE}="1" +ATTRS{idVendor}=="1546", ATTRS{idProduct}=="110a", ENV{.MM_USBIFNUM}=="08", ENV{ID_MM_PORT_IGNORE}="1" +ATTRS{idVendor}=="1546", ATTRS{idProduct}=="110a", ENV{.MM_USBIFNUM}=="0a", ENV{ID_MM_PORT_IGNORE}="1" + +# LISA-U2 port types +# ttyACM0 (if #0): primary +# ttyACM1 (if #2): secondary +# ttyACM2 (if #4): tertiary +# ttyACM3 (if #6): GNSS Tunneling (ignore) +# ttyACM4 (if #8): Primary Log for diagnostics (ignore) +# ttyACM5 (if #10): Secondary Log for diagnostics (ignore) +# ttyACM6 (if #12): SAP (SIM Access Profile) (ignore) +ATTRS{idVendor}=="1546", ATTRS{idProduct}=="1102", ENV{.MM_USBIFNUM}=="06", ENV{ID_MM_PORT_IGNORE}="1" +ATTRS{idVendor}=="1546", ATTRS{idProduct}=="1102", ENV{.MM_USBIFNUM}=="08", ENV{ID_MM_PORT_IGNORE}="1" +ATTRS{idVendor}=="1546", ATTRS{idProduct}=="1102", ENV{.MM_USBIFNUM}=="0a", ENV{ID_MM_PORT_IGNORE}="1" +ATTRS{idVendor}=="1546", ATTRS{idProduct}=="1102", ENV{.MM_USBIFNUM}=="0c", ENV{ID_MM_PORT_IGNORE}="1" + LABEL="mm_ublox_port_types_end" |