drivers/hid/bpf/progs

HID-BPF Example and Fixup Programs

A set of small eBPF programs distributed with the kernel source that fix or tweak the report descriptors and event streams of specific human-interface devices, such as buggy mice, tablets, and keyboards. They are loaded on demand by userspace tools to correct device quirks without needing a dedicated kernel driver per device.

not-a-driver conf=1.00 deploy=none replacement=none subsystem=hid category=not-a-driver
100%

recommendation

This is not actually a driver directory; it is a collection of small eBPF programs that run alongside the HID subsystem to patch up quirky behaviour in specific input devices (mice, tablets, keyboards) without needing a full kernel driver. The programs are loaded into the kernel at runtime via the HID-BPF infrastructure rather than being compiled as hardware drivers themselves.

repository signals

30 files
11,511 source lines
42 commits, 5y
+11,809 / −103 lines added / removed, 5y
4 authors, 5y
monthly commits · 2021-04-21 → 2026-04-21 · 42 total · active in 7/61 months
2021 2022 2023 2024 2025 2026 2021-04: 0 commits · +0 −0 2021-05: 0 commits · +0 −0 2021-06: 0 commits · +0 −0 2021-07: 0 commits · +0 −0 2021-08: 0 commits · +0 −0 2021-09: 0 commits · +0 −0 2021-10: 0 commits · +0 −0 2021-11: 0 commits · +0 −0 2021-12: 0 commits · +0 −0 2022-01: 0 commits · +0 −0 2022-02: 0 commits · +0 −0 2022-03: 0 commits · +0 −0 2022-04: 0 commits · +0 −0 2022-05: 0 commits · +0 −0 2022-06: 0 commits · +0 −0 2022-07: 0 commits · +0 −0 2022-08: 0 commits · +0 −0 2022-09: 0 commits · +0 −0 2022-10: 0 commits · +0 −0 2022-11: 0 commits · +0 −0 2022-12: 0 commits · +0 −0 2023-01: 0 commits · +0 −0 2023-02: 0 commits · +0 −0 2023-03: 0 commits · +0 −0 2023-04: 0 commits · +0 −0 2023-05: 0 commits · +0 −0 2023-06: 0 commits · +0 −0 2023-07: 0 commits · +0 −0 2023-08: 0 commits · +0 −0 2023-09: 0 commits · +0 −0 2023-10: 0 commits · +0 −0 2023-11: 0 commits · +0 −0 2023-12: 0 commits · +0 −0 2024-01: 0 commits · +0 −0 2024-02: 0 commits · +0 −0 2024-03: 0 commits · +0 −0 2024-04: 8 commits · +1,777 −0 2024-05: 0 commits · +0 −0 2024-06: 11 commits · +4,562 −31 2024-07: 0 commits · +0 −0 2024-08: 0 commits · +0 −0 2024-09: 0 commits · +0 −0 2024-10: 3 commits · +413 −51 2024-11: 0 commits · +0 −0 2024-12: 0 commits · +0 −0 2025-01: 0 commits · +0 −0 2025-02: 7 commits · +1,257 −8 2025-03: 1 commit · +1 −0 2025-04: 0 commits · +0 −0 2025-05: 0 commits · +0 −0 2025-06: 0 commits · +0 −0 2025-07: 0 commits · +0 −0 2025-08: 0 commits · +0 −0 2025-09: 0 commits · +0 −0 2025-10: 0 commits · +0 −0 2025-11: 10 commits · +3,792 −6 2025-12: 0 commits · +0 −0 2026-01: 2 commits · +7 −7 2026-02: 0 commits · +0 −0 2026-03: 0 commits · +0 −0 2026-04: 0 commits · +0 −0

sources

No sources cited.

codex reasoning notes (technical)

Not a driver directory: contains HID BPF program sources under a `progs` subdirectory, which are eBPF/helper program code rather than a kernel-bound hardware driver.