Re: [PATCH] HID: multitouch: fix LG Melfas touchscreen

From: Jiri Kosina
Date: Fri Feb 03 2017 - 08:47:36 EST


On Mon, 30 Jan 2017, Benjamin Tissoires wrote:

> The LG Melfas touchscreen has a bad firmware where it declares the
> Contact ID field as constant while it shouldn't. This messes up the
> autodetection and the reporting of the events by hid-multitouch given
> that hid-input ignores constant fields.
>
> The autodetection is simply worked around by manually adding the device
> to hid_have_special_driver.
>
> The processing of the events requires either a report fixup, either some

I've fixed the grammar here ...

> specific case handling. Given that the report fixup would require to
> basically rewrite all the report descriptor, I went for the programatic
> way of fixing that after the report descriptors are loaded.
>
> Link: https://bugzilla.redhat.com/show_bug.cgi?id=1416181
> Signed-off-by: Benjamin Tissoires <benjamin.tissoires@xxxxxxxxxx>

... and applied to for-4.10/upstream-fixes; I don't think this patch
itself would justify a -rc7 merge by itself, therefore either something
else accumulates in for-4.10 branch, or this will go in during 4.11 merge
window.

Thanks,

--
Jiri Kosina
SUSE Labs