From: Brian Kroth Date: Fri, 16 Oct 2026 19:30:42 +0000 (-0500) Subject: conf: USB-Audio: use PCM device 1 for IEC958 on C-Media HIFI Decode Audio X-Git-Url: https://git.alsa-project.org/?a=commitdiff_plain;h=8adb4850c426d5388de72e7638f46cff2ae7edba;p=alsa-lib.git conf: USB-Audio: use PCM device 1 for IEC958 on C-Media HIFI Decode Audio The C-Media "HIFI Decode Audio" USB device (0d8c:0089) exposes its analog DAC on PCM device 0 (USB interface 1, up to 768 kHz and DSD) and its optical S/PDIF output on PCM device 1 (USB interface 2, up to 192 kHz). Device 2 is the non-PCM alternate setting of the same S/PDIF endpoint. Without an entry here, iec958:CARD=... resolves to device 0, so the "Digital Stereo (IEC958)" output in PipeWire/PulseAudio plays through the analog jack and the optical output stays silent. Closes: https://github.com/alsa-project/alsa-lib/pull/534 Co-Authored-By: Claude Opus 5.5 (1M context) Signed-off-by: Brian Kroth Signed-off-by: Jaroslav Kysela --- diff --git a/src/conf/cards/USB-Audio.conf b/src/conf/cards/USB-Audio.conf index 5120b2ab..6a43b026 100644 --- a/src/conf/cards/USB-Audio.conf +++ b/src/conf/cards/USB-Audio.conf @@ -37,6 +37,8 @@ USB-Audio.pcm.surround40_type { # If a device does not use the first PCM device for digital data, the device # number for the iec958 device can be changed here. USB-Audio.pcm.iec958_device { + "C-Media HIFI Decode Audio" 1 + # "NoiseBlaster 3000" 42 "USB Sound Blaster HD" 1 "SB Omni Surround 5.1" 1