A new open-source project called usb-rea wants to turn Windows-only USB accessories into Linux-supported hardware without waiting for manufacturers to care. Developer Emir Mrkaljevic released version 0.7.14 on GitHub this week under an MIT license. Install it with pip install usb-rea. There is also a simulated-device demo if you want to poke at it without plugging anything in.
The tool records USB traffic between a manufacturer's Windows application and the device — using USBPcap on Windows or usbmon on Linux, then analyzes the tagged interactions to reconstruct command structures, counters, lookup tables and checksums. Out pops a standalone PyUSB driver and a Markdown report documenting the protocol. Target hardware includes case LCDs, RGB controllers, gaming mice and smart lamps.
Basically anything that works on Linux at a basic level but hides its extra features behind proprietary Windows software. Early validation looks promising. Usb-rea reproduced the exact fan-control command byte for the NZXT Kraken X cooler, matching what the existing liquidctl project had already reverse-engineered by hand. It also cross-checked the SteelSeries Rival 100 mouse protocol against rivalcfg, nailing DPI, polling rate and RGB settings.




Be the first to comment
Join the argument. No password, just your email or a passkey.