drivers/input/serio

Serio bus and PS/2 host controllers (i8042 and friends)

The serio bus is the kernel's framework for PS/2-style serial input controllers: the venerable i8042 keyboard/mouse controller found on nearly every x86 PC, a few platform adapters, and the synthetic PS/2 devices that Hyper-V and QEMU present to virtual machines. It carries keystrokes and mouse motion from the chipset up to the input layer.

keep conf=0.95 last_sold=2025 deploy=high replacement=none subsystem=input category=bus-other
95%

recommendation

It should stay in the kernel because the serio bus is still the standard path for PS/2 keyboards and mice on x86 systems, and it also carries the synthetic keyboard and mouse devices that Hyper-V and QEMU expose to virtual machines. Upstream activity is steady (around 130 commits in the last five years), and both real hardware and virtualization platforms continue to ship PS/2-class input interfaces in 2025.

repository signals

38 files
14,743 source lines
138 commits, 5y
+2,338 / −1,744 lines added / removed, 5y
52 authors, 5y
monthly commits · 2021-04-21 → 2026-04-21 · 138 total · active in 42/61 months
2021 2022 2023 2024 2025 2026 2021-04: 0 commits · +0 −0 2021-05: 3 commits · +5 −3 2021-06: 1 commit · +2 −2 2021-07: 4 commits · +13 −26 2021-08: 1 commit · +1 −2 2021-09: 1 commit · +1 −2 2021-10: 0 commits · +0 −0 2021-11: 3 commits · +65 −22 2021-12: 1 commit · +7 −0 2022-01: 0 commits · +0 −0 2022-02: 5 commits · +130 −73 2022-03: 0 commits · +0 −0 2022-04: 0 commits · +0 −0 2022-05: 0 commits · +0 −0 2022-06: 4 commits · +750 −506 2022-07: 2 commits · +76 −8 2022-08: 2 commits · +44 −40 2022-09: 2 commits · +4 −13 2022-10: 4 commits · +31 −14 2022-11: 2 commits · +4 −8 2022-12: 0 commits · +0 −0 2023-01: 8 commits · +17 −20 2023-02: 0 commits · +0 −0 2023-03: 2 commits · +36 −0 2023-04: 0 commits · +0 −0 2023-05: 8 commits · +219 −89 2023-06: 0 commits · +0 −0 2023-07: 3 commits · +18 −9 2023-08: 5 commits · +11 −11 2023-09: 15 commits · +30 −59 2023-10: 1 commit · +8 −0 2023-11: 1 commit · +8 −0 2023-12: 2 commits · +7 −4 2024-01: 2 commits · +15 −15 2024-02: 1 commit · +8 −0 2024-03: 3 commits · +9 −3 2024-04: 1 commit · +0 −1 2024-05: 2 commits · +16 −3 2024-06: 1 commit · +37 −37 2024-07: 1 commit · +2 −2 2024-08: 1 commit · +9 −0 2024-09: 21 commits · +515 −580 2024-10: 5 commits · +21 −31 2024-11: 1 commit · +1 −1 2024-12: 0 commits · +0 −0 2025-01: 1 commit · +10 −7 2025-02: 5 commits · +61 −56 2025-03: 0 commits · +0 −0 2025-04: 1 commit · +2 −2 2025-05: 0 commits · +0 −0 2025-06: 0 commits · +0 −0 2025-07: 0 commits · +0 −0 2025-08: 2 commits · +19 −0 2025-09: 2 commits · +3 −3 2025-10: 0 commits · +0 −0 2025-11: 1 commit · +7 −0 2025-12: 0 commits · +0 −0 2026-01: 4 commits · +28 −11 2026-02: 3 commits · +88 −81 2026-03: 0 commits · +0 −0 2026-04: 0 commits · +0 −0

sources

  1. git.kernel.org

    The directory continues to receive upstream changes in current kernels, which is inconsistent with an obsolescent or removal-ready subsystem.

  2. git.kernel.org

    Kconfig describes core Serial I/O support, keeps SERIO and SERIO_I8042 enabled-by-default options, and shows the directory still covers mainstream PS/2 plus active platform/VM guest cases.

  3. docs.kernel.org

    Hyper-V still exposes synthetic keyboard and mouse devices to Linux guests, so this directory serves active virtualization deployments, not only legacy bare-metal hardware.

  4. lists.gnu.org

    QEMU maintains a documented I8042/PS/2 device interface, indicating continued relevance for virtual machine input paths that Linux serio/i8042 supports.

codex reasoning notes (technical)

Local shell inspection of Makefile/Kconfig shows this is a live subsystem directory containing the serio core plus many host-controller drivers, not a single dead chipset. No removal/deprecation signal was found in local history probes; static metadata already shows 130 substantive commits in 5 years with a 2026-02-23 touch. Source acquisition: kernel.org log URL and Kconfig tree URL are canonical-recall stable pages corresponding to the inspected path; Hyper-V VMBus page was obtained via web search (turn1search3); QEMU I8042 interface mail was obtained via web search (turn0search2). Recommendation is keep because current upstream activity is strong and deployments remain meaningful on x86 systems and VM guests.