MacMusic  |  PcMusic  |  440 Software  |  440 Forums  |  440TV  |  Zicos
hid
Search

Hutterer: udev-hid-bpf: quickstart tooling to fix your HID devices with eBPF

Monday April 22, 2024. 04:44 PM , from LWN.net
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.
https://lwn.net/Articles/970702/
News copyright owned by their original publishers | Copyright © 2004 - 2024 Zicos / 440Network
Current Date
Nov, Thu 21 - 22:08 CET