drivers/hid/usbhid

USB Human Interface Device (HID) transport

The transport layer that lets Linux talk to USB Human Interface Devices: keyboards, mice, joysticks, gamepads, drawing tablets, uninterruptible power supplies, and monitor controls. It also includes small "boot protocol" fallback drivers (usbkbd, usbmouse) for embedded systems that need a minimal keyboard or mouse without the full HID stack.

keep conf=0.95 deploy=high replacement=none subsystem=hid category=bus-usb
95%

recommendation

It should stay because this is the code that makes essentially every USB keyboard, mouse, joystick, tablet, gamepad, UPS, and monitor-control device work on Linux. It is actively maintained, with patches landing as recently as April 2026 and being marked for stable, and the hardware class is still sold new by mainstream vendors like Logitech. There is no replacement; this is the standard path.

repository signals

9 files
5,063 source lines
87 commits, 5y
+1,081 / −716 lines added / removed, 5y
24 authors, 5y
monthly commits · 2021-04-21 → 2026-04-21 · 87 total · active in 24/61 months
2021 2022 2023 2024 2025 2026 2021-04: 1 commit · +1 −1 2021-05: 4 commits · +12 −3 2021-06: 1 commit · +12 −1 2021-07: 1 commit · +1 −1 2021-08: 0 commits · +0 −0 2021-09: 3 commits · +12 −16 2021-10: 0 commits · +0 −0 2021-11: 0 commits · +0 −0 2021-12: 1 commit · +8 −11 2022-01: 0 commits · +0 −0 2022-02: 0 commits · +0 −0 2022-03: 1 commit · +3 −3 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: 1 commit · +3 −3 2022-09: 0 commits · +0 −0 2022-10: 1 commit · +1 −1 2022-11: 0 commits · +0 −0 2022-12: 3 commits · +8 −3 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: 1 commit · +3 −8 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: 0 commits · +0 −0 2024-05: 0 commits · +0 −0 2024-06: 1 commit · +2 −0 2024-07: 0 commits · +0 −0 2024-08: 0 commits · +0 −0 2024-09: 1 commit · +1 −1 2024-10: 1 commit · +1 −1 2024-11: 1 commit · +1 −1 2024-12: 0 commits · +0 −0 2025-01: 1 commit · +1 −2 2025-02: 29 commits · +485 −276 2025-03: 1 commit · +14 −11 2025-04: 1 commit · +2 −2 2025-05: 10 commits · +25 −26 2025-06: 0 commits · +0 −0 2025-07: 0 commits · +0 −0 2025-08: 17 commits · +431 −319 2025-09: 0 commits · +0 −0 2025-10: 0 commits · +0 −0 2025-11: 2 commits · +15 −5 2025-12: 1 commit · +16 −1 2026-01: 0 commits · +0 −0 2026-02: 3 commits · +23 −20 2026-03: 0 commits · +0 −0 2026-04: 0 commits · +0 −0

sources

  1. lore.kernel.org

    Recent 2026 upstream patch traffic touched drivers/hid/usbhid/hid-core.c and was marked for stable, showing active maintenance rather than retirement.

  2. git.kernel.org

    Kconfig describes USB_HID as the transport for USB keyboards, mice, joysticks, tablets, UPS and monitor-control devices; the optional usbkbd/usbmouse Boot Protocol drivers are niche and 'almost certainly not what you want' except embedded/simple cases.

  3. logitech.com

    A mainstream USB wired keyboard remained on sale from a major vendor, indicating the covered hardware class is still sold new.

  4. logitech.com

    A mainstream USB wired mouse remained on sale from a major vendor, indicating the covered hardware class is still sold new.

codex reasoning notes (technical)

Real driver directory: hid-core.c uses module_init and usbkbd/usbmouse use module_usb_driver. lore_file_timeline and lore_activity on drivers/hid/usbhid/hid-core.c showed sustained 2021-2026 activity, including April 16 2026 fixes and refactors, so this is actively maintained. I did not get positive evidence of an upstream removal series from the fast lore probes; subject-regex searches timed out rather than finding removal talk. The kernel.org Kconfig URL is canonical recall; it shows USB_HID is the normal generic path and the Boot Protocol subdrivers are limited embedded/simple fallback options, so there is no single upstream replacement for the directory as a whole. Logitech product URLs were obtained by web search and support that USB keyboard/mouse deployments remain common in new systems. Overall: generic USB HID remains current and widely deployed, so keep.