Skip to content
systemcoding.dev

Tag

linux kernel

71 posts

Flat illustration of user space above the system call boundary, the kernel and the hardware, with the Linux, C and Rust logos.
Kernels

Write an Input Driver for Buttons and Keys

Write a Linux 6.12 input driver for a GPIO button: devm_input_allocate_device, capability bits, a threaded IRQ, debounce, and events visible to evtest.

7 min read