usb-rea: open-source USB reverse engineering that auto-generates pyusb drivers for Linux

mathemagie · x · 2026-12-03

Open-source tool usb-rea by Emir Mrkaljevic reverse-engineers USB devices in a few steps: capture traffic between the vendor's Windows app and the device with USBPcap (or usbmon on Linux), recording at least 3 values per setting. Unlike usbrply, which merely replays captures, usb-rea infers each byte's role (constant, counter, CRC, lookup table) so it can craft packets with never-tested values, generating a pyusb-based Python driver. It has already brought the NZXT Kraken X cooler and SteelSeries Rival 100 mouse to Linux, and can hook into your AI agent for further automation.

Original post →

More from coding & agent

coding & agent channel →