mmcli -m 0 -e command fails
Aleksander Morgado
aleksander at aleksander.es
Wed Mar 22 23:54:36 UTC 2017
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
More information about the ModemManager-devel
mailing list