about summary refs log tree commit diff
path: root/pkgs/os-specific/linux
diff options
context:
space:
mode:
authorWael M. Nasreddine <wael.nasreddine@gmail.com>2018-09-04 13:29:40 -0700
committerTim Steinbach <NeQuissimus@users.noreply.github.com>2018-09-04 20:11:42 -0400
commit107de747c7044736738916ff1442dd7f275955d2 (patch)
tree1d653be7416f246a2d1fa0ebc5385dc58b977229 /pkgs/os-specific/linux
parentde825a4eaacdfe092e7023159f351cbe6c9a988d (diff)
downloadnixlib-107de747c7044736738916ff1442dd7f275955d2.tar
nixlib-107de747c7044736738916ff1442dd7f275955d2.tar.gz
nixlib-107de747c7044736738916ff1442dd7f275955d2.tar.bz2
nixlib-107de747c7044736738916ff1442dd7f275955d2.tar.lz
nixlib-107de747c7044736738916ff1442dd7f275955d2.tar.xz
nixlib-107de747c7044736738916ff1442dd7f275955d2.tar.zst
nixlib-107de747c7044736738916ff1442dd7f275955d2.zip
linux_4_18: HID: core: fix grouping by application
This patch fixes #45165

commit f07b3c1da92d ("HID: generic: create one input report per
application type") was effectively the same as MULTI_INPUT:
hidinput->report was never set, so hidinput_match_application()
always returned null.

Fix that by testing against the real application.

Note that this breaks some old eGalax touchscreens that expect MULTI_INPUT
instead of HID_QUIRK_INPUT_PER_APP. Enable this quirk for backward
compatibility on all non-Win8 touchscreens.

link: https://bugzilla.kernel.org/show_bug.cgi?id=200847
link: https://bugzilla.kernel.org/show_bug.cgi?id=200849
link: https://bugs.archlinux.org/task/59699
link: https://github.com/NixOS/nixpkgs/issues/45165

Cc: stable@vger.kernel.org # v4.18+
Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Diffstat (limited to 'pkgs/os-specific/linux')
0 files changed, 0 insertions, 0 deletions