[PATCH] telit: support QMI and MBIM modems

Aleksander Morgado aleksander at aleksander.es
Tue Mar 28 07:38:31 UTC 2017


On Tue, Mar 28, 2017 at 2:41 AM, David McCullough
<david.mccullough at accelerated.com> wrote:
>> > I am a little late to the party but here is the patch I have been running
>> > to do this.  I have been meaning to clean it up and send it in.  Not sure
>> > if there is anything here that will help out but I figured it can't hurt :-)
>>
>> This is more or less the MBIM part of what we're suggesting to do but
>> on mm-1-6, right? In git master we no longer require the TELIT_TAGGED
>> tag, and we have the "mm_kernel_device" support instead of the
>> GUDevDevice.
>>
>> David, if you could test your setup with git master (it's compatible
>> to 1.6.x) and Daniele's updated patch, it would be great.
>
> I would love to.  I have been trying to move to master for some time now but
> on our platform there is a severe memory corruption in later versions that has been very
> hard to track down.
>
> One of the object initialisers is overwriting memory in the wrong part of an object and
> causing MM to crash.  I did know where is was (and who) but I was pulled off it for
> higher priority issues and it sbeen a while now :-(
>
> Any thoughts on what could be causing glib object iitialisers to get out of sync would
> be appreciated.  IIRC is was in and around the SIM creation and all in egenric code.
> Doesn't seem to matter which Modem I am using it will crash.  Eventually I will be
> free'd up to resolve this, hopefully sooner rather than later ;-)
>

Oh, is this a new thing? Is this in some specific platform or plain
i386/x86_64? I'll give it some valgrind runs to see if I find
something.

> As for the Telit, it would be nice if we could pull in some of the Telit plugins AT
> command based methods to supplement the MBIM interface.  I couldn't see any example of
> that but any advice on the best approach would be appreciated.

A good example of how to do something like this is the Cinterion
plugin, where we supplement the QMI interface with AT commands to
manage GPS.

-- 
Aleksander
https://aleksander.es


More information about the ModemManager-devel mailing list