<!-- Canonical page: https://reversedwithai.com/p/rme-fireface-ucx-7315889f -->
Canonical page: https://reversedwithai.com/p/rme-fireface-ucx-7315889f

# Reverse engineering the RME Fireface UCX Windows driver for a Linux driver and mixer, with Claude Code

> An ALSA kernel driver, a terminal mixer and a config tool for the first-generation Fireface UCX.

The author's write-up says Claude Code, paired with the REA reverse engineering toolkit, read the Windows driver, and the findings were then checked against a real unit. Commits carry Claude Opus 5.5 trailers.

## Key facts

- Target: RME Fireface UCX
- Category: Firmware and hardware
- Platform: Linux
- Models: Claude Opus 5.5
- Tools: REA, Ghidra, rizin, clang-tidy
- Outcome: Works
- Time spent (author-reported): One week
- License: MIT
- Checks: Source available: yes; Repro steps: not reported; Real hardware: not reported; Verified by others: not reported
- Author: Johan Yngman
- Added: 2026-11-18
- Updated: 2026-11-18
- Sources reviewed: 2026-11-20 (automated reviewer)

## What was done

The RME Fireface UCX works on Linux in class compliant mode but its mixer and DSP stay under the control of Windows software. The author's write-up of 15 November 2026 says RME never published the protocol, so Claude Code with REA (an MCP server wrapping Ghidra and rizin) read the Windows driver and TotalMix. It found the USB requests, the audio streaming setup and how a mixer fader move is encoded, and noticed that the mixer commands match RME's FireWire interfaces, which earlier Linux work had documented.

The decompiled code only shows what Windows sends, so the rest of the week went on hardware tests: loop cables, a quiet test tone, change one setting, watch the unit's level meters. The result in the repository is snd-fireface-ucx (18 channels at 32 to 192 kHz, two MIDI ports, ALSA controls for routing, EQ, dynamics, reverb, echo and clock), the ucxtui terminal mixer and the ucxcfg tool, with the protocol documented in docs/PROTOCOL.md. The author reports 3.5 ms round trip at 48 kHz through PipeWire.

The author says Claude wrote all of the code and that he steered the design, fuzzing and static analysis. The README calls it experimental and tested on one unit. The tree has source, udev and WirePlumber files only, with no vendor driver files.

## Human work and limitations

The author pushed for a declarative design with one JSON file describing the unit, plus fuzz testing, clang-tidy and sanitizer builds.

## Reproduce it

Needs a first-generation Fireface UCX. Follow the README install notes for the kernel module and tools.

## AI use in the original source

- "Self-promotion disclosure: I made this AI disclosure: Claude Code reverse engineered the Windows driver and wrote the code." ([source](https://news.ycombinator.com/item?id=50506314))

Excerpts checked against the source on 2026-11-18.

## Sources

- [Repository](https://github.com/realbogart/fireface-ucx-linux)
- [Write-up](https://johanyngman.com/fireface-ucx-on-linux-reverse-engineered-and-built-with-claude-code.html)
- [Discussion](https://news.ycombinator.com/item?id=50506314)

Figures are reported by the author and not measured by this site, except the commit history. Entry drafted with AI from the linked sources and checked against them.

Cite as: Johan Yngman (2026). Reverse engineering the RME Fireface UCX Windows driver for a Linux driver and mixer, with Claude Code. Reversed with AI. https://reversedwithai.com/p/rme-fireface-ucx-7315889f
