Hey! > > Maybe you could add an additional patch in your system build in order > > to e.g. add some specific log on MM daemon boot or something? Just to > > make sure the build is picking your patches. > > Before I do that, please check the following. I saw the following line in > your patch: > mm_dbg ("(Huawei) %s interface description: %s", mm_port_probe_get_port_name > (probe), description); > > So I checked if something like 'interface description' is found > either in the debug log or in the binary libraries. With the > image I built recently (creating the debug logs I attached to > my last mail) I did not find this string. > > Now I have rebuilt the image from scratch after deleting my Yocto > build directory and I installed it. Look at this command line: > root@a1f0e27:/usr/lib/ModemManager# strings libmm-plugin-huawei.so | grep > 'interface description:' > (Huawei) %s interface description: %s > > Tell me if I am wrong, but my impression is that at least the huawei > plugin should be up to date this time. > > The modem is online since one hour now, I will wait and see if that > changes. > > I have attached the new debug logs to this mail. Could you check if > anything is in there that tells us whether the patch is correctly built? > > If not, it would be great to have some more advice regarding where to put > additional debug log statements. >
Ok, I believe my patch is ok, and I believe i know why. The new logic I wrote would only be used if GETPORTMODE isn't supported, and in your case, the command does return OK, even if it contains no info about the ports: ModemManager[8302]: <debug> [1579527760.447338] (ttyUSB1): --> 'AT^GETPORTMODE<CR>' ModemManager[8302]: <debug> [1579527761.852675] (ttyUSB1): <-- '<CR><LF>^GETPORTMODE: TYPE: WCDMA: Huawei Technologies Co., Ltd.,<CR><LF><CR><LF>OK<CR><LF>' I need to improve my patch in order to handle this case, will let you know once I have it :) Thanks for testing! -- Aleksander https://aleksander.es _______________________________________________ ModemManager-devel mailing list ModemManager-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/modemmanager-devel