Debugging the ModemManager

99 views
Skip to first unread message

Carlo Lobrano

unread,
Sep 20, 2021, 10:32:30 AM9/20/21
to Chromium OS Development
Hello,

I built ChromiumOS from sources in a live usb to verify some mobile modems support, and run into some issues with Modemmanager being stuck and unreachable from command line tools (either mmcli and ChromiumOS scripts), but I could not find the ModemManager logs anywhere under /var/log nor in dmesg.

Could anyone point me in the right direction?

Thanks in advance,
Carlo

Brian Norris

unread,
Sep 20, 2021, 1:08:39 PM9/20/21
to Carlo Lobrano, Chromium OS Development

--
--
Chromium OS Developers mailing list: chromiu...@chromium.org
View archives, change email options, or unsubscribe:
https://groups.google.com/a/chromium.org/group/chromium-os-dev

Andrew Lassalle

unread,
Sep 20, 2021, 1:56:53 PM9/20/21
to Brian Norris, Carlo Lobrano, Chromium OS Development
running ModemManager with debug logging will be helpful while you test your changes:
Either start it manually in debug mode:
  restart modemmanager MM_LOGLEVEL=DEBUG

or change `env MM_LOGLEVEL=INFO` to `env MM_LOGLEVEL=DEBUG`  in the file /etc/init/modemmanager.conf. You will need to do this every time you deploy ModemManager 

Carlo Lobrano

unread,
Sep 21, 2021, 10:01:14 AM9/21/21
to Chromium OS Development, andrewl...@chromium.org, Carlo Lobrano, Chromium OS Development, Brian Norris
thanks all

indeed net.log is the right place. I probably case sensitive grep-ed the all /var/log directory with pattern "modemmanager" and not "ModemManager", so I could not find it.

Best regards,
Carlo
Reply all
Reply to author
Forward
0 new messages