ModemManager 1.6.4 on Raspbian Stretch cannot acquire the 'org.freedesktop.ModemManager1' service name

Valens D'Silva valens.dsilva at revivalanalytics.com
Fri Apr 3 16:45:57 UTC 2020


Hi,

Not sure where to post this in the mailing list or the GitHub issues. Happy to repost it there if necessary 😊

I am trying to get a UART connected modem working with Modem Manager.

When I run ModemManager in Debug I get this error

Could not acquire the 'org.freedesktop.ModemManager1' service name

<info>  ModemManager (version 1.6.4) starting in system bus...
<debug> create MMSleepMonitor singleton (0x1990dc0)
<debug> Bus acquired, creating manager...
<debug> [plugin manager] looking for plugins in '/usr/lib/arm-linux-gnueabihf/ModemManager'
<debug> [plugin manager] loaded plugin 'Nokia'
<debug> [plugin manager] loaded plugin 'Altair LTE'
<debug> [plugin manager] loaded plugin 'AnyDATA'
<debug> [plugin manager] loaded plugin 'X22X'
<debug> [plugin manager] loaded plugin 'Pantech'
<debug> [plugin manager] loaded plugin 'Novatel'
<debug> [plugin manager] loaded plugin 'Option'
<debug> [plugin manager] loaded plugin 'Longcheer'
<debug> [plugin manager] loaded plugin 'ZTE'
<debug> [plugin manager] loaded plugin 'Sierra'
<debug> [plugin manager] loaded plugin 'Nokia (Icera)'
<debug> [plugin manager] loaded plugin 'Iridium'
<debug> [plugin manager] loaded plugin 'Dell'
<debug> [plugin manager] loaded plugin 'MTK'
<debug> [plugin manager] loaded plugin 'Samsung'
<debug> [plugin manager] loaded plugin 'SimTech'
<debug> [plugin manager] loaded plugin 'Thuraya'
<debug> [plugin manager] loaded plugin 'Huawei'
<debug> [plugin manager] loaded plugin 'Cinterion'
<debug> [plugin manager] loaded plugin 'Linktop'
<debug> [plugin manager] loaded plugin 'Motorola'
<debug> [plugin manager] loaded plugin 'Ericsson MBM'
<debug> [plugin manager] loaded plugin 'Sierra (legacy)'
<debug> [plugin manager] loaded plugin 'Novatel LTE'
<debug> [plugin manager] loaded plugin 'Via CBP7'
<debug> [plugin manager] loaded plugin 'Generic'
<debug> [plugin manager] loaded plugin 'Haier'
<debug> [plugin manager] loaded plugin 'Telit'
<debug> [plugin manager] loaded plugin 'Option High-Speed'
<debug> [plugin manager] loaded plugin 'Wavecom'
<debug> [plugin manager] successfully loaded 30 plugins
<warn>  Could not acquire the 'org.freedesktop.ModemManager1' service name
<debug> Stopping connection in object manager server
<info>  ModemManager is shut down

System Details:

Using a RPI Zero W
I'm on Raspbian Stretch i.e. 9

uname -a
Linux valensRpiZero 4.19.66+ #1253 Thu Aug 15 11:37:30 BST 2019 armv6l GNU/Linux

cat /etc/os-release
PRETTY_NAME="Raspbian GNU/Linux 9 (stretch)"
NAME="Raspbian GNU/Linux"
VERSION_ID="9"
VERSION="9 (stretch)"
VERSION_CODENAME=stretch
ID=raspbian
ID_LIKE=debian
HOME_URL="http://www.raspbian.org/"
SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"

I have confirmed ModemManger is running in system

sudo systemctl status ModemManager
● ModemManager.service - Modem Manager
   Loaded: loaded (/lib/systemd/system/ModemManager.service; enabled; vendor pre
   Active: active (running) since Thu 2020-04-02 18:43:04 MDT; 15h ago
Main PID: 265 (ModemManager)
   CGroup: /system.slice/ModemManager.service
           └─265 /usr/sbin/ModemManager

Apr 02 18:43:01 valensRpiZero systemd[1]: Starting Modem Manager...
Apr 02 18:43:01 valensRpiZero ModemManager[265]: <info>  ModemManager (version 1
Apr 02 18:43:04 valensRpiZero systemd[1]: Started Modem Manager.

I have googled the error and previously the files for /etc/dbus-1/system.d were not copied over in Raspbian but I have confirmed this also.

pi at valensRpiZero:/etc/dbus-1/system.d$ ls -l
total 112
-rw-r--r-- 1 root root  1144 Jan 23  2017 avahi-dbus.conf
-rw-r--r-- 1 root root  1630 Oct 20  2017 bluetooth.conf
-rw-r--r-- 1 root root   652 Oct  2  2017 dnsmasq.conf
-rw-r--r-- 1 root root  1375 May 20  2014 Mountall.Server.conf
-rw-r--r-- 1 root root   465 Nov  2  2018 nm-dispatcher.conf
-rw-r--r-- 1 root root  1180 Dec 19  2016 org.freedesktop.DisplayManager.conf
-rw-r--r-- 1 root root   947 Feb 17  2019 org.freedesktop.hostname1.conf
-rw-r--r-- 1 root root   937 Feb 17  2019 org.freedesktop.locale1.conf
-rw-r--r-- 1 root root 12499 Feb 17  2019 org.freedesktop.login1.conf
-rw-r--r-- 1 root root  9662 Nov 16  2016 org.freedesktop.ModemManager1.conf
-rw-r--r-- 1 root root  1604 Feb 17  2019 org.freedesktop.network1.conf
-rw-r--r-- 1 root root  9166 Nov  2  2018 org.freedesktop.NetworkManager.conf
-rw-r--r-- 1 root root  1331 May  4  2018 org.freedesktop.PackageKit.conf
-rw-r--r-- 1 root root   632 Dec  6  2018 org.freedesktop.PolicyKit1.conf
-rw-r--r-- 1 root root   953 Feb 17  2019 org.freedesktop.resolve1.conf
-rw-r--r-- 1 root root 11898 Feb 17  2019 org.freedesktop.systemd1.conf
-rw-r--r-- 1 root root   947 Feb 17  2019 org.freedesktop.timedate1.conf
-rw-r--r-- 1 root root   525 Nov 25  2016 org.freedesktop.UDisks2.conf
-rw-r--r-- 1 root root  1513 Feb 28  2019 wpa_supplicant.conf


Any help is greatly appreciated.

Thanks,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/modemmanager-devel/attachments/20200403/0f36bf78/attachment-0001.htm>


More information about the ModemManager-devel mailing list