diff options
| author | Benjamin Tissoires <[email protected]> | 2014-09-23 16:08:08 +0000 |
|---|---|---|
| committer | Jiri Kosina <[email protected]> | 2014-10-01 07:11:23 +0000 |
| commit | 7704ac937345d4b502062952657027234aa86a37 (patch) | |
| tree | f74ae80b7e96d23da461256dde4ec1a57a7968af /lib/dynamic_debug.c | |
| parent | HID: wacom: move allocation of inputs earlier (diff) | |
| download | kernel-7704ac937345d4b502062952657027234aa86a37.tar.gz kernel-7704ac937345d4b502062952657027234aa86a37.zip | |
HID: wacom: implement generic HID handling for pen generic devices
ISDv4 and v5 are plain HID devices. We can directly implement a generic
HID parsing/handling and remove the need to manually add those PID in
the list of supported devices.
This patch implements the pen support only. The finger part will come in
a later patch.
To be properly notified of an .event() and a .report(), we need to force
hid-core to go through the HID parsing. By default, wacom.ko binds only
hidraw, so the hid parsing is not done by hid-core. When a true HID device
is there, we add the flag HID_CLAIMED_DRIVER to hid->claimed which will
force hid-core to parse the incoming reports.
(Note that this can be easily backported by directly setting the .claimed
flag to HID_CLAIMED_DRIVER even if hid-core does not support
HID_CONNECT_DRIVER)
Signed-off-by: Benjamin Tissoires <[email protected]>
Acked-by: Jason Gerecke <[email protected]>
Signed-off-by: Jiri Kosina <[email protected]>
Diffstat (limited to 'lib/dynamic_debug.c')
0 files changed, 0 insertions, 0 deletions
