public inbox for ofono@lists.linux.dev
 help / color / mirror / Atom feed
From: "Benjamin B. Frost" <benjamin@geanix.com>
To: ofono@lists.linux.dev
Cc: sean@geanix.com, martin@geanix.com, denkenz@gmail.com,
	"Benjamin B. Frost" <benjamin@geanix.com>
Subject: [PATCH 1/3] udevng: support for EG916Q-GL using option driver.
Date: Tue, 10 Sep 2024 09:22:08 +0200	[thread overview]
Message-ID: <20240910072210.2618396-2-benjamin@geanix.com> (raw)
In-Reply-To: <20240910072210.2618396-1-benjamin@geanix.com>

add Quectel EG916Q-GL with product id 0x6007 to vendor list
---
 plugins/udevng.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/plugins/udevng.c b/plugins/udevng.c
index 1c56e2ea..f4266f39 100644
--- a/plugins/udevng.c
+++ b/plugins/udevng.c
@@ -1045,7 +1045,8 @@ static gboolean setup_quectel_usb(struct modem_info *modem)
 			mdm = info->devnode;
 			if (aux != NULL)
 				break;
-		} else if (g_strcmp0(info->interface, "255/255/255") == 0) {
+		} else if (g_strcmp0(info->interface, "255/255/255") == 0 ||
+				g_strcmp0(info->interface, "255/0/0") == 0) {
 			if (g_strcmp0(info->number, "02") == 0)
 				aux = info->devnode;
 			else if (g_strcmp0(info->number, "03") == 0)
@@ -2145,6 +2146,7 @@ static struct {
 	{ "samsung",	"option",	"04e8", "6889"	},
 	{ "samsung",	"kalmia"			},
 	{ "quectel",	"option",	"05c6", "9090"	},
+	{ "quectel",	"option",	"2c7c", "6007"	},
 	{ "quectelqmi",	"qmi_wwan",	"2c7c", "0121"	},
 	{ "quectelqmi",	"qcserial",	"2c7c", "0121"	},
 	{ "quectelqmi",	"qmi_wwan",	"2c7c", "0125"	},
-- 
2.34.1


  reply	other threads:[~2024-09-10  7:22 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-09-10  7:22 [PATCH 0/3] add support for Quectel EG916Q-GL Benjamin B. Frost
2024-09-10  7:22 ` Benjamin B. Frost [this message]
2024-09-10  7:22 ` [PATCH 2/3] quectel: support for EG916Q-GL Benjamin B. Frost
2024-09-10  7:22 ` [PATCH 3/3] atmodem: Support for Quectel EG916Q-GL modem Benjamin B. Frost
2024-09-11  1:00 ` [PATCH 0/3] add support for Quectel EG916Q-GL patchwork-bot+ofono

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240910072210.2618396-2-benjamin@geanix.com \
    --to=benjamin@geanix.com \
    --cc=denkenz@gmail.com \
    --cc=martin@geanix.com \
    --cc=ofono@lists.linux.dev \
    --cc=sean@geanix.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox