diff options
author | Przemo Firszt <przemo@firszt.eu> | 2012-02-24 08:47:48 -0500 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2012-02-27 09:29:07 -0500 |
commit | 2c653e6bac85918ae76ed0199f25fb6a2206b92d (patch) | |
tree | 5b601517c5eb8ebd4199fcfe692deea6ae65001c /drivers/hid | |
parent | 32db737fb2bfe9013362c9dc2c7af998edc758be (diff) |
HID: wacom: set ABS_MISC bit for Intuos4 WL
ABS_MISC has to be set for Intuos4 WL otherwise xorg driver won't use proper
protocol and the information about tool id and serial is lost.
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
Reviewed-by: Chris Bagwell <chris@cnpbagwell.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid')
-rw-r--r-- | drivers/hid/hid-wacom.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/hid/hid-wacom.c b/drivers/hid/hid-wacom.c index 8b4922924142..c4a193b6c44e 100644 --- a/drivers/hid/hid-wacom.c +++ b/drivers/hid/hid-wacom.c | |||
@@ -471,6 +471,7 @@ static int wacom_input_mapped(struct hid_device *hdev, struct hid_input *hi, | |||
471 | input_set_abs_params(input, ABS_DISTANCE, 0, 32, 0, 0); | 471 | input_set_abs_params(input, ABS_DISTANCE, 0, 32, 0, 0); |
472 | break; | 472 | break; |
473 | case USB_DEVICE_ID_WACOM_INTUOS4_BLUETOOTH: | 473 | case USB_DEVICE_ID_WACOM_INTUOS4_BLUETOOTH: |
474 | __set_bit(ABS_MISC, input->absbit); | ||
474 | input_set_abs_params(input, ABS_X, 0, 40640, 4, 0); | 475 | input_set_abs_params(input, ABS_X, 0, 40640, 4, 0); |
475 | input_set_abs_params(input, ABS_Y, 0, 25400, 4, 0); | 476 | input_set_abs_params(input, ABS_Y, 0, 25400, 4, 0); |
476 | input_set_abs_params(input, ABS_PRESSURE, 0, 2047, 0, 0); | 477 | input_set_abs_params(input, ABS_PRESSURE, 0, 2047, 0, 0); |