Modem Manager 1.4.6 unable to bring up ModemManager

Dan Williams dcbw at redhat.com
Mon Apr 20 13:42:18 PDT 2015


On Mon, 2015-04-20 at 12:55 -0700, Ali Nematollahi wrote:
> I figured this one out finally!
> Just for those who have the same issues as me:
> After installing MM, I had to copy dbus rules from
> /usr/local/etc/dbus-1/system.d/ to /etc/dbus-1/system.d/
> 
> So far that seems to have done the trick...on to the next problem!

Yeah, or you can configure with --prefix=/usr and everything will go
there by default (of course, overwriting whatever ModemManager files
might already be in /usr).

Dan

> Thanks guys!
> 
> 
> 
> On Mon, Apr 20, 2015 at 12:21 PM, Ali Nematollahi <alirezan1 at gmail.com>
> wrote:
> 
> > Thanks So much!!
> > When I run it with Debug it give yet another error:
> >
> > root at beaglebone:/usr/share/dbus-1/system-services# whereis ModemManager
> > ModemManager: /usr/lib/ModemManager /usr/local/sbin/ModemManager
> > /usr/local/lib/ModemManager
> >  --debugglebone:/usr/share/dbus-1/system-services#
> > /usr/local/sbin/ModemManager
> > ModemManager[20872]: <info>  [946932082.197780] [main.c:140] main():
> > ModemManager (version 1.4.6) starting in system bus...
> > ModemManager[20872]: <debug> [946932082.239397] [main.c:65]
> > bus_acquired_cb(): Bus acquired, creating manager...
> > ModemManager[20872]: <debug> [946932082.247492] [mm-plugin-manager.c:852]
> > load_plugins(): Looking for plugins in '/usr/local/lib/ModemManager'
> > ModemManager[20872]: <debug> [946932082.253454] [mm-plugin-manager.c:877]
> > load_plugins(): Loaded plugin 'Cinterion'
> > ModemManager[20872]: <debug> [946932082.256459] [mm-plugin-manager.c:877]
> > load_plugins(): Loaded plugin 'Ericsson MBM'
> > ModemManager[20872]: <debug> [946932082.259415] [mm-plugin-manager.c:877]
> > load_plugins(): Loaded plugin 'Samsung'
> > ModemManager[20872]: <debug> [946932082.262156] [mm-plugin-manager.c:877]
> > load_plugins(): Loaded plugin 'Pantech'
> > ModemManager[20872]: <debug> [946932082.264930] [mm-plugin-manager.c:877]
> > load_plugins(): Loaded plugin 'Gobi'
> > ModemManager[20872]: <debug> [946932082.267773] [mm-plugin-manager.c:877]
> > load_plugins(): Loaded plugin 'Nokia (Icera)'
> > ModemManager[20872]: <debug> [946932082.270574] [mm-plugin-manager.c:877]
> > load_plugins(): Loaded plugin 'Via CBP7'
> > ModemManager[20872]: <debug> [946932082.273623] [mm-plugin-manager.c:877]
> > load_plugins(): Loaded plugin 'Sierra'
> > ModemManager[20872]: <debug> [946932082.276404] [mm-plugin-manager.c:877]
> > load_plugins(): Loaded plugin 'Wavecom'
> > ModemManager[20872]: <debug> [946932082.279314] [mm-plugin-manager.c:877]
> > load_plugins(): Loaded plugin 'Novatel'
> > ModemManager[20872]: <debug> [946932082.282130] [mm-plugin-manager.c:877]
> > load_plugins(): Loaded plugin 'MTK'
> > ModemManager[20872]: <debug> [946932082.285072] [mm-plugin-manager.c:877]
> > load_plugins(): Loaded plugin 'X22X'
> > ModemManager[20872]: <debug> [946932082.288170] [mm-plugin-manager.c:877]
> > load_plugins(): Loaded plugin 'Huawei'
> > ModemManager[20872]: <debug> [946932082.291098] [mm-plugin-manager.c:877]
> > load_plugins(): Loaded plugin 'Altair LTE'
> > ModemManager[20872]: <debug> [946932082.293975] [mm-plugin-manager.c:877]
> > load_plugins(): Loaded plugin 'Longcheer'
> > ModemManager[20872]: <debug> [946932082.296836] [mm-plugin-manager.c:877]
> > load_plugins(): Loaded plugin 'Option'
> > ModemManager[20872]: <debug> [946932082.299659] [mm-plugin-manager.c:877]
> > load_plugins(): Loaded plugin 'Generic'
> > ModemManager[20872]: <debug> [946932082.302487] [mm-plugin-manager.c:877]
> > load_plugins(): Loaded plugin 'SimTech'
> > ModemManager[20872]: <debug> [946932082.305692] [mm-plugin-manager.c:877]
> > load_plugins(): Loaded plugin 'Option High-Speed'
> > ModemManager[20872]: <debug> [946932082.308774] [mm-plugin-manager.c:877]
> > load_plugins(): Loaded plugin 'ZTE'
> > ModemManager[20872]: <debug> [946932082.311660] [mm-plugin-manager.c:877]
> > load_plugins(): Loaded plugin 'Linktop'
> > ModemManager[20872]: <debug> [946932082.314563] [mm-plugin-manager.c:877]
> > load_plugins(): Loaded plugin 'Motorola'
> > ModemManager[20872]: <debug> [946932082.317490] [mm-plugin-manager.c:877]
> > load_plugins(): Loaded plugin 'Novatel LTE'
> > ModemManager[20872]: <debug> [946932082.320581] [mm-plugin-manager.c:877]
> > load_plugins(): Loaded plugin 'Telit'
> > ModemManager[20872]: <debug> [946932082.324429] [mm-plugin-manager.c:877]
> > load_plugins(): Loaded plugin 'Nokia'
> > ModemManager[20872]: <debug> [946932082.327378] [mm-plugin-manager.c:877]
> > load_plugins(): Loaded plugin 'Iridium'
> > ModemManager[20872]: <debug> [946932082.330382] [mm-plugin-manager.c:877]
> > load_plugins(): Loaded plugin 'AnyDATA'
> > ModemManager[20872]: <debug> [946932082.331262] [mm-plugin-manager.c:902]
> > load_plugins(): Successfully loaded 27 plugins
> > ModemManager[20872]: <warn>  [946932082.337076] [main.c:105]
> > name_lost_cb(): Could not acquire the 'org.freedesktop.ModemManager1'
> > service name
> > ModemManager[20872]: <debug> [946932082.338030] [mm-base-manager.c:816]
> > set_property(): Stopping connection in object manager server
> > ModemManager[20872]: <info>  [946932082.347466] [main.c:191] main():
> > ModemManager is shut down
> >
> >
> > I googled a lot and found people were able to fix this issue by renaming
> > /usr/share/dbus-1/system-services/org.freedesktop.ModemManager1 (or in my
> > case /usr/local/share/dbus-1/system-services/org.freedesktop.ModemManager1)
> > to something else and I've tried that but it still doesn't work. I get the
> > exact same thing.
> >
> > I have no /etc/init.d/ModemManager. When I try to do:
> >
> > systemctl enable ModemManager
> > systemctl start ModemManager
> >
> > I get the error:
> > Failed to get D-Bus connection: No connection to service manager.
> >
> > Also, dbus and NM are both running.
> >
> > Any ideas?
> >
> > Thanks
> >
> > On Mon, Apr 20, 2015 at 2:27 AM, Aleksander Morgado <
> > aleksander at aleksander.es> wrote:
> >
> >> On Sat, Apr 18, 2015 at 5:40 AM, Ali Nematollahi <alirezan1 at gmail.com>
> >> wrote:
> >> > I am running debian wheezy 7.5 on an embedded target. Debian comes with
> >> > 0.5.2 but I need the Cinterion modem driver so I managed to compile and
> >> > install MM 1.4.6.
> >> > However, right off the bat, i'm running into problems. It seems to have
> >> > compiled and installed everything properly but there is no
> >> "modem-manager"
> >> > daemon executable. but mmcli is there and functional. When I try to run
> >> any
> >> > useful mmcli commands:
> >> >
> >> > mmcli -L
> >> >
> >> > for example, it comes back with an error that the daemon isn't running.
> >> > Also, when I install debian's default 0.5.2 along side 1.4.6 and
> >> install the
> >> > Cinterion plugin I compiled with 1.4.6, and run "modem-manager" it
> >> passes
> >> > over the Cinterion plugin with an error that it is not compatible.
> >> >
> >> > Any ideas why the 1.4.6 compile does not bring in modem-manager
> >> executable?
> >>
> >> It's called "ModemManager" in 1.x, not "modem-manager".
> >>
> >>
> >> --
> >> Aleksander
> >> https://aleksander.es
> >>
> >
> >
> _______________________________________________
> ModemManager-devel mailing list
> ModemManager-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/modemmanager-devel




More information about the ModemManager-devel mailing list