Repository navigation
Conversation
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #532
Adds the two onboard USB audio codecs of the ASUS ROG Zenith II Extreme (TRX40) to the
USB-Audio.pcm.iec958_devicetable:"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, soiec958:should not open it.Tested on AlmaLinux 10.2 (alsa-lib 1.2.15.3, PipeWire 1.4.11):
iec958:CARD=Audioopenshw: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