]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
HID: bpf: add in-tree HID-BPF fix for the HP Elite Presenter Mouse
authorBenjamin Tissoires <bentiss@kernel.org>
Wed, 10 Apr 2024 17:19:24 +0000 (19:19 +0200)
committerBenjamin Tissoires <bentiss@kernel.org>
Tue, 7 May 2024 13:39:00 +0000 (15:39 +0200)
commit4e6d2a297dd5be26ad409b7a05b20bd033d1c95e
treeed9b98394858399f5d755642227deee2c0adccab
parente0599675a32cb994a076a4b40d3e42d8353a5bb7
HID: bpf: add in-tree HID-BPF fix for the HP Elite Presenter Mouse

Duplicate of commit 0db117359e47 ("HID: add quirk for 03f0:464a HP Elite
Presenter Mouse"), but in a slightly better way.

This time we actually change the application collection, making clearer
for userspace what the second mouse is.

Note that having both hid-quirks fix and this HID-BPF fix is not a
problem at all.

Link: https://lore.kernel.org/r/20240410-bpf_sources-v1-4-a8bf16033ef8@kernel.org
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Benjamin Tissoires <bentiss@kernel.org>
drivers/hid/bpf/progs/HP__Elite-Presenter.bpf.c [new file with mode: 0644]