Could not acquire the 'org.freedesktop.ModemManager1' service name
Dan Williams
dcbw at redhat.com
Tue Mar 21 17:21:21 UTC 2017
On Tue, 2017-03-21 at 16:59 +0000, Jan Graczyk wrote:
> Hello Aleksander,
>
> The Queltec UC20 modem is sitting on my development board PCIe bus.
> When I issue the command udevadm info /dev/ttymxc2 I am getting
> response:
We care more about the parents though, so could you:
udevadm info --attribute-walk /sys/class/tty/ttymxc2
Dan
> root at linaro-alip:~# udevadm info /dev/ttymxc2
> P: /devices/soc0/soc/2100000.aips-bus/21ec000.serial/tty/ttymxc2
> N: ttymxc2
> E: DEVNAME=/dev/ttymxc2
> E: DEVPATH=/devices/soc0/soc/2100000.aips-
> bus/21ec000.serial/tty/ttymxc2
> E: ID_MM_CANDIDATE=1
> E: MAJOR=207
> E: MINOR=18
> E: SUBSYSTEM=tty
> E: TAGS=:systemd:
> E: USEC_INITIALIZED=8343793
>
> root at linaro-alip:~#
>
> Also the command mmcli -L reports: No modems were found. Do I need to
> create udev rule for this device? How the udev rule should look like
> for this device? Also after connecting to modem through Kermit I can
> issue AT command and see the mobile networks.
>
> Best Regards,
> Jan Graczyk
>
> This email message may contain confidential and privileged
> information. Any unauthorized use is prohibited. If you are not the
> intended recipient, please contact the sender by reply email and
> destroy all copies of the original message.
>
>
> -----Original Message-----
> From: Dan Williams [mailto:dcbw at redhat.com]
> Sent: Tuesday, March 21, 2017 9:41 AM
> To: Jan Graczyk <JanG at nytec.com>; Aleksander Morgado <aleksander at alek
> sander.es>
> Cc: modemmanager-devel at lists.freedesktop.org
> Subject: Re: Could not acquire the 'org.freedesktop.ModemManager1'
> service name
>
> On Tue, 2017-03-21 at 16:33 +0000, Jan Graczyk wrote:
> > Hello Aleksander,
> >
> > Thank you for your response. I have actually stopped running Modem
> > Manger and then I have issued the command ModemManager --debug.
> > This
> > time the service name was acquired. However I have got another
> > problem. The mm-base-manager.c:314 reports error device added():
> > (tty/ttymxc2): port's parent platform driver is not whitelisted.
> > Do
> > you know the solution for this problem? Thank you for your support.
>
> What is the device hooked up to on the machine itself? ModemManager
> does not usually auto-probe various platform drivers, because it
> cannot know that a modem is connected as these are not USB/PCI/etc
> and either do not provide device identifiers, or the device is a
> generic serial adapter which doesn't necessarily indicate a modem
> either (eg, it could have a UPS attached or something).
>
> So generally for these devices, if you have one you know what you are
> doing, and you can add a whitelist entry for it quite easily with
> udev rules. But let's confirm the details first.
>
> Dan
>
> > Best Regards,
> > Jan Graczyk
> >
> > This email message may contain confidential and privileged
> > information. Any unauthorized use is prohibited. If you are not
> > the
> > intended recipient, please contact the sender by reply email and
> > destroy all copies of the original message.
> >
> >
> > -----Original Message-----
> > From: Aleksander Morgado [mailto:aleksander at aleksander.es]
> > Sent: Tuesday, March 21, 2017 2:15 AM
> > To: Jan Graczyk <JanG at nytec.com>
> > Cc: modemmanager-devel at lists.freedesktop.org
> > Subject: Re: Could not acquire the 'org.freedesktop.ModemManager1'
> > service name
> >
> > On Tue, Mar 21, 2017 at 12:55 AM, Jan Graczyk <JanG at nytec.com>
> > wrote:
> > >
> > > I have installed Quectel UC20 modem on my development board PCIe
> > > bus. The Linux modem device for Quectel UC20 modem is showing up
> > > as
> > > /dev/ttymxc2. When I try to run mmcli -L or ModemManager –debug
> > > the
> > > message “Could not acquire the 'org.freedesktop.ModemManager1'
> > > service name” is showing up. How to connect my Linux modem device
> > > /dev/ttymxc2 to ModemManger? I appreciate very much help from
> > > you.
> >
> >
> > Do you have the DBus daemon running in your system? ModemManager
> > will
> > grab the "org.freedesktop.ModemManager1" name in the system bus
> > exposed by DBus; mmcli talks to ModemManager through that bus.
> >
> >
> > --
> > Aleksander
> > https://aleksander.es
> > _______________________________________________
> > ModemManager-devel mailing list
> > ModemManager-devel at lists.freedesktop.org
> > https://lists.freedesktop.org/mailman/listinfo/modemmanager-devel
More information about the ModemManager-devel
mailing list