From 8ff573c15e767c45c9f6eac09b85c99e60d72f5a Mon Sep 17 00:00:00 2001 From: Austin Zhang Date: Tue, 31 Jul 2012 10:08:04 +0800 Subject: [PATCH] Set MAJOR capability to make the evdevmultitouch work with this device Set MAJOR capability so evdevmultitouch input driver can use it as flag, then we can use the same input driver for supporting multitouch. Signed-off-by: Austin Zhang --- drivers/hid/hid-multitouch.c | 2 ++ packaging/kernel-adaptation-pc.changes | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/drivers/hid/hid-multitouch.c b/drivers/hid/hid-multitouch.c index f1c909f..1a29361 100644 --- a/drivers/hid/hid-multitouch.c +++ b/drivers/hid/hid-multitouch.c @@ -244,6 +244,8 @@ static int mt_input_mapping(struct hid_device *hdev, struct hid_input *hi, td->last_slot_field = usage->hid; td->last_field_index = field->index; } + set_abs(hi->input, ABS_MT_TOUCH_MAJOR, field, + cls->sn_width); return 1; case HID_GD_Y: if (quirks & MT_QUIRK_EGALAX_XYZ_FIXUP) diff --git a/packaging/kernel-adaptation-pc.changes b/packaging/kernel-adaptation-pc.changes index 9df92e3..75f75a3 100644 --- a/packaging/kernel-adaptation-pc.changes +++ b/packaging/kernel-adaptation-pc.changes @@ -1,3 +1,7 @@ +* Mon Jul 30 2012 Austin Zhang +- Set MAJOR capability to make the evdevmultitouch work with + this device + * Mon Jun 25 2012 Anas Nashif bb302bc - remove old header -- 2.7.4