Linux USB
 help / color / mirror / Atom feed
* [PATCH 1/1] USB: cdc-acm: add control line state quirk for Telit QCX216 modems
@ 2026-10-12  9:27 Daniele Palmas
  2026-10-12  9:52 ` sashiko-bot
  0 siblings, 1 reply; 2+ messages in thread
From: Daniele Palmas @ 2026-10-12  9:27 UTC (permalink / raw)
  To: Oliver Neukum, Greg Kroah-Hartman; +Cc: linux-usb, Daniele Palmas

Add control line state quirk for the diagnostic port of the compositions
exposed by Telit QCX216-based modems, since the control line state
requests prevent the modem from sending the diagnostic data.

Signed-off-by: Daniele Palmas <dnlplm@gmail.com>
---
 drivers/usb/class/cdc-acm.c | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/drivers/usb/class/cdc-acm.c b/drivers/usb/class/cdc-acm.c
index 0d3f815b2f1e..c07b21872d19 100644
--- a/drivers/usb/class/cdc-acm.c
+++ b/drivers/usb/class/cdc-acm.c
@@ -2039,6 +2039,18 @@ static const struct usb_device_id acm_ids[] = {
 	{ USB_DEVICE(0x1bc7, 0x0023), /* Telit 3G ACM + ECM composition */
 	.driver_info = SEND_ZERO_PACKET,
 	},
+	{ USB_DEVICE_INTERFACE_NUMBER(0x1bc7, 0x7020, 4), /* Telit LE910Q1 (RNDIS) diag port */
+	.driver_info = QUIRK_CONTROL_LINE_STATE,
+	},
+	{ USB_DEVICE_INTERFACE_NUMBER(0x1bc7, 0x7021, 4), /* Telit LE910Q1 (ECM) diag port */
+	.driver_info = QUIRK_CONTROL_LINE_STATE,
+	},
+	{ USB_DEVICE_INTERFACE_NUMBER(0x1bc7, 0x7028, 4), /* Telit LE310Q1 (RNDIS) diag port */
+	.driver_info = QUIRK_CONTROL_LINE_STATE,
+	},
+	{ USB_DEVICE_INTERFACE_NUMBER(0x1bc7, 0x7029, 4), /* Telit LE310Q1 (ECM) diag port */
+	.driver_info = QUIRK_CONTROL_LINE_STATE,
+	},
 
 	/* Exclude Goodix Fingerprint Reader */
 	{ USB_DEVICE(0x27c6, 0x5395),

base-commit: a90ee4305c4a5df72c11b31dacfdc76e00fcf78a
-- 
2.37.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-10-12  9:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-10-12  9:27 [PATCH 1/1] USB: cdc-acm: add control line state quirk for Telit QCX216 modems Daniele Palmas
2026-10-12  9:52 ` sashiko-bot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox