Skip to contentSkip to conversation

USB: cdc-acm: add support for Sagem Monetel ELC930

PATCH New Nicolas Saenz Julienne 1 participant 1 message Mar 15, 2016

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

PATCH v2 1/1 USB: cdc-acm: add support for Sagem Monetel ELC930

The Sagem Monetel ELC930 is a USB check reader, it provides an ACM serial iterface in order to communicate with it.

The USB device is missing all the ACM specific "extra" info on it's interface descriptor. Which seems be triggering the "Zero length descriptor references" error during the probe function. Adding the NO_UNION_NORMAL quirk solves the issue.

---
v2. Added a proper description

 drivers/usb/class/cdc-acm.c | 3 +++
 1 file changed, 3 insertions(+)
drivers/usb/class/cdc-acm.c +3 -0
index fa4e239..9831607 100644
@@ -1681,6 +1681,9 @@ static const struct usb_device_id acm_ids[] = {
 	{ USB_DEVICE(0x079b, 0x000f), /* BT On-Air USB MODEM */
 	.driver_info = NO_UNION_NORMAL, /* has no union descriptor */
 	},
+	{ USB_DEVICE(0x079b, 0x0088), /* SAGEM Monetel ELC930 */
+	.driver_info = NO_UNION_NORMAL, /* has no union descriptor */
+	},
 	{ USB_DEVICE(0x0ace, 0x1602), /* ZyDAS 56K USB MODEM */
 	.driver_info = SINGLE_RX_URB,
 	},
Signature · 1 line
2.5.0