<div dir="ltr">Hi Bjørn,<br><div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Mar 12, 2015 at 8:27 PM, Bjørn Mork <span dir="ltr"><<a href="mailto:bjorn@mork.no" target="_blank">bjorn@mork.no</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class=""><div class="h5">Aleksander Morgado <<a href="mailto:aleksander@aleksander.es">aleksander@aleksander.es</a>> writes:<br></div></div><span class=""><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>
<br>
</span>I believe there are too many things to fix in umbim at the time being<br>
for us to guess exactly which bug is causing this behaviour. One<br>
obvious one, which might cause such problems, is the static<br>
MBIM_BUFFER_SIZE (at least looking at the 2014-12-10 umbim version,<br>
which seems to be the default in current OpenWRT trunk). I am sure there<br>
are other bugs too.<br>
<br>
The umbim package looks like a good start, but it is not nearly as<br>
mature as libmbim yet. umbim is currently in a state where it probably<br>
works on some specific modems, but it needs more work to generalize it<br>
for any MBIM modem. Like using the modem specified buffer size.<span class=""><font color="#888888"><br></font></span></blockquote><div><br></div><div>I will look into the buffer size issue. When I sometimes get "lucky" and actually do not get timeouts, the connection is established but I don't get an IP configuration. As the umbim scripts use a dhcp client which does not seem to work with many mbim modems. <br><br></div><div>There is actually code for MBIM_CID_IP_CONFIGURATION in the umbim source but it is not used in the connection script. I tried to add it and it gets DNS and gateway configuration right, but the IP address if wrong (I only tested ipv4 configuration, nor sure if ipv6 works). <br><br></div><div>I would actually love to use mbimcli instead of umbim on OpenWRT but currently do not know an easy way on how to do that.<br></div><div><br></div><div>I noticed Aleksander's blog post about a version with integrated ModemManager - unfortunately it seems to be very outdated now (<a href="https://sigquit.wordpress.com/2013/02/14/modemmanager-and-latest-udev-in-openwrt/">https://sigquit.wordpress.com/2013/02/14/modemmanager-and-latest-udev-in-openwrt/</a>).<br></div><div><br></div><div>Regards<br><br></div><div>Peter <br></div></div><br></div></div></div>