Connect Cinterion modem with SWWAN fails with unknown error
matthew stanger
stangerm2 at gmail.com
Thu Feb 14 15:33:41 UTC 2019
>
> You need to call "common_create_bearer (task);" before the return here
A true dark knight, thanks Aleksander!
Ana, try this instead:
>From 43c8870b7478f3e5ccdb70a3fc89edddcef96d67 Mon Sep 17 00:00:00 2001
From: Matthew Stanger <matthew_stanger at trimble.com>
Date: Thu, 14 Feb 2019 08:28:14 -0700
Subject: [PATCH] mm-bb-m-cinterion: Disable SWWAN support by returning from
check early
---
plugins/cinterion/mm-broadband-modem-cinterion.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/plugins/cinterion/mm-broadband-modem-cinterion.c
b/plugins/cinterion/mm-broadband-modem-cinterion.c
index 0ca083ed..01539807 100644
--- a/plugins/cinterion/mm-broadband-modem-cinterion.c
+++ b/plugins/cinterion/mm-broadband-modem-cinterion.c
@@ -1779,6 +1779,10 @@ cinterion_modem_create_bearer (MMIfaceModem
*_self,
return;
}
+ self->priv->swwan_support = FEATURE_NOT_SUPPORTED;
+ common_create_bearer (task);
+ return;
+
mm_dbg ("checking ^SWWAN support...");
mm_base_modem_at_command (MM_BASE_MODEM (self),
"^SWWAN=?",
--
2.19.1
On Thu, Feb 14, 2019 at 4:20 AM Aleksander Morgado <aleksander at aleksander.es>
wrote:
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/modemmanager-devel/attachments/20190214/1c03291c/attachment.html>
More information about the ModemManager-devel
mailing list