[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <7462634n-519r-2461-o17o-6s4q0po26n9q@xreary.bet>
Date: Fri, 12 Sep 2025 17:12:54 +0200 (CEST)
From: Jiri Kosina <jikos@...nel.org>
To: Benjamin Tissoires <bentiss@...nel.org>
cc: Peter Hutterer <peter.hutterer@...-t.net>, linux-input@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH 0/2] HID: bpf: allow bpf to rebind a driver to
hid-mutltiouch
On Thu, 21 Aug 2025, Benjamin Tissoires wrote:
> This happened while Peter was trying to fix a Viewsonic device: the HID
> device sending multiotuch data through a proprietary collection was
> handled by hid-generic, and we don't have any way of attaching it to
> hid-multitouch because the pre-scanning wasn't able to see the Contact
> ID HID usage.
>
> After a little of back and forth, it turns out that the best solution is
> to re-scan the device when a report descriptor is changed from the BPF
> point of view.
>
> Signed-off-by: Benjamin Tissoires <bentiss@...nel.org>
> ---
> Benjamin Tissoires (2):
> HID: core: factor out hid_set_group()
> HID: bpf: rescan the device for the group after a load/unload
>
> drivers/hid/hid-core.c | 44 ++++++++++++++++++++++++++++++++++++--------
> 1 file changed, 36 insertions(+), 8 deletions(-)
Now in hid.git#for-6.18/core. Thanks,
--
Jiri Kosina
SUSE Labs
Powered by blists - more mailing lists