From a8b9058a0c00dcaf6bde5fc7032e7f59169dd914 Mon Sep 17 00:00:00 2001 From: Dan Carpenter Date: Wed, 20 Jul 2022 13:06:21 +0200 Subject: [PATCH] sierra: disable CPOL in the GL7600 Similar to the EM7345 (also from Sierra Wireless), the GL7600 becomes unresponsive after using "AT+CPOL?". Fixes https://gitlab.freedesktop.org/mobile-broadband/ModemManager/-/issues/595 --- plugins/sierra/77-mm-sierra.rules | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/plugins/sierra/77-mm-sierra.rules b/plugins/sierra/77-mm-sierra.rules index 68350e8c..e26e9a40 100644 --- a/plugins/sierra/77-mm-sierra.rules +++ b/plugins/sierra/77-mm-sierra.rules @@ -1,10 +1,11 @@ # do not edit this file, it will be overwritten on update ACTION!="add|change|move|bind", GOTO="mm_sierra_end" -SUBSYSTEMS=="usb", ATTRS{idVendor}=="1199", GOTO="mm_sierra" +SUBSYSTEMS=="usb", ATTRS{idVendor}=="1199", GOTO="mm_sierra_generic" +SUBSYSTEMS=="usb", ATTRS{idVendor}=="1519", GOTO="mm_sierra_comneon" GOTO="mm_sierra_end" -LABEL="mm_sierra" +LABEL="mm_sierra_generic" SUBSYSTEMS=="usb", ATTRS{bInterfaceNumber}=="?*", ENV{.MM_USBIFNUM}="$attr{bInterfaceNumber}" # Netgear AC341U: enable connection status polling explicitly @@ -29,4 +30,11 @@ ATTRS{idVendor}=="1199", ATTRS{idProduct}=="9091", ENV{.MM_USBIFNUM}=="03", SUBS ATTRS{idVendor}=="1199", ATTRS{idProduct}=="9091", ENV{.MM_USBIFNUM}=="02", SUBSYSTEM=="tty", ENV{ID_MM_PORT_TYPE_GPS}="1" ATTRS{idVendor}=="1199", ATTRS{idProduct}=="9091", ENV{.MM_USBIFNUM}=="00", SUBSYSTEM=="tty", ENV{ID_MM_PORT_TYPE_QCDM}="1" +GOTO="mm_sierra_end" + +LABEL="mm_sierra_comneon" + +# GL7600: disable CPOL based features +ATTRS{idVendor}=="1519", ATTRS{idProduct}=="0443", ENV{ID_MM_PREFERRED_NETWORKS_CPOL_DISABLED}="1" + LABEL="mm_sierra_end"