From: Benjamin Tissoires Date: Mon, 7 Mar 2016 10:02:38 +0000 (+0100) Subject: HID: multitouch: force retrieving of Win8 signature blob X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=45c5c6828214605eaefa6755c47bd1a2c7eb203e;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git HID: multitouch: force retrieving of Win8 signature blob The Synaptics 0x11e5 over I2C found in the Asus T100-CHI requires to fetch the signature blob to actually start sending events. With this patch, we should be close enough to the Windows driver which checks the content of the blob at plugin to validate or not the touchscreen. Link: https://bugzilla.kernel.org/show_bug.cgi?id=113481 Fixes: 6d4f5440 ("HID: multitouch: Fetch feature reports on demand for Win8 devices") Cc: stable@vger.kernel.org Signed-off-by: Benjamin Tissoires Signed-off-by: Jiri Kosina --- diff --git a/drivers/hid/hid-multitouch.c b/drivers/hid/hid-multitouch.c index 296d4991560e..a20fc604ffd8 100644 --- a/drivers/hid/hid-multitouch.c +++ b/drivers/hid/hid-multitouch.c @@ -396,6 +396,11 @@ static void mt_feature_mapping(struct hid_device *hdev, td->is_buttonpad = true; break; + case 0xff0000c5: + /* Retrieve the Win8 blob once to enable some devices */ + if (usage->usage_index == 0) + mt_get_feature(hdev, field->report); + break; } }