diff options
author | Jaroslav Kysela <perex@perex.cz> | 2022-09-07 09:23:29 +0200 |
---|---|---|
committer | Jaroslav Kysela <perex@perex.cz> | 2022-09-07 09:24:27 +0200 |
commit | 89b151c7af5e437894cf820a34a4ab08752bc845 (patch) | |
tree | c23010ca123ca8cf8f49744dfe922ad25da0984f | |
parent | 439a85fa82006d22ebab2f54134b467d94f12494 (diff) |
USB-Audio: ALC4080 - correct S/PDIF PCM device for USB 0db0:1feb
USB 0db0:1feb - MSI Edge Wifi Z690
BugLink: https://github.com/alsa-project/alsa-ucm-conf/issues/210
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
-rw-r--r-- | ucm2/USB-Audio/Realtek/ALC4080-HiFi.conf | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/ucm2/USB-Audio/Realtek/ALC4080-HiFi.conf b/ucm2/USB-Audio/Realtek/ALC4080-HiFi.conf index 8023178..e18de59 100644 --- a/ucm2/USB-Audio/Realtek/ALC4080-HiFi.conf +++ b/ucm2/USB-Audio/Realtek/ALC4080-HiFi.conf @@ -32,6 +32,15 @@ Define { SpdifPCM "hw:${CardId},3" } +If.spdif_dev2 { + Condition { + Type RegexMatch + String "${CardComponents}" + Regex "USB(0b05:1996|0db0:1feb)" + } + True.Define.SpdifPCM "hw:${CardId},2" +} + If.asus-rog-usb { Condition { Type RegexMatch @@ -39,7 +48,6 @@ If.asus-rog-usb { Regex "USB(0b05:1996)" } True.Define { - SpdifPCM "hw:${CardId},2" Mic1Name "Front Microphone" Mic2Name "Microphone" Mic2Mixer "Analog In" |