]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
cdc-acm: Add support for Denso cradle CU-321
authorBjörn Gerhart <oss@airbjorn.de>
Wed, 18 Feb 2015 06:19:44 +0000 (07:19 +0100)
committerJiri Slaby <jslaby@suse.cz>
Thu, 12 Mar 2015 16:31:25 +0000 (17:31 +0100)
commite3bc11535cdd5e26a162dbc280c2e062b7749254
tree30057dd24e4e814ebc64c14a78bcc922d356d1b4
parent95353e3525c5eb75881dc4ab7690541fb2c1776e
cdc-acm: Add support for Denso cradle CU-321

commit b20b1618b8fca858c83e52da4aa22cd6b13b0359 upstream.

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 <oss@airbjorn.de>
Acked-by: Oliver Neukum <oneukum@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
drivers/usb/class/cdc-acm.c