Skip to content

About

Educational reverse-engineering of the Elgato Wave:3 USB audio protocol and a native Linux D-Bus control daemon

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Latest commit

 

History

27 Commits

Folders and files

Repository files navigation

wave3-research

Educational reverse-engineering of the Elgato Wave:3 USB audio protocol and a native Linux D-Bus control daemon.

This repository contains:

  • A fully working native Linux control daemon for the first-generation Elgato Wave:3 (VID 0x0fd9, PID 0x0070).
  • Complete USB protocol documentation derived from live observation and static analysis of publicly distributed Elgato Wave Link packages.
  • Hardware enumeration reports, ALSA/PipeWire captures, and independent teardown notes.

Purpose and Disclaimer

This repository was created for educational and interoperability research purposes only. All information here was derived from publicly available documentation, standard USB Audio Class specifications, live observation of a device I physically own, and static analysis of publicly distributed Elgato Wave Link installer packages. No proprietary source code, firmware, or copyrighted binary assets are distributed in this repository. Elgato®, Wave:3®, Wave Link®, and related marks are trademarks of Corsair Memory, Inc. / Elgato and are used here solely for identification and commentary.

The original Wave Link installer packages (.msix, .dmg) and their extracted contents have been removed from this repository. Only independent research notes, string/path summaries, and the original open-source native Linux implementation are retained.

Project overview

Component Location Status
Native D-Bus daemon native-linux/src/wave3-daemon.c Working
Shell CLI native-linux/bin/wave3ctl Working
GTK4 GUI applet native-linux/gui/wave3-applet.py Working
Integration tests native-linux/tests/test-dbus.py Passing
Protocol summary WAVE3_PROTOCOL_SUMMARY.md Complete
Detailed protocol notes native-linux/docs/protocol-notes.md Complete
Hardware enumeration README.md (this file, §1–§10) Complete
Wave Link teardown notes wavelink/README.md and wavelink/teardown/ Complete

Quick start

cd native-linux
./install.sh                 # build and install locally
sudo install -Dm644 udev/50-elgato-wave3.rules /etc/udev/rules.d/
sudo udevadm control --reload-rules
sudo udevadm trigger --subsystem-match=usb --attr-match=idVendor=0fd9 --attr-match=idProduct=0070
systemctl --user enable --now wave3-daemon
wave3ctl status
wave3ctl mute toggle
wave3ctl volume 75

See native-linux/README.md for full build requirements, installation options, and D-Bus API details.

What the daemon controls

The daemon exposes org.wave3.Daemon on the D-Bus session bus. It polls the device at 10 Hz and emits StateChanged signals. All hardware controls on the first-generation Wave:3 are implemented:

Feature D-Bus method(s) How it works
Microphone mute SetMicMute, ToggleMicMute UAC feature unit 6, selector 1; also reflected in class config offset 4
Headphone mute SetHpMute Class config offset 9
Headphone volume SetHpVolume Class config offset 8 (signed dB attenuation)
Microphone gain read-only state UAC feature unit 6, selector 2; physical dial, not writable
Clipguard SetClipguard Class config offset 5
Direct monitor mix SetDirectMonitor Class config offset 14 (0x00 = mic only, 0xFF = PC only)
Mute-ring RGB SetMuteColor Class config offsets 10/11/13
LED brightness SetBrightness Class config offset 15
Input/playback level meters GetInputLevel, GetPlaybackLevel Class meter block wValue=0x0001
Dial mode GetDialMode Class config offset 12 (1 = mic gain, 2 = HP volume, 3 = monitor mix)
Dial value GetDialValue Class config offsets 0/1 (16-bit little-endian)
Indicator RGB GetIndicatorColor Class config offsets 10/11/13 (firmware ring feedback)

SetLowCut and SetHeadphoneColor return G_IO_ERROR_NOT_SUPPORTED because the first-generation Wave:3 has neither hardware low-cut nor a headphone color LED.

How the protocol was recovered

The Wave:3 has an unclaimed vendor-specific interface 3 (0xFF/0xF0) with no endpoints. All proprietary control traffic runs over endpoint-0 class control transfers:

Read config:  bmRequestType=0xA1, bRequest=0x85, wValue=0x0000, wIndex=0x3303, wLength=16
Write config: bmRequestType=0x21, bRequest=0x05, wValue=0x0000, wIndex=0x3303, wLength=16
Read meter:   bmRequestType=0xA1, bRequest=0x85, wValue=0x0001, wIndex=0x3303, wLength=8
Read info:    bmRequestType=0xA1, bRequest=0x85, wValue=0x000A, wIndex=0x3303, wLength=51

wIndex=0x3303 routes the request through interface 3 so snd-usb-audio does not need to be detached, while the firmware sees entity 0x33. This trick was first published for the Elgato Wave XLR by rikkichy/openwave; the Wave:3 uses the same encoding.

Full details are in WAVE3_PROTOCOL_SUMMARY.md and native-linux/docs/protocol-notes.md.

Known unknowns

Even though every user-facing hardware control on the first-gen Wave:3 is implemented, a few things remain unexplained:

  • Config offsets 2, 3, 6 accept arbitrary writes but produce no observable effect on this firmware. They may be reserved for other device variants.
  • Meter full-scale calibration — the uint32 input/playback values from wValue=0x0001 are reported as relative dBFS using 20·log10(value / 0x80000000). The true full-scale reference has not been calibrated against a known signal.
  • Headphone plug/unplug detection — no config-byte change was observed in the captured window when headphones were removed/reinserted. This state may not be exposed in the config block, may be brief, or may use a different mechanism.
  • Host-side DSP features (low-cut filter, compressor, equalizer, noise gate, reverb, etc.) are implemented in Wave Link's application software, not in the Wave:3 hardware. They are out of scope for this hardware-control daemon.

Detailed enumeration report

The remainder of this file is the original hardware enumeration report captured from the live device.

Executive Summary

A single Elgato Wave:3 USB audio device is connected to this host. It is the current default playback sink and default recording source. The device enumerates as a USB Audio Class 1.0 full-speed device with one stereo playback stream, one mono capture stream, a vendor-specific control interface, and a Device Firmware Upgrade (DFU) interface.

A co-located Elgato Facecam MK.2 (USB video device) shares the same USB hub chain but is not part of the audio system.

1. Device Identity

Attribute Value
Product Elgato Wave:3
Vendor Elgato Systems GmbH
USB VID:PID 0fd9:0070
USB bcdDevice (firmware revision) 1.22
Serial number WAVE3_SERIAL_REDACTED
USB bus:device 005:072
USB device path usb-0000:10:00.3-2.4.4.1.3
sysfs path /sys/bus/usb/devices/5-2.4.4.1.3
USB speed Full Speed (12 Mbps)
Power Bus powered, 100 mA
Runtime PM on, currently active, autosuspend delay 2000 ms
ALSA card index 3 (name Wave3)
Kernel driver snd-usb-audio

Raw files:

2. USB Topology

The Wave:3 is attached behind a chain of hubs on bus 5:

Bus 005.Port 001: Dev 001, root_hub
  Port 002: Dev 002, Hub
    Port 004: Dev 003, Hub
      Port 004: Dev 067, Hub
        Port 001: Dev 068, Hub
          Port 002: Dev 071, Elgato Facecam MK.2 (video)
          Port 003: Dev 072, Elgato Wave:3 (audio)
          Port 004: Dev 073, Hub
            Port 003: Dev 074, smartcard reader

Raw file: devices/lsusb-topology.txt

3. USB Interface Enumeration

The device exposes 5 interfaces in its single configuration:

Interface Class Subclass Driver Purpose
0 Audio Control Device snd-usb-audio Audio control (clocks, mixers, feature units)
1 Audio Streaming snd-usb-audio Stereo playback (headphone output)
2 Audio Streaming snd-usb-audio Mono capture (microphone input)
3 Vendor Specific (0xFF/0xF0) none none Proprietary Elgato/Wave Link control
4 Application Specific DFU (0x01/0x01) none Device Firmware Upgrade interface

Key endpoints:

Endpoint Direction Type Max packet Notes
0x01 OUT Isochronous async 582 bytes Playback audio data
0x81 IN Isochronous feedback 4 bytes Playback rate feedback
0x82 IN Isochronous async 291 bytes Capture audio data
0x83 IN Interrupt 2 bytes Audio-control status/mute events

The DFU interface advertises: download supported, upload unsupported, manifestation tolerant, will detach, 240 ms detach timeout, 64-byte transfer size, DFU version 1.10.

Raw file: devices/lsusb-elgato-wave3-verbose.txt

4. Audio Capabilities

4.1 Playback (headphone output)

Capability Value
Channels 2 (stereo)
Channel map Front Left, Front Right
Sample formats S24_3LE (24-bit stored in 3 bytes)
Sample rates 48000 Hz, 96000 Hz
Endpoint mode Asynchronous OUT with feedback IN
ALSA device hw:3,0 (pcmC3D0p)

4.2 Capture (microphone input)

Capability Value
Channels 1 (mono)
Channel map MONO
Sample formats S24_3LE (24-bit stored in 3 bytes)
Sample rates 48000 Hz, 96000 Hz
Endpoint mode Asynchronous IN
ALSA device hw:3,0 (pcmC3D0c)

4.3 Current runtime configuration

Both subdevices are active and owned by PipeWire (PID 3659) at 48000 Hz:

Stream State Format Channels Rate Period Buffer
Playback RUNNING S24_3LE 2 48000 Hz 512 32768
Capture RUNNING S24_3LE 1 48000 Hz 512 32768

Raw files:

5. ALSA Mixer Controls

Numid Name Type Access Current Range / dB
1 Playback Channel Map INTEGER read-only FL, FR fixed
2 Capture Channel Map INTEGER read-only MONO fixed
3 PCM Playback Switch BOOLEAN rw on —
4 PCM Playback Volume INTEGER rw 102 / 85% / -9.00 dB 0–120, -60 to 0 dB
5 Mic Capture Switch BOOLEAN rw on —
6 Mic Capture Volume INTEGER rw 24 / 30% / +12.00 dB 0–80, 0 to +40 dB

Raw file: alsa/amixer-contents.txt

6. PipeWire / PulseAudio View

  • Default sink: alsa_output.usb-Elgato_Systems_Elgato_Wave_3_WAVE3_SERIAL_REDACTED-00.iec958-stereo
  • Default source: alsa_input.usb-Elgato_Systems_Elgato_Wave_3_WAVE3_SERIAL_REDACTED-00.mono-fallback

6.1 Card

Property Value
Name alsa_card.usb-Elgato_Systems_Elgato_Wave_3_WAVE3_SERIAL_REDACTED-00
API ALSA / udev
ALSA path hw:3
Object serial 5361
Active profile output:iec958-stereo+input:mono-fallback
Available profiles off, output:analog-stereo+input:mono-fallback, output:analog-stereo, output:iec958-stereo+input:mono-fallback, output:iec958-stereo, pro-audio, input:mono-fallback

6.1a Card ports

Port Type Priority Profiles
analog-input-mic Microphone 8700 all input-capable profiles
analog-output Analog Output 9900 output:analog-stereo, output:analog-stereo+input:mono-fallback
iec958-stereo-output Digital Output (S/PDIF) 0 output:iec958-stereo, output:iec958-stereo+input:mono-fallback

6.2 Sink (playback)

Property Value
Name alsa_output.usb-Elgato_Systems_Elgato_Wave_3_WAVE3_SERIAL_REDACTED-00.iec958-stereo
Description Wave3
State RUNNING
Sample spec s24le 2ch 48000Hz
Channel map front-left, front-right
Volume 40% / -23.87 dB (both channels)
Node serial 5616
Period size / count 512 / 64
Max latency 16384/48000

6.3 Source (capture)

Property Value
Name alsa_input.usb-Elgato_Systems_Elgato_Wave_3_WAVE3_SERIAL_REDACTED-00.mono-fallback
Description Wave3 Mic
State IDLE
Sample spec s24le 1ch 48000Hz
Channel map mono
Volume 35% / -27.72 dB (base volume -40 dB)
Flags HARDWARE, HW_MUTE_CTRL, HW_VOLUME_CTRL, DECIBEL_VOLUME, LATENCY
Node serial 5617

6.4 Monitor source (software loopback of sink)

Property Value
Name alsa_output.usb-Elgato_Systems_Elgato_Wave_3_WAVE3_SERIAL_REDACTED-00.iec958-stereo.monitor
Description Monitor of Wave3
State RUNNING
Sample spec s24le 2ch 48000Hz
Channel map front-left, front-right
Volume 100% / 0.00 dB
Monitored sink alsa_output.usb-Elgato_Systems_Elgato_Wave_3_WAVE3_SERIAL_REDACTED-00.iec958-stereo

Raw file: pipewire/pactl-source-monitor-wave3.txt

Raw files:

7. Kernel / Driver Details

Item Value
Audio driver snd-usb-audio
ALSA card module mapping 3 snd_usb_audio
Related loaded modules snd_usb_audio, snd_usbmidi_lib, snd_ump, snd_hwdep, snd_pcm
USB audio class revision 1.00 (UAC 1.0)
Device enumeration path in kernel log usb 5-2.4.4.1.3: Product: Elgato Wave:3

Kernel access to dmesg is restricted on this host; equivalent enumeration evidence was captured from the systemd journal.

Raw files:

8. Device Nodes and Permissions

crw-rw----+ root audio 116, 17  /dev/snd/pcmC3D0p   (playback)
crw-rw----+ root audio 116, 18  /dev/snd/pcmC3D0c   (capture)
crw-rw----+ root audio 116, 19  /dev/snd/controlC3  (control)

Raw file: alsa/dev-snd.txt

9. Observations and Notes

  • Only one Wave:3 is connected. No Wave Link virtual mixer devices are present; the proprietary vendor interface (0xFF/0xF0) has no Linux driver loaded.
  • The microphone signal path is mono, while the headphone monitor path is stereo.
  • The hardware supports 24-bit/48 kHz and 96 kHz operation but is currently running at 48 kHz through PipeWire.
  • Both capture and playback subdevices are currently open and RUNNING, driven by PipeWire.
  • Although the hardware output terminal is a headphone output, the currently active PipeWire profile is output:iec958-stereo+input:mono-fallback; the analog-output port is also available if an analog-stereo profile is preferred.
  • The device includes a DFU interface, meaning firmware updates are possible over USB using a DFU tool.

10. Raw Data Inventory

All collected evidence lives under this repository root:

alsa/              ALSA card, device, mixer, and PCM state files
devices/           USB descriptors, topology, udev, sysfs, power
kernel/            Kernel journal entries and loaded module list
pipewire/          PipeWire/PulseAudio card, sink, source, and node dumps
report/            File manifest

See report/file-manifest.txt for the complete list.

11. Native Linux Control (new)

A working native control stack has been added under native-linux/:

  • wave3-daemon — C/GDBus daemon that controls the Wave:3 from userspace using only libusb and the session bus. No kernel module or driver detach is required.
  • wave3ctl — shell CLI that talks to the daemon.

How it works

The Wave:3's microphone mute, microphone gain, headphone mute and headphone volume are exposed through standard USB Audio Class 1.0 feature units:

Control Feature Unit entity Selector
Mic mute 6 1 (MUTE)
Mic gain 6 2 (VOLUME) — read-only, dial-controlled
HP mute 5 1 (MUTE)
HP volume 5 2 (VOLUME)

snd-usb-audio owns AudioControl interface 0, so userspace UAC requests with wIndex = (entity << 8) | 0 are rejected. By routing the same requests through the unclaimed vendor interface 3, wIndex = (entity << 8) | 3, the kernel allows the transfer and the firmware still accepts it.

Verified on this device

  • HP volume range: -60.0 dB … 0.0 dB
  • Mic gain range: 0.0 dB … 40.0 dB
  • Software control works for: mic mute, headphone mute, headphone volume
  • Mic gain is read-only via UAC (physical dial)
  • Level meters (input/playback) read via class control wValue=0x0001
  • Device info (serial, firmware/API version) read via wValue=0x000A

Quick start

cd native-linux
./install.sh
sudo install -Dm644 udev/50-elgato-wave3.rules /etc/udev/rules.d/
sudo udevadm control --reload-rules
sudo udevadm trigger --subsystem-match=usb --attr-match=idVendor=0fd9 --attr-match=idProduct=0070
systemctl --user enable --now wave3-daemon
wave3ctl status
wave3ctl mute toggle
wave3ctl volume 75

See native-linux/README.md for full details.

12. Reverse-Engineering Summary

A separate protocol investigation produced the following findings; see WAVE3_PROTOCOL_SUMMARY.md for the complete reference.

  • Standard UAC controls are fully working from Linux via libusb using wIndex = (entity << 8) | 3 through the unclaimed vendor interface 3. Verified controls: mic mute, mic gain (read-only dial), headphone mute, headphone volume.
  • Proprietary class-based control on interface 3 is implemented through endpoint-0 control transfers (bmRequestType=0xA1/0x21, bRequest=0x85/0x05, wIndex=0x3303). The Wave:3 exposes three live IDs: wValue=0x0000 (16-byte read/write config block), wValue=0x0001 (8-byte meter), and wValue=0x000A (51-byte device info). The config block is now fully mapped: dial value low/high (offsets 0/1), mic mute (offset 4), Clipguard (offset 5), dial flag (offset 7), headphone volume (offset 8), headphone mute (offset 9), indicator/mute-ring RGB (offsets 10/11/13), dial mode (offset 12), direct monitor mix (offset 14), and LED brightness (offset 15). Offsets 2, 3, and 6 are writable but unused on this firmware.
  • Static analysis of Wave Link 3.0 identified 309 logical control paths and app-level session fields (Clipguard, LowCut, MuteColorRGB, HeadphoneColorRGB, etc.). Low-cut/EQ/compressor are host-side DSP in Wave Link; the first-gen Wave:3 has no hardware low-cut or headphone color LED.
  • Fuzzing of interface 3 with vendor-type requests produced no responses and a dangerous DFU reset; class-type requests work for the three known IDs. Automated byte probing of the config block confirmed the layout above. Offsets 2, 3, and 6 are writable but without observable effect on this firmware; offsets 0/1 and 12 are updated by the firmware to reflect dial value and dial mode.
  • PipeWire topology for Wave Link parity was improved using patterns from the Undertone project: wave3-source renamed ALSA capture node, custom wave3-sink for headphones, and a wave3-null-sink to keep the mic awake.

The native control implementation lives under native-linux/.

13. Reproduction Commands

The data above was gathered with the following commands (run as the local user):

lsusb -d 0fd9:0070
lsusb -v -d 0fd9:0070
lsusb -t
aplay -l ; arecord -l
amixer -c 3 contents
cat /proc/asound/card3/stream0
cat /proc/asound/Wave3/pcm0p/sub0/hw_params
cat /proc/asound/Wave3/pcm0c/sub0/hw_params
pactl info
pactl list cards
pactl list sinks
pactl list sources
pw-cli info all
journalctl -k --grep='Wave:3' --no-pager
lsmod | grep -E 'snd|usb'

About

Educational reverse-engineering of the Elgato Wave:3 USB audio protocol and a native Linux D-Bus control daemon

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages