Modem Manager bring up

Senthil Kumaresan sekumarejobs at gmail.com
Tue Feb 8 20:43:21 UTC 2022


Hi Aleksander,

I did backport the Linux-5.15 MHI driver and WWAN drivers to Linux-4.19 (My
kernel) and it seems the control port interfaces were created after I
loaded the wwan.ko & mhi_wwan_ctrl.ko drivers.
I am expecting now that the ModemManager will be up. Let me try.

# ls -l /dev/wwan0*
wwan0mbim0  wwan0qcdm0  wwan0qmi0

Thanks,
SK

On Tue, Feb 8, 2022 at 10:40 AM Senthil Kumaresan <sekumarejobs at gmail.com>
wrote:

> Hi Aleksander,
>
> Thanks for your support. I am trying to backport the WWAN system for my
> kernel.
> Just a thought.  Is there any possibility that we make the modem manager
> know that there is no WWAN subsystem rather than use "/dev/mhi0_QMI"  to
> detect the modem?
>
> Thanks,
> Senthil
>
> On Mon, Feb 7, 2022 at 2:49 PM Senthil Kumaresan <sekumarejobs at gmail.com>
> wrote:
>
>> Hi Aleksander,
>>
>> Ok. Anyway, I am backporting the last mhi driver from Linux 5.15 to 4.19.
>> I have compiled the driver successfully and loaded it to the target.
>> The /dev/wwan0qmi0 is not there, because I did not take the
>> drivers/net/wwan directory. I need to take them and rebuild and see whether
>> the ModemManager is coming up or not.
>>
>> Thanks,
>> Senthil
>>
>> On Mon, Feb 7, 2022 at 2:42 PM Aleksander Morgado <
>> aleksander at aleksander.es> wrote:
>>
>>> Hey!
>>>
>>>
>>>> I did use the following driver that you have shared earlier. Is that
>>>> below not the correct one ? I have copied the below into my kernel which is
>>>> 4.19.
>>>>
>>>> ttps://github.com/kristrev/mhi-for-kernel-4.14
>>>> <https://github.com/kristrev/mhi-for-kernel-4.14>
>>>>
>>>>
>>> Oh, really? Does this mean that 4.14 backport doesn't have the WWAN
>>> subsystem support? I truly believed it would have had it, or so I was told
>>> by some dev team that had tested it. Sorry if that's not the case :/ If so,
>>> it would mean the backport from that repo isn't usable for MM. I have my
>>> own patch-by-patch backport to 5.4 including the wwan subsystem, but
>>> haven't tried to go back further yet, not sure how complex that would be to
>>> include everything for 4.14.
>>>
>>> Not sure if I'm missing something, but I definitely wouldn't have
>>> expected the mhi0_QMI port name.
>>>
>>> --
>>> Aleksander
>>> https://aleksander.es
>>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/modemmanager-devel/attachments/20220208/a0ef191c/attachment.htm>


More information about the ModemManager-devel mailing list