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

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

by
corbet
from LWN.net on (#6M8HG)
Peter Hutterer announcesudev-hid-bpf, a tool to facilitate the loading of BPF programs thatmake human-input devices work correctly.

eBPF was originally written for network packet filters but as ofkernel v6.3 and thanks to Benjamin, we have BPF in the HIDsubsystem. HID actually lends itself really well to BPF because,well, we have a byte array and to fix our devices we need to docomplicated things like "toggle that bit to zero" or "swap thosetwo values".

See this article for more information onthe BPF-HID mechanism.

External Content
Source RSS or Atom Feed
Feed Location http://lwn.net/headlines/rss
Feed Title LWN.net
Feed Link https://lwn.net/
Reply 0 comments