drivers/hid/bpf

HID-BPF programmable input device framework

Infrastructure that lets small BPF programs attach to Human Interface Device (keyboard, mouse, tablet, gamepad) event streams to fix up quirky hardware behavior in userspace-loadable form, rather than requiring a new in-tree kernel driver for every misbehaving peripheral. Introduced in the early 2020s and used by projects like libinput and fwupd to ship per-device fixups.

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

recommendation

This is not actually a hardware driver; it is a framework within the HID subsystem that allows BPF programs to intercept and modify input device reports. It is a relatively new and actively developed piece of kernel infrastructure, so deprecation questions do not apply.

repository signals

35 files
12,539 source lines
95 commits, 5y
+15,068 / −2,305 lines added / removed, 5y
13 authors, 5y
monthly commits · 2021-04-21 → 2026-04-21 · 95 total · active in 21/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: 5 commits · +2,198 −585 2022-12: 2 commits · +20 −4 2023-01: 3 commits · +135 −224 2023-02: 0 commits · +0 −0 2023-03: 1 commit · +0 −3 2023-04: 0 commits · +0 −0 2023-05: 0 commits · +0 −0 2023-06: 1 commit · +1 −1 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: 4 commits · +106 −59 2024-02: 0 commits · +0 −0 2024-03: 4 commits · +155 −71 2024-04: 9 commits · +1,778 −1 2024-05: 0 commits · +0 −0 2024-06: 27 commits · +5,153 −1,252 2024-07: 4 commits · +11 −6 2024-08: 1 commit · +2 −4 2024-09: 1 commit · +14 −0 2024-10: 5 commits · +420 −54 2024-11: 3 commits · +4 −14 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: 1 commit · +9 −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: 3 commits · +8 −11 2026-02: 2 commits · +2 −2 2026-03: 1 commit · +2 −0 2026-04: 0 commits · +0 −0

sources

No sources cited.

codex reasoning notes (technical)

Not a driver directory: HID-BPF framework/helper code under drivers/hid for programmable HID behavior, not a hardware-bound device driver for a specific chipset or product family.