usb-rea reverse-engineers Windows-only USB gadgets and auto-generates Linux drivers
jedisct1 · x · 2026-11-28
- usb-rea is an MIT-licensed open-source tool for USB gadgets that only ship with a Windows app: it captures traffic with USBPcap or usbmon while the user clicks through the vendor app and labels the actions.
- It then infers the command structure (constants, counters, value fields, lookup tables, CRCs) and writes a Markdown protocol report plus a standalone pyusb Linux driver.
- Developer Emir Mrkaljevic validated it on the NZXT Kraken X AIO cooler and SteelSeries Rival 100 mouse, reportedly recovering liquidctl's fan command byte-for-byte and producing correct packets for unseen values.
- The project can also run as an MCP server so an AI coding assistant can drive the analysis. Source on GitHub, installable via pip.
More from coding & agent
- Forkable environments for agent RL: why mid-episode credit assignment is stuck — YouJiacheng · 2026-11-28
- Multi-model workflow: Astra plans, Opus implements, Neon verifies — bindureddy · 2026-11-28
- DavidKPiano nails the agent workflow joke: 'That report is for you, Claude, not me' — DavidKPiano · 2026-11-28
- MCP server context usage cut by up to 267x, devs share how — Cool-Click1253 · 2026-11-28
- After Anthropic ported Messages API to Rust: AI may rewrite everything in low-level code — bendee983 · 2026-11-28
- LlamaIndex Open-Sources OCRia-1 Weights, 4B SOTA OCR Model Runs on a Mac mini — llama_index · 2026-11-28