<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
.MsoChpDefault
{mso-style-type:export-only;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style></head><body lang=EN-US link=blue vlink="#954F72" style='word-wrap:break-word'><div class=WordSection1><p class=MsoNormal>Hi Modemmanager developers team<o:p></o:p></p><p class=MsoNormal> <o:p></o:p></p><p class=MsoNormal>I am Vishwas, A student of NCSU and part of the AERPAW team. We are currently using Quectel modem and modemmanager service for our academic research. We are using Quectel RM500Q-AE and GL series modems.<o:p></o:p></p><p class=MsoNormal> <o:p></o:p></p><p class=MsoNormal>We have a Physical layer logger script using pyserial written to get physical parameters on one of the AT ports. One area where I am stuck is with Modemmanager and other driver support.<o:p></o:p></p><p class=MsoNormal> <o:p></o:p></p><p class=MsoNormal>We are currently using the modem in AT+QCFG="usbnet",1 (cdc_ether) mode. We require the modemmanager to not interfere with the quectel ports which happens initially and we are able to connect to the internet as well as collect logging parameters. But we also use another modem (AT&T dongle) on the same device which requires modemmanager for its functionality. Once we connect the other AT&T dongle, Modemmanager scans all ports and takes control of Quectel USB as well, after which we cannot run the logger nor connect to the internet.(log attached-cdc_ether.log)<o:p></o:p></p><p class=MsoNormal> <o:p></o:p></p><p class=MsoNormal>One of the popular solutions online is to mask/stop the modemmanager service while running Quectel modem. Unfortunately we cannot use that since we have another modem using Modemmanager.<o:p></o:p></p><p class=MsoNormal> <o:p></o:p></p><p class=MsoNormal>Another solution was to use the Udev rules and tell mm to ignore Quectel modem, I did think initially that this worked but unfortunately this solution is not working as well.<o:p></o:p></p><p class=MsoNormal> <o:p></o:p></p><p class=MsoNormal>ATTRS{idVendor}=="2c7c" ATTRS{idProduct}=="0800", ENV{ID_MM_DEVICE_IGNORE}="1"<o:p></o:p></p><p class=MsoNormal>and/or<o:p></o:p></p><p class=MsoNormal>ATTRS{idVendor}=="2c7c" ATTRS{idProduct}=="0800", ENV{ID_MM_PORT_IGNORE}="0"<o:p></o:p></p><p class=MsoNormal>ATTRS{idVendor}=="2c7c" ATTRS{idProduct}=="0800", ENV{ID_MM_PORT_IGNORE}="1"<o:p></o:p></p><p class=MsoNormal>ATTRS{idVendor}=="2c7c" ATTRS{idProduct}=="0800", ENV{ID_MM_PORT_IGNORE}="2"<o:p></o:p></p><p class=MsoNormal>ATTRS{idVendor}=="2c7c" ATTRS{idProduct}=="0800", ENV{ID_MM_PORT_IGNORE}="3"<o:p></o:p></p><p class=MsoNormal> <o:p></o:p></p><p class=MsoNormal>We have also added blacklist rules like below<o:p></o:p></p><p class=MsoNormal>ACTION!="add|change", GOTO="mm_tty_blacklist_end"<o:p></o:p></p><p class=MsoNormal>ATTRS{idVendor}=="2c7c" ATTRS{idProduct}=="0800", ENV{ID_MM_DEVICE_IGNORE}="1"<o:p></o:p></p><p class=MsoNormal>ATTRS{idVendor}=="2c7c" ATTRS{idProduct}=="0800", ENV{ID_MM_PORT_IGNORE}="0"<o:p></o:p></p><p class=MsoNormal>ATTRS{idVendor}=="2c7c" ATTRS{idProduct}=="0800", ENV{ID_MM_PORT_IGNORE}="1"<o:p></o:p></p><p class=MsoNormal>ATTRS{idVendor}=="2c7c" ATTRS{idProduct}=="0800", ENV{ID_MM_PORT_IGNORE}="2"<o:p></o:p></p><p class=MsoNormal>ATTRS{idVendor}=="2c7c" ATTRS{idProduct}=="0800", ENV{ID_MM_PORT_IGNORE}="3"<o:p></o:p></p><p class=MsoNormal>LABEL="mm_tty_blacklist_end"<o:p></o:p></p><p class=MsoNormal> <o:p></o:p></p><p class=MsoNormal> <o:p></o:p></p><p class=MsoNormal> <o:p></o:p></p><p class=MsoNormal> <o:p></o:p></p><p class=MsoNormal> <o:p></o:p></p><p class=MsoNormal>Can you please help me out with this issue? Please let us know if you have faced issues like this or if you would like to know more details.<o:p></o:p></p><p class=MsoNormal> <o:p></o:p></p><p class=MsoNormal>System info:<o:p></o:p></p><p class=MsoNormal>aerpawops@SPN-new:~$ mmcli -V<o:p></o:p></p><p class=MsoNormal>mmcli 1.10.0<o:p></o:p></p><p class=MsoNormal>Copyright (2011 - 2019) Aleksander Morgado<o:p></o:p></p><p class=MsoNormal>License GPLv2+: GNU GPL version 2 or later <http://gnu.org/licenses/gpl-2.0.html><o:p></o:p></p><p class=MsoNormal>This is free software: you are free to change and redistribute it.<o:p></o:p></p><p class=MsoNormal>There is NO WARRANTY, to the extent permitted by law.<o:p></o:p></p><p class=MsoNormal>aerpawops@SPN-new:~$ ModemManager -V<o:p></o:p></p><p class=MsoNormal>ModemManager 1.10.0<o:p></o:p></p><p class=MsoNormal>Copyright (C) 2008-2019 The ModemManager authors<o:p></o:p></p><p class=MsoNormal>License GPLv2+: GNU GPL version 2 or later <http://gnu.org/licenses/gpl-2.0.html><o:p></o:p></p><p class=MsoNormal>This is free software: you are free to change and redistribute it.<o:p></o:p></p><p class=MsoNormal>There is NO WARRANTY, to the extent permitted by law.<o:p></o:p></p><p class=MsoNormal> <o:p></o:p></p><p class=MsoNormal>aerpawops@SPN-new:~$ uname -r<o:p></o:p></p><p class=MsoNormal>5.4.0-131-lowlatency<o:p></o:p></p><p class=MsoNormal>aerpawops@SPN-new:~$ uname -a<o:p></o:p></p><p class=MsoNormal>Linux SPN-new 5.4.0-131-lowlatency #147~18.04.1-Ubuntu SMP PREEMPT Sat Oct 15 13:44:07 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux<o:p></o:p></p><p class=MsoNormal> <o:p></o:p></p><p class=MsoNormal> <o:p></o:p></p><p class=MsoNormal>Regards<o:p></o:p></p><p class=MsoNormal>Vishwas<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><o:p> </o:p></p></div></body></html>