<div dir="ltr">Thanks a lot.<div><br></div><div>I almost had to hardcode a forced ignore to all QCDIAG identified ports.</div><div>This saved a lot of time.</div><div><br></div><div>Regards.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, 1 Jul 2022 at 17:23, Aleksander Morgado <<a href="mailto:aleksander@aleksander.es">aleksander@aleksander.es</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hey Matheus,<br>
<br>
><br>
> I'm new to ModemManager dev and I'm wondering if there is already any switch or feature that allows to disable any port to be used as diag port (qcdm).<br>
><br>
> The reason is that I'm trying to use the diag port separately from another program and ModemManager is interfering with it when opening such a port. Or do we need to always modify udev rules for this?<br>
><br>
> I'm using Simcom SIM8202G-2M by the way.<br>
><br>
<br>
That behavior changed in git main branch not very long ago. See:<br>
<a href="https://gitlab.freedesktop.org/mobile-broadband/ModemManager/-/commit/d6203265c2e38dc50fc7f8b3c2ce85b55937e0a4" rel="noreferrer" target="_blank">https://gitlab.freedesktop.org/mobile-broadband/ModemManager/-/commit/d6203265c2e38dc50fc7f8b3c2ce85b55937e0a4</a><br>
<a href="https://gitlab.freedesktop.org/mobile-broadband/ModemManager/-/commit/473c41dc634c9da36a1ef355f14e89cec265b6e6" rel="noreferrer" target="_blank">https://gitlab.freedesktop.org/mobile-broadband/ModemManager/-/commit/473c41dc634c9da36a1ef355f14e89cec265b6e6</a><br>
<br>
With those changes in, only very specific plugins will trigger the<br>
port probing in QCDM, those that may really require the protocol to<br>
manage the modem. For all the other plugins, the QCDM ports will still<br>
be tagged as being QCDM, but ModemManager will not do anything with<br>
those, not even port probing, so you should be able to use them with a<br>
third party app in order to gather traces or whatever any other thing<br>
you need.<br>
<br>
-- <br>
Aleksander<br>
<a href="https://aleksander.es" rel="noreferrer" target="_blank">https://aleksander.es</a><br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><p dir="ltr" style="font-size:12.8px">Com os melhores cumprimentos,</p><p dir="ltr" style="font-size:12.8px">Matheus Eduardo</p></div></div></div></div>