modemmanager how to test

Aleksander Morgado aleksander at lanedo.com
Fri Aug 24 06:04:48 PDT 2012


> 
> Compling is nice.
> But I don't know how to start.
> 
> /usr/local/sbin/ModemManager
> ModemManager[2142]: <info>  ModemManager (version 0.7.0) starting...
> ModemManager[2142]: <warn>  Could not acquire the
> 'org.freedesktop.ModemManager1' service name
> 
> thomas at hpmini:~> LANG=C mmcli --simple-status
> error: couldn't create manager: Error calling StartServiceByName for
> org.freedesktop.ModemManager1: Timeout was reached
> thomas at hpmini:~> thomas at ahorn:~>
> 
> 
> 
> 
> I have no experience how to test with dbus services.
> 
> May be somebody has a hint or a link for good documentation.
> 


To run the daemon you can just run:
$> sudo /usr/sbin/ModemManager --debug

If you get the error about not being able to acquire the name, probably
you already have one running in the background; just make sure you don't
have one before launching it again:
$> sudo killall -9 ModemManager

Then, for mmcli, there's no real documentation apart from the --help-all
output...

-- 
Aleksander


More information about the libqmi-devel mailing list