[PATCH] telit: support QMI and MBIM modems

David McCullough david.mccullough at accelerated.com
Tue Mar 28 23:29:17 UTC 2017


Aleksander Morgado wrote the following:
> 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.

Its an arm platform,  I have run valgrind over it,  there are quite a few
issues there but its hard to know if they are real of not.

Obviously the one affect me is real ;-)

I'll try and get some time on it and be more specific.  I'll follow up
then.  I don't think its a MM thing,  more likely a glib/uClibc issue but
I can't really point the finger yet.

> > 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.

Awesome,  thatnks for the pointer, sounds exactly like what I am wanting to do,

Cheers,
Davidm

-- 
David McCullough,  david.mccullough at accelerated.com,   Ph: 0410 560 763


More information about the ModemManager-devel mailing list