<!DOCTYPE html><html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body>
    <p>Hello Aleksander, Dan<br>
      <br>
      It works perfect now again, thanks!<br>
      I'm sorry that I totally forgot about this thread - but still
      letting you know.<br>
    </p>
    <p>With kind regards,<br>
      Lech<br>
    </p>
    <div class="moz-cite-prefix">W dniu 22.12.2024 o 19:13, Aleksander
      Morgado pisze:<br>
    </div>
    <blockquote type="cite" cite="mid:CAA3JqEeWATn2MgAtqnUs1MgVD6bXpcJHMJb-W32LhxsUxU0KjQ@mail.gmail.com">
      
      <div dir="ltr">
        <div dir="ltr">Hey,<br>
        </div>
        <br>
        <div class="gmail_quote gmail_quote_container">
          <div dir="ltr" class="gmail_attr">On Sun, Dec 22, 2024 at
            6:49 PM Aleksander Morgado <<a href="mailto:aleksander.morgado@gmail.com" moz-do-not-send="true" class="moz-txt-link-freetext">aleksander.morgado@gmail.com</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">
            <div dir="ltr">
              <div dir="ltr"><br>
              </div>
              <br>
              <div class="gmail_quote">
                <div dir="ltr" class="gmail_attr">On Sun, Dec 22, 2024
                  at 6:37 PM Aleksander Morgado <<a href="mailto:aleksander.morgado@gmail.com" target="_blank" moz-do-not-send="true" class="moz-txt-link-freetext">aleksander.morgado@gmail.com</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">
                  <div dir="ltr">
                    <div dir="ltr">Hey,<br>
                    </div>
                    <div class="gmail_quote">
                      <div> </div>
                      <blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
                        > > After updating to the latest main (at
                        eda130f3bf1c), in our team<br>
                        > > we've noticed, that in our CI, that
                        QMI port sometimes fails to<br>
                        > > probe,<br>
                        > > with Telit LE910C4-WWXD. The result is
                        the modem having only AT<br>
                        > > ports<br>
                        > > available, thus falling back to using
                        PPP for the data connection.<br>
                        > <br>
                        > Well that's not awesome; I'll dig into it.
                        If you figure out anything<br>
                        > too, let me know.<br>
                        > <br>
                        <br>
                        When this happens, does MM attempt to probe the
                        port as AT before<br>
                        trying QMI?<br>
                        <br>
                      </blockquote>
                      <div><br>
                      </div>
                      <div>With the changes in that referenced commit,
                        it looks like serial_probe_step() may be running
                        serial_open_at() also for the QMI and MBIM
                        ports, which is not right, as that would create
                        a new MMSerialPort in ctx->serial.</div>
                      <div><br>
                      </div>
                      <div>The serial_probe_step() (ideally renamed as
                        probe_step() to make it clearer that it is not
                        serial-specific) should not run any
                        serial-specific operation (e.g. CUSTOM_INIT,
                        AT_OPEN_PORT, ....) for ports that do not
                        require any AT or QCDM probing.<br>
                      </div>
                      <div><br>
                      </div>
                      <div>WDYT?<br>
                      </div>
                    </div>
                  </div>
                </blockquote>
                <div><br>
                </div>
                <div>The issue can be reproduced with modems for which
                  the corresponding plugin has "custom_init" configured,
                  e.g. Telit or Cinterion:</div>
                <div><br>
                </div>
                <div>ModemManager[4112]: <dbg> [1734889629.161510]
                  [cdc-wdm0/probe] no AT/QCDM/QMI probing in possible
                  MBIM port<br>
                  ModemManager[4112]: <dbg> [1734889629.162057]
                  [cdc-wdm0/probe] port is not AT-capable<br>
                  ModemManager[4112]: <dbg> [1734889629.162867]
                  [cdc-wdm0/probe] port is not QCDM-capable<br>
                  ModemManager[4112]: <dbg> [1734889629.163621]
                  [cdc-wdm0/probe] port is not QMI-capable<br>
                  ModemManager[4112]: <dbg> [1734889629.164981]
                  [cdc-wdm0/probe] launching port probing: 'mbim'<br>
                  ModemManager[4112]: <msg> [1734889629.166516]
                  [cdc-wdm0/probe] probe step: start<br>
                  ModemManager[4112]: <msg> [1734889629.166988]
                  [cdc-wdm0/probe] probe step: custom init open port
                  <br>
                </div>
              </div>
            </div>
          </blockquote>
          <div><br>
          </div>
          <div>I tried to fix this with <a href="https://gitlab.freedesktop.org/mobile-broadband/ModemManager/-/merge_requests/1273" moz-do-not-send="true">https://gitlab.freedesktop.org/mobile-broadband/ModemManager/-/merge_requests/1273</a><br>
          </div>
          <div><br>
          </div>
          <div>Let us know if this solves the problem completely or not.<br>
          </div>
        </div>
      </div>
      <p class="MsoNormal" style="’line-height:12.0pt;font-size:10.0pt;color:#9C6500">___</p>
      <p class="MsoNormal" style="’line-height:12.0pt;font-size:10.0pt;color:#9C6500">This
        email originated from outside of Camlin Group. Do not click on
        links or open attachments unless you are confident they are
        secure. If in doubt, please raise a security incident via the
        following portal: <a href="https://camlin-helpdesk.atlassian.net/servicedesk/customer/portal/2/group/34/create/62" moz-do-not-send="true">
          Camlin Helpdesk – Report an Information Security
          Incident/Non-Conformance </a></p>
    </blockquote>
    <pre class="moz-signature" cols="0">-- 
Pozdrawiam/With kind regards,
Lech Perczak

Sr. Software Engineer
Camlin Technologies Poland Limited Sp. z o.o.
Strzegomska 54,
53-611 Wroclaw
Tel:     (+48) 71 75 000 16
Email:   <a class="moz-txt-link-abbreviated" href="mailto:lech.perczak@camlingroup.com">lech.perczak@camlingroup.com</a>
Website: <a class="moz-txt-link-freetext" href="http://www.camlingroup.com">http://www.camlingroup.com</a></pre>
  </body>
</html>