I made this because I kept running into USB gadgets (case LCDs, RGB controllers, mice) that only ship a Windows app.

The workflow: capture USB traffic with USBPcap or usbmon while you click through the vendor app, optionally mark each action (“brightness 50”, “mode breathe”), and usb-rea groups the transfers into commands, finds the changing fields, checksums, handshakes and image streams, then writes an evidence report, a Wireshark Lua dissector and a small pyusb driver skeleton.

It is a plain CLI, and it also runs as an MCP server so an AI coding assistant can drive the same steps. It is checked in CI against protocols that open-source projects already document (the NZXT Kraken fan command from liquidctl, SteelSeries Rival tables from rivalcfg) and against public Wireshark captures, and you don’t need any hardware to try it: usb-rea demo runs the whole pipeline on a synthetic capture.

Open source (MIT), on PyPI as usb-rea. Feedback on captures where it gets things wrong is very welcome.