A detailed walkthrough of creating a Linux device driver for a Nanoleaf RGB LED device from scratch. The author explores USB fundamentals, explains HID devices, demonstrates using libusb with Rust to communicate with hardware, and covers practical aspects like udev rules and interrupt handling. The tutorial progresses from

15m read timeFrom crescentro.se
Post cover image
Table of contents
Starting from scratchA quick USB classWriting a basic driverThe joy of debuggingSending data to the deviceSo, about those interrupts…Making this better
3 Comments

Sort: