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.
More from coding & agent
- Dev writes a Claude skill that interrogates him with 50 questions to map out requirements — Aryvyo · 2026-12-03
- Dev ditches Claude for open models, logs agent traces with funes into a distillable HF dataset — art_zucker · 2026-12-03
- Running an AI-managed home lab without giving agents SSH access — SamSausages · 2026-12-03
- A confirmation email that fired once in 15 runs: logging reproduction counts instead of pass/fail — Kodenstudio · 2026-12-03
- Hatchet open-sources Brickie: durable agent sandboxes in your own Kubernetes cluster — JeremyCMorgan · 2026-12-03
- awesome-core: offline awesome-list aggregator with MCP server and prompt-injection filtering — Alarming_Appeal_3211 · 2026-12-03