How to trace the communication with the modem?

Daniele Palmas dnlplm at gmail.com
Tue Nov 23 11:34:18 UTC 2021


Hi Juan,

Il giorno mar 23 nov 2021 alle ore 11:03 Aleksander Morgado
<aleksander at aleksander.es> ha scritto:
>
> Hey,
>
> >
> > I am trying to debug the reset sequence of my modem (I've posted today
> > a separate message about this).
> >
> > I was wondering if there is a way to trace the communication between
> > MM and the device, or perhaps between libqmi or the device to output
> > the content and translation of the QMI messages (or whatever is used
> > to talk to the modem)?
> >
>
> Yes, you can enable MM debug logs and have everything you need, see:
> https://modemmanager.org/docs/modemmanager/debugging/
>

If you are unable to have debug logs for a reason or another, you can
also collect an usbmon trace and use the proper dissector with
wireshark.

Regards,
Daniele

> --
> Aleksander
> https://aleksander.es


More information about the ModemManager-devel mailing list