Skip to contentSkip to conversation

USB: cdc-acm: add control line state quirk for Telit QCX216 modems

PATCH In review Daniele Palmas 2 participants 3 messages Oct 12 – Nov 5

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 USB: cdc-acm: add control line state quirk for Telit QCX216 modems

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.

---
 drivers/usb/class/cdc-acm.c | 12 ++++++++++++
 1 file changed, 12 insertions(+)
drivers/usb/class/cdc-acm.c +12 -0
index 0d3f815b2f1e..c07b21872d19 100644
@@ -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

Signature · 1 line
2.37.1
#1 lore raw
Sashiko has reviewed this patch and found no issues. It looks great!
Quoted 5 lines

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.

Sashiko has reviewed this patch and found no issues. It looks great!

Signature · 1 line
Sashiko AI review · https://sashiko.dev/#/patchset/[email protected]?part=1
#2 lore raw
In reply to Daniele Palmas

Hello,

Il giorno lun 12 ott 2026 alle ore 11:47 Daniele Palmas <[email protected]> ha scritto:

Quoted 7 lines

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.

---

Is there something to be fixed in this patch? Do you want me to resend?

Thanks,
Daniele

Quoted 31 lines
 drivers/usb/class/cdc-acm.c | 12 ++++++++++++
 1 file changed, 12 insertions(+)
drivers/usb/class/cdc-acm.c +12 -0
index 0d3f815b2f1e..c07b21872d19 100644
@@ -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