<div dir="ltr"><div class="gmail_default" style=""><font face="verdana, sans-serif">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".</font></div><div class="gmail_default" style=""><font face="verdana, sans-serif"><br></font></div><div class="gmail_default" style=""><font face="verdana, sans-serif"># udevadm info --query=all --name=wwan0qmi0<br>P: /devices/platform/800b0000.pcie3/pci0003:00/0003:00:00.0/0003:01:00.0/mhi0/wwan/wwan0/wwan0qmi0<br>N: wwan0qmi0<br>E: UDEV_LOG=3<br>E: DEVPATH=/devices/platform/800b0000.pcie3/pci0003:00/0003:00:00.0/0003:01:00.0/mhi0/wwan/wwan0/wwan0qmi0<br>E: MAJOR=247<br>E: MINOR=2<br>E: DEVNAME=/dev/wwan0qmi0<br>E: DEVTYPE=wwan_port<br>E: ID_MM_CANDIDATE=1<br>E: ID_MM_PORT_TYPE_QMI=1</font><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Feb 27, 2022 at 8:08 AM Senthil Kumaresan <<a href="mailto:sekumarejobs@gmail.com">sekumarejobs@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div><div id="gmail-m_-5529357570927723982composeWebView_editable_content" style="text-align:left"><div><span style="color:rgb(205,205,205);font-family:verdana,sans-serif">Hi Aleksander,</span></div><div><div style="color:rgb(205,205,205)"><font face="verdana, sans-serif"><br></font></div><div style="color:rgb(205,205,205)"><font face="verdana, sans-serif">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". </font></div><div style="color:rgb(205,205,205)"><font face="verdana, sans-serif">Any inputs will be appreciated.</font></div><div style="color:rgb(205,205,205)"><font face="verdana, sans-serif"><br></font></div><div style="color:rgb(205,205,205)"><font face="verdana, sans-serif">Here is the ModemManager logs. </font></div><div style="color:rgb(205,205,205)"><font face="verdana, sans-serif"><br></font></div><div style="color:rgb(205,205,205)"><font face="verdana, sans-serif"> ModemManager --debug --test-plugin-dir=/lib/<br></font></div><div style="color:rgb(205,205,205)"><font face="verdana, sans-serif">ModemManager[32336]: <info> [<span dir="ltr">000001804.523359</span>] ModemManager (version 1.18.4) starting in system bus...<br>ModemManager[32336]: <debug> [<span dir="ltr">000001804.523590</span>] [charsets] detecting platform iconv() support...<br>ModemManager[32336]: <debug> [<span dir="ltr">000001804.523750</span>] [charsets] UTF-8: iconv conversion to/from charset is supported<br>ModemManager[32336]: <debug> [<span dir="ltr">000001804.523797</span>] [charsets] UCS-2BE: iconv conversion to/from charset is supported<br>ModemManager[32336]: <debug> [<span dir="ltr">000001804.523835</span>] [charsets] ASCII: iconv conversion to/from charset is supported<br>ModemManager[32336]: <debug> [<span dir="ltr">000001804.523947</span>] [charsets] ISO8859-1: iconv conversion to charset not supported<br>ModemManager[32336]: <debug> [<span dir="ltr">000001804.523982</span>] [charsets] CP437: iconv conversion to charset not supported<br>ModemManager[32336]: <debug> [<span dir="ltr">000001804.524027</span>] [charsets] CP850: iconv conversion to charset not supported<br>ModemManager[32336]: <debug> [<span dir="ltr">000001804.524060</span>] [charsets] UTF-16BE: iconv conversion to charset not supported<br>ModemManager[32336]: <debug> [<span dir="ltr">000001804.535848</span>] Full suspend/resume hooks enabled<br>ModemManager[32336]: <debug> [<span dir="ltr">000001804.564635</span>] [sleep-monitor] singleton created<br>ModemManager[32336]: <debug> [<span dir="ltr">000001804.565733</span>] bus acquired, creating manager...<br>ModemManager[32336]: <debug> [<span dir="ltr">000001804.582630</span>] [auth-provider] singleton created<br>ModemManager[32336]: <debug> [<span dir="ltr">000001804.583108</span>] [filter] created<br>ModemManager[32336]: <debug> [<span dir="ltr">000001804.583159</span>] [filter] explicit whitelist: yes<br>ModemManager[32336]: <debug> [<span dir="ltr">000001804.583185</span>] [filter] explicit blacklist: yes<br>ModemManager[32336]: <debug> [<span dir="ltr">000001804.583209</span>] [filter] plugin whitelist: yes<br>ModemManager[32336]: <debug> [<span dir="ltr">000001804.583234</span>] [filter] qrtr devices allowed: yes<br>ModemManager[32336]: <debug> [<span dir="ltr">000001804.583258</span>] [filter] virtual devices forbidden: yes<br>ModemManager[32336]: <debug> [<span dir="ltr">000001804.583281</span>] [filter] net devices allowed: yes<br>ModemManager[32336]: <debug> [<span dir="ltr">000001804.583305</span>] [filter] usbmisc devices allowed: yes<br>ModemManager[32336]: <debug> [<span dir="ltr">000001804.583329</span>] [filter] rpmsg devices allowed: yes<br>ModemManager[32336]: <debug> [<span dir="ltr">000001804.583351</span>] [filter] wwan devices allowed: yes<br>ModemManager[32336]: <debug> [<span dir="ltr">000001804.583375</span>] [filter] tty devices:<br>ModemManager[32336]: <debug> [<span dir="ltr">000001804.583397</span>] [filter] platform driver check: yes<br>ModemManager[32336]: <debug> [<span dir="ltr">000001804.583420</span>] [filter] driver check: yes<br>ModemManager[32336]: <debug> [<span dir="ltr">000001804.583443</span>] [filter] cdc-acm interface check: yes<br>ModemManager[32336]: <debug> [<span dir="ltr">000001804.583467</span>] [filter] with net check: yes<br>ModemManager[32336]: <debug> [<span dir="ltr">000001804.583490</span>] [filter] default: forbidden<br>ModemManager[32336]: <debug> [<span dir="ltr">000001804.583596</span>] [plugin-manager] looking for plugins in '/lib/'<br>ModemManager[32336]: <debug> [<span dir="ltr">000001804.592629</span>] [plugin-manager] loaded plugin 'qcom-soc' from '/lib//libmm-plugin-qcom-soc.so'<br>ModemManager[32336]: <debug> [<span dir="ltr">000001804.592714</span>] [filter] registered plugin whitelist tag: ID_MM_QCOM_SOC<br>ModemManager[32336]: <debug> [<span dir="ltr">000001804.592933</span>] [plugin-manager] loaded plugin 'generic' from '/lib//libmm-plugin-generic.so'<br>ModemManager[32336]: <debug> [<span dir="ltr">000001804.593140</span>] [plugin-manager] loaded plugin 'foxconn' from '/lib//libmm-plugin-foxconn.so'<br>ModemManager[32336]: <debug> [<span dir="ltr">000001804.593186</span>] [filter] registered plugin whitelist vendor id: 0489<br>ModemManager[32336]: <debug> [<span dir="ltr">000001804.593213</span>] [filter] registered plugin whitelist vendor id: 105b<br><span style="background-color:rgb(46,33,0)">ModemManager[32336]: <debug> [<span dir="ltr">000001804.593237</span>] [filter] registered plugin whitelist vendor id: 17cb</span><br>ModemManager[32336]: <debug> [<span dir="ltr">000001804.593277</span>] [plugin-manager] successfully loaded 3 plugins registering 6 subsystems: wwan, rpmsg, net, qrtr, tty, usbmisc<br><span style="background-color:rgb(46,33,0)">ModemManager[32336]: <debug> [<span dir="ltr">000001804.615803</span>] service name 'org.freedesktop.ModemManager1' was acquired<br>ModemManager[32336]: <debug> [<span dir="ltr">000001804.615890</span>] [base-manager] starting automatic device scan...<br>ModemManager[32336]: <debug> [<span dir="ltr">000001804.638259</span>] [base-manager] finished device scan...<br>ModemManager[32336]: <debug> [<span dir="ltr">000001804.639406</span>] [wwan0] port contents loaded:<br>ModemManager[32336]: <debug> [<span dir="ltr">000001804.639465</span>] [wwan0] bus: pci<br>ModemManager[32336]: <debug> [<span dir="ltr">000001804.639495</span>] [wwan0] device: /sys/devices/platform/800b0000.pcie3/pci0003:00/0003:00:00.0/0003:01:00.0<br>ModemManager[32336]: <debug> [<span dir="ltr">000001804.639522</span>] [wwan0] driver: mhi-pci-generic<br>ModemManager[32336]: <debug> [<span dir="ltr">000001804.639546</span>] [wwan0] vendor: 17cb<br>ModemManager[32336]: <debug> [<span dir="ltr">000001804.639569</span>] [wwan0] product: 0308<br>ModemManager[32336]: <debug> [<span dir="ltr">000001804.639595</span>] [base-manager] adding port wwan0 at sysfs path: /sys/devices/platform/800b0000.pcie3/pci0003:00/0003:00:00.0/0003:01:00.0/mhi0/wwan/wwan0<br>ModemManager[32336]: <debug> [<span dir="ltr">000001804.639688</span>] [base-manager] port wwan0 not candidate</span><br>ModemManager[32336]: <debug> [<span dir="ltr">000001804.640764</span>] [wwan0mbim0] port contents loaded:<br>ModemManager[32336]: <debug> [<span dir="ltr">000001804.640802</span>] [wwan0mbim0] bus: pci<br>ModemManager[32336]: <debug> [<span dir="ltr">000001804.640826</span>] [wwan0mbim0] device: /sys/devices/platform/800b0000.pcie3/pci0003:00/0003:00:00.0/0003:01:00.0<br>ModemManager[32336]: <debug> [<span dir="ltr">000001804.640851</span>] [wwan0mbim0] driver: mhi-pci-generic<br>ModemManager[32336]: <debug> [<span dir="ltr">000001804.640876</span>] [wwan0mbim0] vendor: 17cb<br>ModemManager[32336]: <debug> [<span dir="ltr">000001804.640899</span>] [wwan0mbim0] product: 0308<br>ModemManager[32336]: <debug> [<span dir="ltr">000001804.640925</span>] [base-manager] adding port wwan0mbim0 at sysfs path: /sys/devices/platform/800b0000.pcie3/pci0003:00/0003:00:00.0/0003:01:00.0/mhi0/wwan/wwan0/wwan0mbim0<br>ModemManager[32336]: <debug> [<span dir="ltr">000001804.974465</span>] [base-manager] port wwan0mbim0 not candidate<br>ModemManager[32336]: <debug> [<span dir="ltr">000001804.975238</span>] [wwan0qcdm0] port contents loaded:<br>ModemManager[32336]: <debug> [<span dir="ltr">000001804.975278</span>] [wwan0qcdm0] bus: pci<br>ModemManager[32336]: <debug> [<span dir="ltr">000001804.975306</span>] [wwan0qcdm0] device: /sys/devices/platform/800b0000.pcie3/pci0003:00/0003:00:00.0/0003:01:00.0<br>ModemManager[32336]: <debug> [<span dir="ltr">000001804.975332</span>] [wwan0qcdm0] driver: mhi-pci-generic<br>ModemManager[32336]: <debug> [<span dir="ltr">000001804.975358</span>] [wwan0qcdm0] vendor: 17cb<br>ModemManager[32336]: <debug> [<span dir="ltr">000001804.975382</span>] [wwan0qcdm0] product: 0308<br>ModemManager[32336]: <debug> [<span dir="ltr">000001804.975408</span>] [base-manager] adding port wwan0qcdm0 at sysfs path: /sys/devices/platform/800b0000.pcie3/pci0003:00/0003:00:00.0/0003:01:00.0/mhi0/wwan/wwan0/wwan0qcdm0<br>ModemManager[32336]: <debug> [<span dir="ltr">000001804.975501</span>] [base-manager] port wwan0qcdm0 not candidate<br>ModemManager[32336]: <debug> [<span dir="ltr">000001804.976074</span>] [wwan0qmi0] port contents loaded:<br>ModemManager[32336]: <debug> [<span dir="ltr">000001804.976107</span>] [wwan0qmi0] bus: pci<br>ModemManager[32336]: <debug> [<span dir="ltr">000001804.976130</span>] [wwan0qmi0] device: /sys/devices/platform/800b0000.pcie3/pci0003:00/0003:00:00.0/0003:01:00.0<br>ModemManager[32336]: <debug> [<span dir="ltr">000001804.976156</span>] [wwan0qmi0] driver: mhi-pci-generic<br>ModemManager[32336]: <debug> [<span dir="ltr">000001804.976181</span>] [wwan0qmi0] vendor: 17cb<br>ModemManager[32336]: <debug> [<span dir="ltr">000001804.976204</span>] [wwan0qmi0] product: 0308<br>ModemManager[32336]: <debug> [<span dir="ltr">000001804.976229</span>] [base-manager] adding port wwan0qmi0 at sysfs path: /sys/devices/platform/800b0000.pcie3/pci0003:00/0003:00:00.0/0003:01:00.0/mhi0/wwan/wwan0/wwan0qmi0<br>ModemManager[32336]: <debug> [<span dir="ltr">000001804.976315</span>] [base-manager] port wwan0qmi0 not candidate<br>ModemManager[32336]: <debug> [<span dir="ltr">000001804.976688</span>] [wl0] port contents loaded:<br>ModemManager[32336]: <debug> [<span dir="ltr">000001804.976718</span>] [wl0] bus: pci<br>ModemManager[32336]: <debug> [<span dir="ltr">000001804.976741</span>] [wl0] device: /sys/devices/platform/80080000.pcie0/pci0000:00/0000:00:00.0/0000:01:00.0<br>ModemManager[32336]: <debug> [<span dir="ltr">000001804.976766</span>] [wl0] driver: pcieh<br>ModemManager[32336]: <debug> [<span dir="ltr">000001804.976788</span>] [wl0] vendor: 14e4<br>ModemManager[32336]: <debug> [<span dir="ltr">000001804.976811</span>] [wl0] product: 6715<br>ModemManager[32336]: <debug> [<span dir="ltr">000001804.976833</span>] [wl0] revision: 0002</font></div></div><div id="gmail-m_-5529357570927723982mail-app-auto-default-signature"><br><br>Sent from myMail for iOS<br></div><br><br>Wednesday, February 9, 2022, 11:13 AM -0500 from Senthil Kumaresan <<a href="mailto:sekumarejobs@gmail.com" target="_blank">sekumarejobs@gmail.com</a>>:<br><div id="gmail-m_-5529357570927723982composeWebView_previouse_content"><blockquote id="gmail-m_-5529357570927723982mail-app-auto-quote" style="border-left:1px solid rgb(253,65,76);margin:10px 0px 10px 5px;padding:0px 0px 0px 10px;display:inherit"><div>
<div>
<div id="gmail-m_-5529357570927723982style_16444232070000002735_BODY"><div><div dir="ltr"><div><font face="verdana, sans-serif">I am building the libgudev and due to the meson environment, I am stuck at the cross-compilation :(. </font></div><div><font face="verdana, sans-serif"><br></font></div><div><font face="verdana, sans-serif">libgudev-237 is forcefully making us compile using "meson" instead of "configure" and the ModemManager dependsdepends on libgudev-237. </font></div></div><br><div><div dir="ltr">On Wed, Feb 9, 2022 at 4:42 AM Aleksander Morgado <<a href="mailto:aleksander@aleksander.es" rel="noopener noreferrer" target="_blank">aleksander@aleksander.es</a>> wrote:<br></div><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><div style="font-family:monospace,monospace">Hey,<br></div></div><br><div><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><font face="verdana, sans-serif"><br></font></div><div><font face="verdana, sans-serif">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. </font></div><div><font face="verdana, sans-serif"><br></font></div><div><font face="verdana, sans-serif"><b>Note</b>: qmicli is working fine and the modem manager is built with --without-udev support. </font></div><div><br></div></div></blockquote><div><br></div><div><div style="font-family:monospace,monospace">If you build using --without-udev, then you're responsible for notifying the ports to the daemon using mmcli --report-kernel-event. I definitely suggest you build with udev support instead, as you're expecting the ports to be automatically detected.</div><br clear="all"></div></div><br>-- <br><div dir="ltr">Aleksander<br><a href="https://aleksander.es" rel="noopener noreferrer" target="_blank">https://aleksander.es</a></div></div>
</blockquote></div>
</div></div>
</div>
</div></blockquote></div></div></div>
</blockquote></div>