Re: Re[2]: Re[2]: Modem Manager bring up

2022-02-28 Thread Aleksander Morgado
Hey, On Mon, Feb 28, 2022 at 4:31 AM Senthil Kumaresan wrote: > > In addition to that, the udevadm info is indicating that "/dev/wwan0qmi0 port > is ID_MM_CANDIDATE=1 but the modem manager is still reporting that "Port > wwan0qmi0 not a candidate". > > # udevadm info --query=all --name=wwan0qmi

Re: Re[2]: Re[2]: Modem Manager bring up

2022-02-27 Thread Senthil Kumaresan
In addition to that, the udevadm info is indicating that "/dev/wwan0qmi0 port is ID_MM_CANDIDATE=1 but the modem manager is still reporting that "Port wwan0qmi0 not a candidate". # udevadm info --query=all --name=wwan0qmi0 P: /devices/platform/800b.pcie3/pci0003:00/0003:00:00.0/0003:01:00.0/mh

Re[2]: Re[2]: Modem Manager bring up

2022-02-27 Thread Senthil Kumaresan
Hi Aleksander, The udev/gudev is up in my system. I have merged the SDX 65 patches, Now the ModemManager is scanning the PCIe devices. However, the "mmcli -L" reported that "no modems were found".   Any inputs will be appreciated. Here is the ModemManager logs.   ModemManager --debug --test-p

Re: Re[2]: Modem Manager bring up

2022-02-09 Thread Aleksander Morgado
Hey, > After integrating the mhi drivers, wwan framework loaded the drivers and > it is up and running. However, ModemManager is not able to detect the > modem. Any hint/help is appreciated. Please throw some lights. > > *Note*: qmicli is working fine and the modem manager is built with > --witho

Re: Re[2]: Modem Manager bring up

2022-02-08 Thread Senthil Kumaresan
Hi Aleksander, After integrating the mhi drivers, wwan framework loaded the drivers and it is up and running. However, ModemManager is not able to detect the modem. Any hint/help is appreciated. Please throw some lights. *Note*: qmicli is working fine and the modem manager is built with --without

Re: Re[2]: Modem Manager bring up

2022-02-08 Thread Senthil Kumaresan
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* wwan

Re: Re[2]: Modem Manager bring up

2022-02-08 Thread Senthil Kumaresan
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 a

Re: Re[2]: Modem Manager bring up

2022-02-07 Thread Senthil Kumaresan
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

Re: Re[2]: Modem Manager bring up

2022-02-07 Thread Aleksander Morgado
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 > > > Oh, really? Does this mean tha

Re: Re[2]: Modem Manager bring up

2022-02-07 Thread Senthil Kumaresan
Hi Aleksander, 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 Thanks, SK On Mon, Feb 7, 2022 a

Re: Re[2]: Modem Manager bring up

2022-02-07 Thread Aleksander Morgado
Hey, > > > I have backported the driver and loaded it into my target. I could see the > following interfaces in the target/ > # ls -l /dev/mhi0_QMI > # ifconfig mhi_hw0 > > That doesn't look right to me; you should have gotten a /dev/wwan0qmi0 port instead. What driver did you backport? The ModemM

Re: Re[2]: Modem Manager bring up

2022-02-07 Thread Senthil Kumaresan
Hi Aleksander, I have backported the driver and loaded it into my target. I could see the following interfaces in the target/ # ls -l /dev/mhi0_QMI # ifconfig mhi_hw0 I have executed the qmicli and was able to reach the modem. However, the ModemManager is up but the modem is not getting detected.

Re[2]: Modem Manager bring up

2022-02-04 Thread Senthil Kumaresan
Ok got it. Thanks for your explanation and it is really helpful. I have taken 4.14 back ported driver. I will try and get back. Thanks for your support.  Sent from myMail for iOS Friday, February 4, 2022, 5:33 PM -0500 from Aleksander Morgado : >On Fri, Feb 4, 2022 at 11:19 PM Senthil Kuma

Re: Modem Manager bring up

2022-02-04 Thread Aleksander Morgado
On Fri, Feb 4, 2022 at 11:19 PM Senthil Kumaresan wrote: > > Ok, thanks for the clarification. > > So in our case, we need to write a new plugin as others (ex: Foxconn, quectel > etc). right? > If your device is exposed with the Qualcomm vendor vid; you can rely on the generic plugin to support

Re: Modem Manager bring up

2022-02-04 Thread Senthil Kumaresan
Ok, thanks for the clarification. So in our case, we need to write a new plugin as others (ex: Foxconn, quectel etc). right? On Fri, Feb 4, 2022 at 5:10 PM Aleksander Morgado wrote: > > > > Thanks for the clarification. I will check the wwan0 interfaces and > kernel drivers. > > > > My syste

Re: Modem Manager bring up

2022-02-04 Thread Aleksander Morgado
> > Thanks for the clarification. I will check the wwan0 interfaces and kernel > drivers. > > My system is like an ARM host -> PCIe - Qualcomm soc ( SDX modem module). I > hope, in such a case qcom-soc plugin is applicable. Am I right? > No, not applicable, your SDX55 module is an external devi

Re: Modem Manager bring up

2022-02-04 Thread Senthil Kumaresan
Hi Aleksander, Thanks for the clarification. I will check the wwan0 interfaces and kernel drivers. My system is like an *ARM host -> PCIe - Qualcomm soc *( SDX modem module). I hope, in such a case qcom-soc plugin is applicable. Am I right? Thanks, SK On Fri, Feb 4, 2022 at 4:47 PM Aleksander

Re: Modem Manager bring up

2022-02-04 Thread Aleksander Morgado
Hey, > > In addition to my previous emails. > The modem manager is not detecting any modems. Can you explain why the modem > is not getting probed?. The modem manager is up and running. However, mmcli > -L is not listing any modems. > > Thanks, > SK > > # ModemManager --debug --test-plugin-dir=/

Re: Modem Manager bring up

2022-02-04 Thread Aleksander Morgado
Hey, On Fri, Feb 4, 2022 at 10:07 PM Senthil Kumaresan wrote: > > The ModemManager 1.18.4 is built successfully for my arm platform with all > necessary DBUS, libqmi, > glib packages. I did compile ModemManager --with-udev support. I have a > Qualcomm SDX modem module > connected into my host a

Re: Modem Manager bring up

2022-02-04 Thread Senthil Kumaresan
Hi, In addition to my previous emails. The modem manager is not detecting any modems. Can you explain why the modem is not getting probed?. The modem manager is up and running. However, mmcli -L is not listing any modems. Thanks, SK # ModemManager --debug --test-plugin-dir=/lib/ ModemManager[70

Modem Manager bring up

2022-02-04 Thread Senthil Kumaresan
The ModemManager 1.18.4 is built successfully for my arm platform with all necessary DBUS, libqmi, glib packages. I did compile ModemManager --with-udev support. I have a Qualcomm SDX modem module connected into my host and it was detected and did see in /sys/bus/pci/xx. 1) is libudev mandatory fo