aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hid/wacom_sys.c
diff options
context:
space:
mode:
authorJason Gerecke <killertofu@gmail.com>2017-11-10 11:50:00 -0800
committerJiri Kosina <jkosina@suse.cz>2017-11-21 13:04:35 +0100
commit99acedadde157a02b21761fd406ef7adc7615533 (patch)
tree879662a7a01241bf6b73b57a75fba91c4d56dfe8 /drivers/hid/wacom_sys.c
parentMerge branch 'for-linus' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/git/jikos/hid (diff)
downloadlinux-dev-99acedadde157a02b21761fd406ef7adc7615533.tar.xz
linux-dev-99acedadde157a02b21761fd406ef7adc7615533.zip
HID: wacom: Properly handle AES serial number and tool type
Current AES sensors relay tool type and serial number information with a different set of usages than those prescribed by the modern (i.e. MobileStudio Pro and newer) EMR tablet standard. To ensure the driver properly understands these usages, we modify them to be compatible. The identifying information is split across three consecutive fields: a 16-bit WACOM_HID_WT_SERIALNUMBER (which is more accurately described as WACOM_HID_WD_TOOLTYPE), a 32-bit HID_DG_TOOLSERIALNUMBER, and an 8-bit 0xFF000000 (which should be WACOM_HID_WD_SERIALHI). While we're at it, we also define proper min/max values since may may be undefined on some devices. 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/wacom_sys.c')
0 files changed, 0 insertions, 0 deletions