Hutterer: udev-hid-bpf: quickstart tooling to fix your HID devices with eBPF
Date:
Mon, 22 Apr 2024 14:44:00 +0000
Description:
Peter Hutterer announces
udev-hid-bpf , a tool to facilitate the loading of BPF programs that
make human-input devices work correctly. eBPF was originally written for network packet filters but as of
kernel v6.3 and thanks to Benjamin, we have BPF in the HID
subsystem. HID actually lends itself really well to BPF because,
well, we have a byte array and to fix our devices we need to do
complicated things like "toggle that bit to zero" or "swap those
two values". See this article for more information on
the BPF-HID mechanism.
======================================================================
Link to news story:
https://lwn.net/Articles/970702/
--- Mystic BBS v1.12 A47 (Linux/64)
* Origin: tqwNet UK HUB @ hub.uk.erb.pw (1337:1/100)