diff options
author | Benjamin Tissoires <benjamin.tissoires@redhat.com> | 2017-01-30 10:48:06 +0100 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2017-02-03 14:45:57 +0100 |
commit | f3287a995ac3520b1afcf03932b9c405f502657c (patch) | |
tree | b54c9641b4d2a6be1d7b8ad6bec8c9db2a245855 /drivers/net/ethernet/mellanox/mlxsw/switchx2.c | |
parent | 8e9faa15469ed7c7467423db4c62aeed3ff4cae3 (diff) | |
download | talos-obmc-linux-f3287a995ac3520b1afcf03932b9c405f502657c.tar.gz talos-obmc-linux-f3287a995ac3520b1afcf03932b9c405f502657c.zip |
HID: multitouch: fix LG Melfas touchscreen
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, or some 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@redhat.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlxsw/switchx2.c')
0 files changed, 0 insertions, 0 deletions