Connect Cinterion modem with SWWAN fails with unknown error

Aleksander Morgado aleksander at aleksander.es
Thu Feb 14 11:19:49 UTC 2019


Hey,


> Give this a try (note this is just a hack to tmp disable the SWWAN feature & hopefully I get the ELS61 soon):
> Branched from 1.8.2:
>
> From 63f9ac8a0db1d8902dd7bef329f441ef4ea86c6b Mon Sep 17 00:00:00 2001
> From: Matt Stanger <stangerm2 at gmail.com>
> Date: Wed, 13 Feb 2019 20:18:00 -0700
> Subject: [PATCH] mm-bb-m-cinterion: Disable SWWAN support by returning from
>  check early
>
> ---
>  plugins/cinterion/mm-broadband-modem-cinterion.c | 3 +++
>  1 file changed, 3 insertions(+)
>
> diff --git a/plugins/cinterion/mm-broadband-modem-cinterion.c b/plugins/cinterion/mm-broadband-modem-cinterion.c
> index 0ca083ed..b9fd2220 100644
> --- a/plugins/cinterion/mm-broadband-modem-cinterion.c
> +++ b/plugins/cinterion/mm-broadband-modem-cinterion.c
> @@ -1779,6 +1779,9 @@ cinterion_modem_create_bearer (MMIfaceModem        *_self,
>          return;
>      }
>
> +    self->priv->swwan_support = FEATURE_NOT_SUPPORTED;

You need to call "common_create_bearer (task);" before the return here

> +    return;
> +
>      mm_dbg ("checking ^SWWAN support...");
>      mm_base_modem_at_command (MM_BASE_MODEM (self),
>                                "^SWWAN=?",
> --
> 2.17.1
>
>
> On Tue, Feb 12, 2019 at 4:43 AM Ana Rodriguez Lopez <rodrilopez.ana at gmail.com> wrote:
>>
>> Hi Mathew,
>>
>> thank you for contacting. Hopefully you will get the modem soon.
>>
>> In the meantime, I would appreciate if you send me the patch to turn off
>> SWWAN, this way we could see if it works without it.
>>
>>
>> Thank you,
>>
>> Ana
>>
>>
> _______________________________________________
> ModemManager-devel mailing list
> ModemManager-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/modemmanager-devel



-- 
Aleksander
https://aleksander.es


More information about the ModemManager-devel mailing list