From 4b8c56ceab4a7a32c2b07328876426f904233c49 Mon Sep 17 00:00:00 2001 From: Jaroslav Kysela Date: Thu, 11 Jan 2024 15:17:36 +0100 Subject: [PATCH] USB-Audio: ALC4080 - disable S/PDIF for 0db0:36e7 (MSI MPG B650I EDGE WIFI) Link: https://github.com/alsa-project/alsa-ucm-conf/issues/281 Signed-off-by: Jaroslav Kysela --- ucm2/USB-Audio/Realtek/ALC4080-HiFi.conf | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/ucm2/USB-Audio/Realtek/ALC4080-HiFi.conf b/ucm2/USB-Audio/Realtek/ALC4080-HiFi.conf index 4c51946..39cc448 100644 --- a/ucm2/USB-Audio/Realtek/ALC4080-HiFi.conf +++ b/ucm2/USB-Audio/Realtek/ALC4080-HiFi.conf @@ -64,6 +64,15 @@ If.spdif_ctl { } } +If.spdif_nodev { + Condition { + Type RegexMatch + String "${CardComponents}" + Regex "USB(0db0:36e7)" + } + True.Define.SpdifName "" +} + If.spdif_dev2 { Condition { Type RegexMatch -- 2.47.1