[PATCH] telit: support QMI and MBIM modems

Aleksander Morgado aleksander at aleksander.es
Mon Mar 27 11:02:40 UTC 2017


On Mon, Mar 27, 2017 at 12:14 PM, Daniele Palmas <dnlplm at gmail.com> wrote:
> 2017-03-24 15:33 GMT+01:00 Daniele Palmas <dnlplm at gmail.com>:
>> Hi Aleksander,
>>
>> 2017-03-24 14:48 GMT+01:00 Aleksander Morgado <aleksander at aleksander.es>:
>>> Vendor specific plugins that support QMI or MBIM based devices need to
>>> handle the creation of these modems themselves.
>>>
>>> https://bugs.freedesktop.org/show_bug.cgi?id=100372
>>> ---
>>>
>>> Hey Carlo and Daniele,
>>>
>>> This patch makes the Telit plugin accept QMI and MBIM modems. Can any of you test it with such modems to make sure the Telit plugin is the one grabbing them?
>>>
>>
>> Sure, I can give it a try on Monday.
>>
>
> Applying your patch and testing with an mbim based I still see that
> the generic plugin is used
>
> daniele at L2122:~/git/ModemManager$ mmcli -L
>
> Found 1 modems:
>         /org/freedesktop/ModemManager1/Modem/0 [Generic] MBIM [1BC7:0032]
>
> So in the log I found
>
> ModemManager[3807]: <debug> (Telit) [cdc-wdm0] filtered by implicit MBIM driver
>
> and added
>
>                       MM_PLUGIN_ALLOWED_QMI,        TRUE,
>                       MM_PLUGIN_ALLOWED_MBIM,       TRUE,
>
> in mm_plugin_create.
>

Ouch, yes, that is needed.

> I'm now seeing
>
> ModemManager[5758]: <debug> MBIM-powered Telit modem found...
>
> but also
>
> ModemManager[5758]: <warn>  Couldn't start initialization: Cannot
> initialize: MBIM port went missing
> ModemManager[5758]: <warn>  couldn't initialize the modem: 'Modem is
> unusable, cannot fully initialize'
>
> and the modem was not recognized.
>

That is very weird. Do you have the full log around?

> I had also to fix telit_grab_port in order to take mbim, qmi and net
> ports. Does this make sense?

Yes, it also makes sense...

Could you share your latest additions and the full log you're getting?


-- 
Aleksander
https://aleksander.es


More information about the ModemManager-devel mailing list