usb-rea reads a USB capture (pcap/pcapng from usbmon or USBPcap/Wireshark) taken while you click around in a Windows-only vendor app, diffs the packets per action, infers the command and protocol structure, and writes a Markdown report plus a standalone pyusb driver. It is a headless CLI and an MCP server (usb-rea mcp). Install: pip install usb-rea. MIT licensed. Alpha status: validated on synthetic devices, documented protocols and public Wireshark captures, not yet on physical hardware.
Many USB gadgets only ship a Windows vendor app and have no Linux support. I wanted a way to get from a capture of that app to a working open-source driver without decoding every packet by hand. It is currently validated only against protocols documented by liquidctl and rivalcfg and on public Wireshark captures.