mmcli -m 0 -e command fails

Jan Graczyk JanG at nytec.com
Thu Mar 23 00:28:18 UTC 2017


Hello Aleksander,

I have attached a file with the logs from ModemManager --debug command.

Best Regards,
Jan Graczyk

-----Original Message-----
From: ModemManager-devel [mailto:modemmanager-devel-bounces at lists.freedesktop.org] On Behalf Of Aleksander Morgado
Sent: Wednesday, March 22, 2017 4:55 PM
To: Jan Graczyk <JanG at nytec.com>
Cc: modemmanager-devel at lists.freedesktop.org
Subject: Re: mmcli -m 0 -e command fails

Hey Jan,

On Thu, Mar 23, 2017 at 12:46 AM, Jan Graczyk <JanG at nytec.com> wrote:
> But there I another problem with mmcli ‘enable’ command. Here is the output:
>
>
>
> root at linaro-alip:~# mmcli -m 0
>
>
>
> /org/freedesktop/ModemManager1/Modem/0 (device id 'unknown')
>
>   -------------------------
>
>   Hardware |   manufacturer: 'unknown'
>
>            |          model: 'unknown'
>
>            |       revision: 'unknown'
>
>            |      supported: 'none'
>
>            |        current: 'none'
>
>            |   equipment id: 'unknown'
>

This is bad, it couldn't load any of the HW information.

>   -------------------------
>
>   System   |         device:
> '/sys/devices/soc0/soc/2100000.aips-bus/21ec000.serial'
>
>            |        drivers: 'imx-uart'
>
>            |         plugin: 'Generic'
>
>            |   primary port: 'ttymxc2'
>
>            |          ports: 'ttymxc2 (at)'
>
>   -------------------------
>
>   Numbers  |           own : 'unknown'
>
>   -------------------------
>
>   Status   |           lock: 'unknown'
>
>            | unlock retries: 'unknown'
>
>            |          state: 'unknown'
>
>            |    power state: 'unknown'
>
>            |    access tech: 'unknown'
>
>            | signal quality: '0' (cached)
>

Bad bad, there really wasn't anything loaded at all...

>   -------------------------
>
>   Modes    |      supported: 'allowed: any; preferred: none'
>
>            |        current: 'allowed: any; preferred: none'
>
>   -------------------------
>
>   Bands    |      supported: 'unknown'
>
>            |        current: 'unknown'
>
>   -------------------------
>
>   IP       |      supported: 'none'
>
>   -------------------------
>
>   SIM      |           path: 'none'
>
>
>
>   -------------------------
>
>   Bearers  |          paths: 'none'
>
>
>
> root at linaro-alip:~#
>
> root at linaro-alip:~#
>
> root at linaro-alip:~# mmcli -m 0 -e
>
> error: couldn't enable the modem:
> 'GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: Method Enable 
> is not implemented on interface org.freedesktop.ModemManager1.Modem'
>
> root at linaro-alip:~#
>
>
>
> Is that there is a problem with SIM card?

Not with the SIM card; not yet. Looks like the TTY replied only to AT probing and failed to reply to the remaining commands we sent to e.g.
query manufacturer or model; all that is before the SIM card can be used.

You'll need to run ModemManager daemon manually with --debug and grab all the debug logs while you reproduce the issue, see:
https://www.freedesktop.org/wiki/Software/ModemManager/Debugging/

--
Aleksander
https://aleksander.es
_______________________________________________
ModemManager-devel mailing list
ModemManager-devel at lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/modemmanager-devel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: console
Type: application/octet-stream
Size: 21990 bytes
Desc: console
URL: <https://lists.freedesktop.org/archives/modemmanager-devel/attachments/20170323/d7e15c3f/attachment-0001.obj>


More information about the ModemManager-devel mailing list