Skip to content

Commit b20b161

Browse files
Björn Gerhartgregkh
authored andcommitted
cdc-acm: Add support for Denso cradle CU-321
In order to support an older USB cradle by Denso, I added its vendor- and product-ID to the array of usb_device_id acm_ids. In this way cdc-acm feels responsible for this cradle. The related /dev/ttyACM node is being created properly, and the data transfer works. However, later cradle models by Denso do have proper descriptors, so the patch is not required for these. At the same time both the older and the later model have the same vendor- and product-ID, but they both work with the patched driver. Declaration of the Denso cradles I tested: - both models have the same IDs: vendorID 0x076d, productID 0x0006 - older model: Denso CU-321 (descriptors not properly set) - later model: Denso CU-821 (with proper descriptors) Signed-off-by: Bjoern Gerhart <[email protected]> Acked-by: Oliver Neukum <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent ec37132 commit b20b161

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

drivers/usb/class/cdc-acm.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1650,6 +1650,8 @@ static int acm_reset_resume(struct usb_interface *intf)
16501650

16511651
static const struct usb_device_id acm_ids[] = {
16521652
/* quirky and broken devices */
1653+
{ USB_DEVICE(0x076d, 0x0006), /* Denso Cradle CU-321 */
1654+
.driver_info = NO_UNION_NORMAL, },/* has no union descriptor */
16531655
{ USB_DEVICE(0x17ef, 0x7000), /* Lenovo USB modem */
16541656
.driver_info = NO_UNION_NORMAL, },/* has no union descriptor */
16551657
{ USB_DEVICE(0x0870, 0x0001), /* Metricom GS Modem */

0 commit comments

Comments
 (0)