diff options
author | Benjamin Tissoires <bentiss@kernel.org> | 2025-08-21 16:38:14 +0200 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.com> | 2025-09-12 17:11:55 +0200 |
commit | 4c2c5ff9f3d72fb41f884f7c493ae9df83379340 (patch) | |
tree | 6fcff8d14fcf39d53874735d08ab7f23aa3a593f /tools/testing/selftests/net/lib/py/utils.py | |
parent | 4e411a3f7bba10579bbeec3af77ae2a05c9e4259 (diff) |
HID: bpf: rescan the device for the group after a load/unload
When a BPF gets loaded, it was previously not possible to bind a
hid-generic device to hid-multitouch because the group was never
updated.
This change forces a rescan of the report descriptor after a bpf is
loaded/unloaded so we set up the proper group.
This was detected 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.
Suggested-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Benjamin Tissoires <bentiss@kernel.org>
Signed-off-by: Jiri Kosina <jkosina@suse.com>
Diffstat (limited to 'tools/testing/selftests/net/lib/py/utils.py')
0 files changed, 0 insertions, 0 deletions