]> git.alsa-project.org Git - alsa-ucm-conf.git/commitdiff
USB-Audio: ALC4080 - disable S/PDIF for 0db0:36e7 (MSI MPG B650I EDGE WIFI)
authorJaroslav Kysela <perex@perex.cz>
Thu, 11 Jan 2024 14:17:36 +0000 (15:17 +0100)
committerJaroslav Kysela <perex@perex.cz>
Thu, 11 Jan 2024 14:18:15 +0000 (15:18 +0100)
Link: https://github.com/alsa-project/alsa-ucm-conf/issues/281
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
ucm2/USB-Audio/Realtek/ALC4080-HiFi.conf

index 4c51946641004976b7cc82b5eb1edde354fe330f..39cc448e695c3b49f23987a283e3e2818c85c1e9 100644 (file)
@@ -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