<div dir="ltr"><div><div><div><div><div><div>Aleksander.<br><br></div>I overran my observations earlier :(<br>The newer unit of MC8090 (running in DirectIP mode) fails at "--simple-connect" stage :(<br><br></div>Please find the ModemManager logs (in debug mode) attached.</div><br><br><br><br><br></div>Also, the sequence of mmcli-commands being fired (and the corresponding responses) are as follows ::<br><br>#######################################################################################<br><br>===========    CHECKING MODEM PRESENCE    ===========<br><br><br>mmcli -L<br><br>No modems were found<br><br>[FAIL]<br><br><br><br>===========    CHECKING MODEM PRESENCE    ===========<br><br><br>mmcli -L<br><br>No modems were found<br><br>[FAIL]<br><br><br><br>===========    CHECKING MODEM PRESENCE    ===========<br><br><br>mmcli -L<br><br>Found 1 modems:<br>    /org/freedesktop/ModemManager1/Modem/0 [Sierra Wireless, Incorporated] MC8090<br><br>[OK]<br><br><br><br>===========    ENABLING MODEM    ===========<br><br><br>mmcli -m 0 -e<br>successfully enabled the modem<br>[OK]<br><br><br>mmcli -m 0 --set-allowed-modes='2G'<br>successfully set current modes in the modem<br>[OK]<br><br><br>mmcli -m 0 | grep imei | cut -d: -f 2 | cut -d\' -f 2<br>013087000839300<br>[OK]<br><br><br>mmcli -i 0 | grep imsi | cut -d: -f 2 | cut -d\' -f 2<br>404100606629246<br>[OK]<br><br><br><br>===========    ESTABLISHING CONNECTION    ===========<br><br><br>mmcli -m 0 --create-bearer="apn=<a href="http://airtelgprs.com">airtelgprs.com</a>,user=,password="<br>Successfully created new bearer in modem:<br>    /org/freedesktop/ModemManager1/Bearer/0<br>[OK]<br><br><br>mmcli -m 0 --simple-connect="apn=<a href="http://airtelgprs.com">airtelgprs.com</a>,user=,password="<br>error: couldn't connect the modem: 'GDBus.Error:org.freedesktop.ModemManager1.Error.MobileEquipment.Unknown: Unknown error'<br>[FAIL]<br><br><br><br>===========    RESETTING MODEM    ===========<br><br><br>mmcli -m 0 -r<br>successfully reseted the modem<br>[OK]<br><br><br><br>===========    CHECKING MODEM PRESENCE    ===========<br><br><br>mmcli -L<br><br>No modems were found<br><br>[FAIL]<br><br><br><b>.... and the cycle repeats ...</b><br>#######################################################################################<br><br><br><br>I think the important line in MM-debug-logs is the one saying ::<br><br><b>ModemManager[4587]:
 <debug> [1476936214.260846] [mm-serial-parsers.c:364] 
mm_serial_parser_v1_parse(): Got failure code 100: Unknown error</b><br><br><br><br></div>So, does this seem that MM is experiencing a new response from newer-MC8090-unit?<br></div>Or the newer-MC8090-unit itself is shitty?<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Oct 19, 2016 at 9:23 PM, Ajay Garg <span dir="ltr"><<a href="mailto:ajaygargnsit@gmail.com" target="_blank">ajaygargnsit@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div>There are still some major differences in the behaviours (I need some more time to jot all the glaring differences in behaviours, but suffices to say, "new" units are horrible).<br><br></div>As a first step in debugging the issues, I am posting the pics of the two units, containing the output of "ATI".<br></div>The major difference lies in the line containing "+GCAP:" (apart from the fact that the firmware-versions have a difference of 4 years).<br><br></div>Any ideas if this "+GCAP:" difference is significant?<br><div><div><div><div><div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Oct 18, 2016 at 12:01 AM, Ajay Garg <span dir="ltr"><<a href="mailto:ajaygargnsit@gmail.com" target="_blank">ajaygargnsit@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Ohh... as per <a href="https://lists.freedesktop.org/archives/modemmanager-devel/2016-August/003338.html" target="_blank">https://lists.freedesktop.org/<wbr>archives/modemmanager-devel/20<wbr>16-August/003338.html</a>, mmcli talks just to ModemManager.<br><br></div>So, as long as ModemManager does not mix up "external requests from mmcli" and "internally generated requests", I guess we are fine on this front.<br></div><div class="gmail_extra"><div><div class="m_8041441520405011015h5"><br><div class="gmail_quote">On Mon, Oct 17, 2016 at 11:35 PM, Ajay Garg <span dir="ltr"><<a href="mailto:ajaygargnsit@gmail.com" target="_blank">ajaygargnsit@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>I tried switching to Direct-IP mode, and ALL mmcli-commands (including <b>mmcli -m 0 --set-allowed-modes='2G'</b>) work fine from mmcli itself (without using any AT-commands as such).<br><br><br></div><div>a)<br></div><div>Is this expected behaviour?<br><br></div><div>b)<br></div><div>Now, since qmi-proxy is no more there, there are chances of interminglings due to working of ModemManager and mmcli together, right?<br></div></div><div class="gmail_extra"><div><div class="m_8041441520405011015m_-5430904865080231371h5"><br><div class="gmail_quote">On Mon, Oct 17, 2016 at 8:48 PM, Aleksander Morgado <span dir="ltr"><<a href="mailto:aleksander@aleksander.es" target="_blank">aleksander@aleksander.es</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span>On Mon, Oct 17, 2016 at 5:10 PM, Ajay Garg <<a href="mailto:ajaygargnsit@gmail.com" target="_blank">ajaygargnsit@gmail.com</a>> wrote:<br>
> :O :O :O :O<br>
><br>
> Of course I switched it to QMI.<br>
> The previous unit that I did all the tests on, ran perfect when switched to<br>
> QMI mode.<br>
><br>
> Your reply suggests that some functionalities (like switching to<br>
> 2G-only-mode) would not work in Direct-IP mode.<br>
> If so, Direct-IP would not serve our purpose.<br>
><br>
<br>
</span>No, I didn't say that. Switching to 2G mode should be ok in Direct IP<br>
mode, using AT commands.<br>
<span><br>
> I am in the process of retrieving the "ati" output of the earlier-modem (on<br>
> which things worked perfect in QMI-mode).<br>
> That could probably help in determining if some firmware-mismatch is causing<br>
> any issue.<br>
><br>
><br>
> But Aleksander, this is really bad news.<br>
> Any idea what might have made things working in the earlier-modem in QMI?<br>
<br>
</span>I have no idea; was it a MC8090 as well?<br>
<span class="m_8041441520405011015m_-5430904865080231371m_3439757571938888981HOEnZb"><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"><br></div></div><span class="m_8041441520405011015m_-5430904865080231371HOEnZb"><font color="#888888">-- <br><div class="m_8041441520405011015m_-5430904865080231371m_3439757571938888981gmail_signature" data-smartmail="gmail_signature">Regards,<br>Ajay<br></div>
</font></span></div>
</blockquote></div><br><br clear="all"><span class="HOEnZb"><font color="#888888"><br></font></span></div></div><span class="HOEnZb"><font color="#888888"><span class="m_8041441520405011015HOEnZb"><font color="#888888">-- <br><div class="m_8041441520405011015m_-5430904865080231371gmail_signature" data-smartmail="gmail_signature">Regards,<br>Ajay<br></div>
</font></span></font></span></div><span class="HOEnZb"><font color="#888888">
</font></span></blockquote></div><span class="HOEnZb"><font color="#888888"><br><br clear="all"><br>-- <br><div class="m_8041441520405011015gmail_signature" data-smartmail="gmail_signature">Regards,<br>Ajay<br></div>
</font></span></div></div></div></div></div></div></div>
</blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">Regards,<br>Ajay<br></div>
</div>