A lot of cheap hardware (case LCD screens, RGB controllers, macro pads, some mice) only ships with a Windows app, but the USB protocol behind it is usually simple: a fixed header, a command byte, a few value bytes, sometimes a checksum.

The workflow that has worked for me:

  1. Run the vendor app on Windows (or in a VM with USB passthrough) and capture with USBPcap, or with usbmon on the Linux host if it’s a VM.
  2. Change exactly one thing at a time (color red, wait, color blue, wait, brightness down) and write down when.
  3. Diff the packets between those actions. The bytes that change with your action are the parameters, the ones that never change are the header.
  4. Replay the packets from Linux with pyusb or hidapi, then turn that into a small driver or a udev + script setup.

I built usb-rea to automate steps 3 and 4: it reads the pcapng, groups the packets by action, infers the command layout (headers, counters, length fields, checksums) and writes a Markdown report (every claim linked to Wireshark frame numbers) plus a standalone pyusb driver. It’s a CLI and also an MCP server, so an AI assistant can drive the analysis. I check it in CI against devices that are already documented: from NZXT Kraken X captures it recovers the fan command byte for byte as liquidctl sends it, and the same for the SteelSeries Rival 100 tables from rivalcfg.

https://github.com/emirmrkaljevic/usb-rea

Before reversing anything, check OpenRGB, liquidctl and the device’s GitHub issues first, someone has often done it already. Happy to look at a capture if anyone has a device stuck on Windows.