diff options
author | Jason Gerecke <killertofu@gmail.com> | 2016-04-04 20:26:52 +0200 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2016-04-05 17:20:32 +0200 |
commit | 326ea2a90500fe4add86c5fb95d914d46910e780 (patch) | |
tree | 4bdfcb4a4b6f4f249399cb006d99c9042f34503b /drivers/hid/hid-microsoft.c | |
parent | HID: wacom: Initialize hid_data.inputmode to -1 (diff) | |
download | linux-326ea2a90500fe4add86c5fb95d914d46910e780.tar.xz 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/hid-microsoft.c')
0 files changed, 0 insertions, 0 deletions