diff options
author | Jason Gerecke <killertofu@gmail.com> | 2016-04-04 11:26:52 -0700 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2016-04-05 17:20:32 +0200 |
commit | 326ea2a90500fe4add86c5fb95d914d46910e780 (patch) | |
tree | 4bdfcb4a4b6f4f249399cb006d99c9042f34503b /drivers/hid/uhid.c | |
parent | c6fa1aeba02111ed8676494ac7cd453a03efef3c (diff) | |
download | talos-op-linux-326ea2a90500fe4add86c5fb95d914d46910e780.tar.gz talos-op-linux-326ea2a90500fe4add86c5fb95d914d46910e780.zip |
HID: wacom: Support switching from vendor-defined device mode on G9 and G11
A tablet PC booted into Windows may have its pen/touch hardware switched
into "Wacom mode" similar to what we do with explicitly-supported hardware.
Some devices appear to maintain this state across reboots, preventing their
use with the generic HID driver. This patch adds support for detecting the
presence of the mode switch feature report used by devices based on the G9
and G11 chips and has the HID codepath always attempt to reset the device
back to sending standard HID reports.
Fixes: https://sourceforge.net/p/linuxwacom/bugs/307/
Fixes: https://sourceforge.net/p/linuxwacom/bugs/310/
Fixes: https://github.com/linuxwacom/input-wacom/issues/15
Co-authored-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: Jason Gerecke <jason.gerecke@wacom.com>
Reviewed-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid/uhid.c')
0 files changed, 0 insertions, 0 deletions