diff mbox series

[1/3] udevng: support for EG916Q-GL using option driver.

Message ID 20240910072210.2618396-2-benjamin@geanix.com (mailing list archive)
State Accepted
Commit ef867dce8f0170e22b0fa1e5595ce7127dc7239c
Headers show
Series add support for Quectel EG916Q-GL | expand

Commit Message

Benjamin B. Frost Sept. 10, 2024, 7:22 a.m. UTC
add Quectel EG916Q-GL with product id 0x6007 to vendor list
---
 plugins/udevng.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
diff mbox series

Patch

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"	},