diff options
author | Jason Gerecke <killertofu@gmail.com> | 2018-10-10 13:40:26 -0700 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2018-10-11 14:32:01 +0200 |
commit | 11db8173dbab7a94cf5ba5225fcedbfc0f3b7e54 (patch) | |
tree | 730cbdfdd394e42c10ee407b5a45450f4b2f80a6 /drivers/hid/hid-quirks.c | |
parent | 14f39921c906357391d634864d627c7bf8a18c30 (diff) | |
download | blackbird-obmc-linux-11db8173dbab7a94cf5ba5225fcedbfc0f3b7e54.tar.gz blackbird-obmc-linux-11db8173dbab7a94cf5ba5225fcedbfc0f3b7e54.zip |
HID: wacom: Work around HID descriptor bug in DTK-2451 and DTH-2452
The DTK-2451 and DTH-2452 have a buggy HID descriptor which incorrectly
contains a Cintiq-like report, complete with pen tilt, rotation, twist, serial
number, etc. The hardware doesn't actually support this data but our driver
duitifully sets up the device as though it does. To ensure userspace has a
correct view of devices without updated firmware, we clean up this incorrect
data in wacom_setup_device_quirks.
We're also careful to clear the WACOM_QUIRK_TOOLSERIAL flag since its presence
causes the driver to wait for serial number information (via
wacom_wac_pen_serial_enforce) that never comes, resulting in
the pen being non-responsive.
Signed-off-by: Jason Gerecke <jason.gerecke@wacom.com>
Fixes: 8341720642 ("HID: wacom: Queue events with missing type/serial data for later processing")
Cc: stable@vger.kernel.org # v4.16+
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid/hid-quirks.c')
0 files changed, 0 insertions, 0 deletions