Skip to content

conf: USB-Audio: Add ASUS ROG Zenith II S/PDIF device mapping - #533

Open
byrcolin wants to merge 1 commit into
alsa-project:masterfrom
byrcolin:usb-audio-zenith-ii-spdif
Open

byrcolin wants to merge 1 commit into
alsa-project:masterfrom
byrcolin:usb-audio-zenith-ii-spdif

Conversation

@byrcolin

Copy link
Copy Markdown

Fixes #532

Adds the two onboard USB audio codecs of the ASUS ROG Zenith II Extreme (TRX40) to the USB-Audio.pcm.iec958_device table:

  • "Zenith II Main Audio" 1 (0b05:1916, Realtek ALC1220-VB): S/PDIF is PCM device 1; device 0 is the 8-channel analog output. Without this, iec958: opened device 0 and the IEC958 output in PipeWire/PulseAudio played to the analog jacks.
  • "Zenith II Front Headphone" 999 (0b05:1915): analog-only codec with no digital output, so iec958: should not open it.

Tested on AlmaLinux 10.2 (alsa-lib 1.2.15.3, PipeWire 1.4.11): iec958:CARD=Audio opens hw:0,1, audio plays over optical S/PDIF, and the front headphone codec shows up as analog stereo only.

This change was created by Claude (Anthropic's Claude Opus 5.5, high effort) via Claude Code and tested as working on the affected hardware by Colin Byrne.

🤖 Generated with Claude Code

The ASUS ROG Zenith II Extreme (TRX40) has two onboard USB audio codecs:

- "Zenith II Main Audio" (0b05:1916, Realtek ALC1220-VB): PCM device 0
  is the 8-channel analog output and the optical S/PDIF output is PCM
  device 1. Because the card is not in the iec958_device table, iec958:
  opened device 0, so the "Digital Stereo (IEC958)" output in
  PipeWire/PulseAudio sent audio to the analog jacks and the S/PDIF port
  was silent.
- "Zenith II Front Headphone" (0b05:1915) has a single analog playback
  device and no digital output, but iec958: still opened it and
  PipeWire/PulseAudio listed a non-functional digital output.

Tested on AlmaLinux 10.2 (alsa-lib 1.2.15.3, PipeWire 1.4.11): with this
mapping, iec958:CARD=Audio opens hw:0,1 and audio plays over optical
S/PDIF, and the front headphone codec shows up as analog stereo only.

Closes: alsa-project#532
Tested-by: Colin Byrne <colinb@accesspointmg.com>
Signed-off-by: Colin Byrne <colinb@accesspointmg.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

USB-Audio: ASUS ROG Zenith II S/PDIF output mapped to wrong PCM device

1 participant