org.freedesktop.libmbim.Error.Status.Failure: Failure

Dan Williams dan at ioncontrol.co
Wed Apr 2 01:59:55 UTC 2025


Hi,

Could you run:

mmcli —set-logging=debug

And then retry the connection attempt?

Then grab the service logs and scrub them for information you don’t want public. You could also just send them to me privately.

The debug logs will show more information about why the connection fails.

Thanks,
Dan

> On Apr 1, 2025, at 7:59 PM, Hugo Osvaldo Barrera <hugo at whynothugo.nl> wrote:
> 
> I'm using a Quectel EM05-CE, and trying to connect via simple connect
> using:
> 
>    doas mmcli -m 0 --simple-connect="pin=1234,profile-id=1"
> 
> This fails with a rather opaque error message:
> 
>    error: couldn't connect the modem: 'GDBus.Error:org.freedesktop.libmbim.Error.Status.Failure: Failure'
> 
> The service itself logs:
> 
>    <msg> [modem0] simple connect started... 
>    <msg> [modem0] simple connect state (6/10): register 
>    <msg> [modem0] simple connect state (7/10): wait to get packet service state attached 
>    <msg> [modem0] simple connect state (8/10): bearer 
>    <msg> [modem0] simple connect state (9/10): connect 
>    <msg> [modem0] state changed (registered -> connecting) 
>    <wrn> [modem0/bearer0] connection attempt #2 failed: Failure 
>    <msg> [modem0] state changed (connecting -> registered) 
>    <msg> [modem0/bearer0] connection #2 finished: duration 0s 
>    <wrn> [modem0] couldn't connect bearer: Failure 
> 
> I'm using modemmanager-1.22.0-r2 on Alpine Linux on x86_64. Any idea how
> to further debug the issue?
> 
> The following is the output of mmcli -m 0
> 
>  --------------------------------
>  General  |                 path: /org/freedesktop/ModemManager1/Modem/0
>           |            device id: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
>  --------------------------------
>  Hardware |         manufacturer: Quectel
>           |                model: Quectel EM05-CE
>           |    firmware revision: EM05CEFCR08A13M1G_LNV
>           |         h/w revision: QUECTEL Mobile Broadband Modul
>           |            supported: gsm-umts, lte
>           |              current: gsm-umts, lte
>           |         equipment id: XXXXXXXXXXXXXXX
>  --------------------------------
>  System   |               device: /sys/devices/pci0000:00/0000:00:14.0/usb3/3-2
>           |              physdev: /sys/devices/pci0000:00/0000:00:14.0/usb3/3-2
>           |              drivers: cdc_mbim
>           |               plugin: quectel
>           |         primary port: cdc-wdm0
>           |                ports: cdc-wdm0 (mbim), wwan0 (net)
>  --------------------------------
>  Status   |                 lock: sim-pin2
>           |       unlock retries: sim-pin2 (5)
>           |                state: registered
>           |          power state: on
>           |          access tech: lte
>           |       signal quality: 22% (recent)
>  --------------------------------
>  Modes    |            supported: allowed: 2g, 3g, 4g; preferred: none
>           |              current: allowed: 2g, 3g, 4g; preferred: none
>  --------------------------------
>  IP       |            supported: ipv4, ipv6, ipv4v6
>  --------------------------------
>  3GPP     |                 imei: XXXXXXXXXXXXXXX
>           |        enabled locks: sim, fixed-dialing
>           |          operator id: 20408
>           |        operator name: Youfone
>           |         registration: home
>           | packet service state: attached
>  --------------------------------
>  SIM      |     primary sim path: /org/freedesktop/ModemManager1/SIM/0
>  --------------------------------
>  Bearer   |                paths: /org/freedesktop/ModemManager1/Bearer/0
> 
> Thanks,
> 
> -- 
> Hugo
> 
> 
> 



More information about the ModemManager-devel mailing list