<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Mar 12, 2015 at 6:03 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"><div class="HOEnZb"><div class="h5">On Thu, Mar 12, 2015 at 10:36 AM, Peter Gerten<br>
<<a href="mailto:peter.gerten@googlemail.com">peter.gerten@googlemail.com</a>> wrote:<br>
> On Thu, Mar 12, 2015 at 5:04 PM, Aleksander Morgado<br>
> <<a href="mailto:aleksander@aleksander.es">aleksander@aleksander.es</a>> wrote:<br>
>><br>
>><br>
>> umbim isn't based on libmbim, so this is not the proper place to ask.<br>
>> You should ask in the openwrt mailing list, as they are the ones who<br>
>> wrote it.<br>
>><br>
> thanks for the info, I was not aware of that.<br>
><br>
>><br>
>> Anyway, maybe someone reading this mailing list may help?<br>
>><br>
>> > All of the modem work fine on Ubuntu 14.04 with ModemManager.<br>
>><br>
>> Well, then that's good news for libmbim :)<br>
>><br>
> Although the ModemManager mysteriously work (I use the nm-aplet UI in<br>
> Ubuntu), I could reproduce a behavior similar to umbim with mbimcli:<br>
><br>
> peter@x240:~$ sudo mbimcli -d /dev/cdc-wdm1 --query-device-caps<br>
> [/dev/cdc-wdm1] Device capabilities retrieved:<br>
> Device type: 'embedded'<br>
> Cellular class: 'gsm'<br>
> Voice class: 'embedded'<br>
> Sim class: 'removable'<br>
> Data class: 'gprs, edge, umts, hsdpa, hsupa, custom'<br>
> SMS caps: 'pdu-receive, pdu-send'<br>
> Ctrl caps: 'reg-manual, hw-radio-switch'<br>
> Max sessions: '8'<br>
> Custom data class: 'HSPA+'<br>
> Device ID: '862595020074379'<br>
> Firmware info: '11.350.16.17.00'<br>
> Hardware info: 'ML1ME936M'<br>
><br>
> peter@x240:~$ sudo mbimcli -d /dev/cdc-wdm1 --query-device-caps<br>
> error: operation failed: Transaction timed out<br>
><br>
> Again, the is difficult for me to reproduce as I can sometimes call it<br>
> several times in a row without timeout. This happens with mbimcli 1.6.0 (as<br>
> shipped with Ubuntu 14.04) as well as with mbimcli 1.13.0 which I just built<br>
> from the latest sources on the git repository.<br>
<br>
</div></div>If you want to run mbimcli at the same time as ModemManager uses the<br>
MBIM port, then you need to run mbimcli with the --device-open-proxy<br>
(or short, '-p'), so that it uses the MBIM Proxy setup in libmbim to<br>
share the MBIM port (available since libmbim 1.10.0 and MM 1.4).<br>
<br>
If you're stuck with libmbim 1.6 or MM < 1.4, then MM will still work,<br>
but you won't be able to run mbimcli commands at the same time.<br>
<br>
In the case of umbim, you can only run one umbim process at any given<br>
time, or they will fight for the same port. The transaction timeout<br>
may be because umbim isn't getting a response message and it times<br>
out, or because another umbim process is around taking care of the<br>
message receptions.<br>
<span class="HOEnZb"><font color="#888888"><br></font></span></blockquote><div><br></div><div>This was indeed a stupid mistake on my side. I did not use the proxy. So when ModemManager was running, the transaction timeouts of mbimcli were indeed caused by this. After shutting down ModemManager, mbimcli was working without any flaws.<br><br></div><div>However, this was not the case in my umbim setup. I get those mbim transaction timeouts even if the network configuration does not have an mbim device setup and is therefore definitively not interfering.<br><br></div><div>Regards<br><br></div><div>Peter<br></div></div><br></div></div>