AW: Run ModemManager in debug mode

Federico Murciano Federico.Murciano at dai-labor.de
Mon Dec 7 11:52:27 UTC 2020


?Hi,


you should run ModemManager as this I guess:


sudo ModemManager --debug


--
Federico Murciano
B.Sc. Telecommunications Engineer
federico.murciano at dai-labor.de<mailto:tobias.doersch at dai-labor.de>
Tel. +49 (0) 30/314 -74 025
Future in touch.
DAI-Labor
Technische Universität Berlin
Fakultät IV - Elektrotechnik & Informatik Sekretariat TEL 14 Ernst-Reuter-Platz 7
10587 Berlin, Germany

www.dai-labor.de<http://www.dai-labor.de/>

DAI-Labor - Distributed Artificial Intelligence Laboratory Chief Executive Director: Prof. Dr. Dr. h.c. Sahin Albayrak

________________________________
Von: ModemManager-devel <modemmanager-devel-bounces at lists.freedesktop.org> im Auftrag von NIKHIL PATIL <nikhilvp29 at gmail.com>
Gesendet: Montag, 7. Dezember 2020 11:18
An: Aleksander Morgado
Cc: ModemManager (development)
Betreff: Re: Run ModemManager in debug mode

Hi ,
 I tried to enable using    " mmcli -G DEBUG "  it come successfully enable debug logging level .
  but , when we run AT command using mmcli we are getting same error as before (error :- modemmanager should in debug mode ).
  how we can proceed on these ?

On Sun, Dec 6, 2020 at 1:17 PM Aleksander Morgado <aleksander at aleksander.es<mailto:aleksander at aleksander.es>> wrote:
Hey

>     After board boots we are changing the ModeManger.service as (ExecStart=/usr/sbin/ModemManager --debug)
> but that is not good practice.
>
>     How We can run ModemManager in debug mode while compiling yocto image itself ?
>     build platform = yocto

The --debug option gives you 2 things: debug log and AT command
support via the Command() API.

If it's a change you require always by default in all your builds, you
could patch the ModemManager recipe to modify the service file to add
the --debug.

If you need to enable the debug log only sometimes during runtime, you
could use "mmcli -G DEBUG" to change the daemon logging level.

If what you need is to unconditionally have AT command support via the
Command() API always, you can modify the ModemManager recipe to
configure the build with the --with-at-command-via-dbus option, that
will enable that API by default regardless of whether --debug is used
during runtime or not.

--
Aleksander
https://aleksander.es


More information about the ModemManager-devel mailing list