Skip to contentSkip to conversation

gemalto: enable ELS81x modem

PATCH In review Sergey Matyukevich 2 participants 4 messages Jun 27, 2020 – Jun 29, 2020

lore
Share & tools
lore
#0 lore raw

cover gemalto: enable ELS81x modem

Hi all,

These two simple patches enable oFono support for ELS81x modem using cdc_ether/cdc_acm drivers. As far as I know, new firmwares for ELS81x enable support for MBIM as well. But I have not yet tried that.

Regards,
Sergey

Sergey Matyukevich (2):
plugins: udevng: detect Centirion ELS81x modem
plugins: gemalto: enable LTE for ELS81x

 plugins/gemalto.c | 5 ++++-
 plugins/udevng.c  | 2 ++
 2 files changed, 6 insertions(+), 1 deletion(-)
Signature · 1 line
2.27.0
#1 lore raw

PATCH 1/2 plugins: udevng: detect Centirion ELS81x modem

Enable detection of Centirion ELS81x modem.

---
 plugins/udevng.c | 2 ++
 1 file changed, 2 insertions(+)
plugins/udevng.c +2 -0
index 4a38621b..30597d2c 100644
@@ -1807,6 +1807,8 @@ static struct {
 	{ "gemalto",	"qmi_wwan",	"1e2d",	"0053"	},
 	{ "gemalto",	"cdc_acm",	"1e2d",	"0061"	},
 	{ "gemalto",	"cdc_ether",	"1e2d",	"0061"	},
+	{ "gemalto",	"cdc_acm",	"1e2d",	"005b"	},
+	{ "gemalto",	"cdc_ether",	"1e2d",	"005b"	},
 	{ "telit",	"cdc_ncm",	"1bc7", "0036"	},
 	{ "telit",	"cdc_acm",	"1bc7", "0036"	},
 	{ "xmm7xxx",	"cdc_acm",	"8087"		},
Signature · 1 line
2.27.0
#2 lore raw

PATCH 2/2 plugins: gemalto: enable LTE for ELS81x

In reply to Sergey Matyukevich

Enable LTE atom for Cinterion ELS81x modems.

---
 plugins/gemalto.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
plugins/gemalto.c +4 -1
index 297aaea3..13950742 100644
@@ -58,6 +58,8 @@
 #define GEMALTO_MODEL_PHS8P	"0053"
 /* ALS3, PLS8-E, and PLS8-X family */
 #define GEMALTO_MODEL_ALS3_PLS8x	"0061"
+/* ELS81 modem */
+#define GEMALTO_MODEL_ELS81x   "005b"
 
 static const char *none_prefix[] = { NULL };
 static const char *sctm_prefix[] = { "^SCTM:", NULL };
@@ -601,7 +603,8 @@ static void gemalto_post_sim(struct ofono_modem *modem)
 
 	ofono_ussd_create(modem, 0, "atmodem", data->app);
 
-	if (!g_strcmp0(model, GEMALTO_MODEL_ALS3_PLS8x))
+	if (!g_strcmp0(model, GEMALTO_MODEL_ALS3_PLS8x) ||
+	    !g_strcmp0(model, GEMALTO_MODEL_ELS81x))
 		ofono_lte_create(modem, OFONO_VENDOR_GEMALTO,
 						"atmodem", data->app);
 }
Signature · 1 line
2.27.0
#3 lore raw
In reply to Sergey Matyukevich

Hi Sergey,

Quoted 9 lines · Sergey Matyukevich

Hi all,

These two simple patches enable oFono support for ELS81x modem using cdc_ether/cdc_acm drivers. As far as I know, new firmwares for ELS81x enable support for MBIM as well. But I have not yet tried that.

Regards,
Sergey

Quoted 8 lines

Sergey Matyukevich (2):
plugins: udevng: detect Centirion ELS81x modem
plugins: gemalto: enable LTE for ELS81x

  plugins/gemalto.c | 5 ++++-
  plugins/udevng.c  | 2 ++
  2 files changed, 6 insertions(+), 1 deletion(-)

All applied, thanks.

Regards,
-Denis