Hi Aleksander, I couldn't take debug logs on the system that shows the issue, but indeed I saw that MM waits 1s after each port is discovered: largely enough. So I am investigating more on the kernel driver or device bios direction.
Thank you for your help! Kind Regards, Giacinto On Fri, Nov 29, 2024 at 6:17 PM Aleksander Morgado <aleksander.morg...@gmail.com> wrote: > > Hey > > > > > I have an issue with MM startup. > > It seems that it starts communicating with the modem in the middle of > > the USB enumeration. > > My modem, ALAS5, has 4 cdc-acm ports and 1 cdc-mbim interface > > (including a /dev/cdc-wdmX port). > > Sometimes MM starts sending AT commands when only 2 ports are detected. > > It is a question of miiliseconds, maybe just of the cpu schedule. > > Ofono sets a guardtime of 1 second from the time the first device of > > the USB enumeration is detected. > > Would it be possible to have a similar mechanism in MM? Or is there > > already something? > > > > Can you please share a debug log? MM definitely waits more than a few > seconds before poking ports.