Loading page...Загружаем страницу...正在加载页面...
AtlasRepo

Turning Windows-only USB gadgets into open Python drivers with usb-rea

Описание и применение

usb-rea автоматически выводит протокол USB‑устройства, генерируя драйвер pyusb и Wireshark‑диссектор, что позволяет управлять Windows‑только гаджетами на Linux.

Задача

Windows‑only USB gadgets (RGB controllers, smart lamps, fan hubs) are unusable on Linux, requiring manual packet analysis with Wireshark.

Результат

usb-rea automatically infers USB protocol details, produces a pyusb driver and a Wireshark dissector, reducing manual effort and enabling Linux control of previously Windows‑only gadgets.

Рабочий процесс

  • Capture USB traffic (usbmon on Linux, USBPcap/Wireshark on Windows).
  • Label actions with usb-rea mark commands.
  • Run usb-rea diff to infer packet structure.
  • Generate report.md and a standalone pyusb driver.
  • Optionally create a Wireshark Lua dissector with usb-rea dissector.

Доказательства

usb-rea automates that loop.

Источник

You get report.md, where every claim cites Wireshark frame numbers, and a standalone pyusb driver.

Источник

The generated driver encodes values you never captured, including the counter and the CRC.

Источник

It has not been run on a physical gadget yet. That's where you come in.

Источник

  • Дата записи: 2026-10-19T08:56:00.318Z