aboutsummaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@aleksander.es>2021-03-12 10:33:07 +0100
committerAleksander Morgado <aleksander@aleksander.es>2021-03-12 12:41:35 +0100
commitabc417f37a4fc2439e508b84e735de62340ebdd7 (patch)
tree2cd0bfc5a6cadd24bb8e98494f0a42d6b9ef8dfa /plugins
parente0a6d5d76b29f92c5fc3f2a65150b43b933b0edd (diff)
sierra: disable CPOL in the EM7345
Using CPOL? in the EM7345 (firmware FIH7160_V1.1_MODEM_01.1349.12) ends up with the whole AT port stuck and non-responsive, which leads to flagging the modem as unusable later on as soon as 10 consecutive AT command timeouts happen. In order to avoid that, we explicitly disable all CPOL based features in this specific module. Fixes https://gitlab.freedesktop.org/mobile-broadband/ModemManager/-/issues/336
Diffstat (limited to 'plugins')
-rw-r--r--plugins/sierra/77-mm-sierra.rules3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/sierra/77-mm-sierra.rules b/plugins/sierra/77-mm-sierra.rules
index dfa4cf56..cac54ed8 100644
--- a/plugins/sierra/77-mm-sierra.rules
+++ b/plugins/sierra/77-mm-sierra.rules
@@ -10,6 +10,9 @@ SUBSYSTEMS=="usb", ATTRS{bInterfaceNumber}=="?*", ENV{.MM_USBIFNUM}="$attr{bInte
# Netgear AC341U: enable connection status polling explicitly
ATTRS{idVendor}=="1199", ATTRS{idProduct}=="9057", ENV{ID_MM_QMI_CONNECTION_STATUS_POLLING_ENABLE}="1"
+# EM7345: disable CPOL based features
+ATTRS{idVendor}=="1199", ATTRS{idProduct}=="a001", ENV{ID_MM_PREFERRED_NETWORKS_CPOL_DISABLED}="1"
+
# MC74XX: Add port hints
# if 03: primary port
# if 02: raw NMEA port