usb-rea reverse-engineers Windows-only gadget protocols to auto-generate Linux drivers

alex_verem · x · 2026-12-07

Many mice, coolers and keyboards ship with Windows-only apps. usb-rea records the commands a device receives while you click through that app, infers the protocol and writes a driver you can run on Linux — and an AI coding assistant can run the analysis for you.

Checked against the known protocol of an NZXT liquid cooler, it recovers the exact fan command byte for byte. Caveats: you still need Windows to record, and it's mostly been validated on known protocols plus one user capture.

Original post →

More from coding & agent

coding & agent channel →