]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
USB: cdc-acm: blacklist Heimann USB Appset device
authorHannu Hartikainen <hannu@hrtk.in>
Tue, 22 Jun 2021 14:14:54 +0000 (17:14 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 20 Jul 2021 14:15:39 +0000 (16:15 +0200)
commitc984eaeb01ce7c15d757b214ab90a7aabe4a72a8
treec1564a04e49f312e8bc097cf49e8bcd3f2c961ba
parentd654be97e1b679616e3337b871a9ec8f31a88841
USB: cdc-acm: blacklist Heimann USB Appset device

commit 4897807753e078655a78de39ed76044d784f3e63 upstream.

The device (32a7:0000 Heimann Sensor GmbH USB appset demo) claims to be
a CDC-ACM device in its descriptors but in fact is not. If it is run
with echo disabled it returns garbled data, probably due to something
that happens in the TTY layer. And when run with echo enabled (the
default), it will mess up the calibration data of the sensor the first
time any data is sent to the device.

In short, I had a bad time after connecting the sensor and trying to get
it to work. I hope blacklisting it in the cdc-acm driver will save
someone else a bit of trouble.

Signed-off-by: Hannu Hartikainen <hannu@hrtk.in>
Cc: stable <stable@vger.kernel.org>
Link: https://lore.kernel.org/r/20210622141454.337948-1-hannu@hrtk.in
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/class/cdc-acm.c