<div dir="ltr">after recompiling in given order result is the same:<div><br></div><div><div># cat /usr/include/libqmi-glib/qmi-version.h | grep "define</div><div>> QMI_MBIM_QMUX_SUPPORTED"</div><div>#define _QMI_VERSION_H_</div><div> * This section defines types that are used to identify the libqmi-glib version.</div><div>#define QMI_MAJOR_VERSION (1)</div><div>#define QMI_MINOR_VERSION (18)</div><div>#define QMI_MICRO_VERSION (0)</div><div>#define QMI_CHECK_VERSION(major,minor,micro) \</div><div> * QMI_MBIM_QMUX_SUPPORTED:</div><div> * defined and set to either or 1 or 0.</div><div> * #if QMI_MBIM_QMUX_SUPPORTED</div><div>#define QMI_MBIM_QMUX_SUPPORTED 1</div></div><div><br></div><div>and one more time output from MM --debug:</div><div><br></div><div><a href="https://pastebin.com/KJsnvp4t">https://pastebin.com/KJsnvp4t</a><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">2017-07-18 14:29 GMT+02:00 Bartłomiej Knabel <span dir="ltr"><<a href="mailto:bartlomiej.knabel@gmail.com" target="_blank">bartlomiej.knabel@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I don't remember order, but I can recompile them one more time with order You provided.<div><br></div><div>here is output:<div><br></div><div><span class=""><div>$ cat /usr/include/libqmi-glib/qmi-<wbr>version.h | grep "define</div><div>QMI_MBIM_QMUX_SUPPORTED"</div></span><div>#define _QMI_VERSION_H_</div><div> * This section defines types that are used to identify the libqmi-glib version.</div><div>#define QMI_MAJOR_VERSION (1)</div><div>#define QMI_MINOR_VERSION (18)</div><div>#define QMI_MICRO_VERSION (0)</div><div>#define QMI_CHECK_VERSION(major,minor,<wbr>micro) \</div><div> * QMI_MBIM_QMUX_SUPPORTED:</div><div> * defined and set to either or 1 or 0.</div><div> * #if QMI_MBIM_QMUX_SUPPORTED</div><div>#define QMI_MBIM_QMUX_SUPPORTED 1</div></div><div><br></div></div></div><div class="gmail_extra"><div><div class="h5"><br><div class="gmail_quote">2017-07-18 14:16 GMT+02:00 Aleksander Morgado <span dir="ltr"><<a href="mailto:aleksander@aleksander.es" target="_blank">aleksander@aleksander.es</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="m_-847770951927222612HOEnZb"><div class="m_-847770951927222612h5">On Tue, Jul 18, 2017 at 2:00 PM, Bartłomiej Knabel<br>
<<a href="mailto:bartlomiej.knabel@gmail.com" target="_blank">bartlomiej.knabel@gmail.com</a>> wrote:<br>
>> Is this a custom system? Looks like ModemManager isn't built with QMI<br>
>> and/or with an old libqmi not supporting QMI over MBIM. Which libqmi<br>
>> and libmbim versions are being used?<br>
>><br>
>> Once the initial failure happens during the Set Radio State command,<br>
>> we should have been trying the "QMI FCC auth" sequence with QMI over<br>
>> MBIM, but I don't see that in the logs.<br>
>><br>
><br>
> I've used following libraries:<br>
><br>
> <a href="https://freedesktop.org/software/libqmi/libqmi-1.18.0.tar.xz" rel="noreferrer" target="_blank">https://freedesktop.org/softwa<wbr>re/libqmi/libqmi-1.18.0.tar.xz</a><br>
> <a href="https://www.freedesktop.org/software/libmbim/libmbim-1.14.0.tar.xz" rel="noreferrer" target="_blank">https://www.freedesktop.org/so<wbr>ftware/libmbim/libmbim-1.14.0.<wbr>tar.xz</a><br>
> <a href="https://www.freedesktop.org/software/ModemManager/ModemManager-1.6.8.tar.xz" rel="noreferrer" target="_blank">https://www.freedesktop.org/so<wbr>ftware/ModemManager/ModemManag<wbr>er-1.6.8.tar.xz</a><br>
><br>
> on all of them I've run:<br>
> ./configure --prefix=/usr<br>
> make<br>
> make install<br>
><br>
> maybe here is something wrong?<br>
<br>
</div></div>In which order did you built and install them? The order should be:<br>
libmbim, libqmi, MM. This is so that libqmi is built with QMI over<br>
MBIM support. You can run this to check whether that part is ok or<br>
not:<br>
<br>
$ cat /usr/include/libqmi-glib/qmi-v<wbr>ersion.h | grep "define<br>
QMI_MBIM_QMUX_SUPPORTED"<br>
#define QMI_MBIM_QMUX_SUPPORTED 1<br>
<span class="m_-847770951927222612HOEnZb"><font color="#888888"><br>
--<br>
Aleksander<br>
<a href="https://aleksander.es" rel="noreferrer" target="_blank">https://aleksander.es</a><br>
</font></span></blockquote></div><br><br clear="all"><div><br></div></div></div><span class="HOEnZb"><font color="#888888">-- <br><div class="m_-847770951927222612gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>pozdrawiam,<br>Bartłomiej Knabel</div></div></div>
</font></span></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>pozdrawiam,<br>Bartłomiej Knabel</div></div></div>
</div>