From 7c0de2d10906be6e6ddc95fc3997f906ac131450 Mon Sep 17 00:00:00 2001 From: Tomcatt Date: Sun, 14 Jun 2026 23:16:54 +0900 Subject: [PATCH] USB-Audio: ALC4082 - add MSI MEG X870E GODLIKE (0db0:e5c3) The MSI MEG X870E GODLIKE (MS-7E48) uses the Realtek ALC4082 codec presented as a USB Audio class device (VID:PID 0db0:e5c3). Add the device to the ALC4080 profile match in USB-Audio.conf. Also add it to the spdif_dev2 condition in ALC4080-HiFi.conf: the optical S/PDIF output on this board is on ALSA sub-device 2 (Interface 6, Endpoint 8 OUT) rather than the default sub-device 3. Without this fix, the iec958-stereo ACP profile produces valid S/PDIF framing that causes the receiver to lock on, but the PCM payload is silent. Confirmed working with sub-device 2 on kernel 7.0.12. Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/789 Signed-off-by: Tomcatt Signed-off-by: Jaroslav Kysela --- ucm2/USB-Audio/Realtek/ALC4080-HiFi.conf | 2 +- ucm2/USB-Audio/USB-Audio.conf | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/ucm2/USB-Audio/Realtek/ALC4080-HiFi.conf b/ucm2/USB-Audio/Realtek/ALC4080-HiFi.conf index f6cf69d..378d0ce 100644 --- a/ucm2/USB-Audio/Realtek/ALC4080-HiFi.conf +++ b/ucm2/USB-Audio/Realtek/ALC4080-HiFi.conf @@ -98,7 +98,7 @@ If.spdif_dev2 { Condition { Type RegexMatch String "${CardComponents}" - Regex "USB(0b05:(1996|1a5[23c])|0db0:1feb)" + Regex "USB(0b05:(1996|1a5[23c])|0db0:(1feb|e5c3))" } True.Define { SpdifName "S/PDIF Output" diff --git a/ucm2/USB-Audio/USB-Audio.conf b/ucm2/USB-Audio/USB-Audio.conf index 8231f52..3dae935 100644 --- a/ucm2/USB-Audio/USB-Audio.conf +++ b/ucm2/USB-Audio/USB-Audio.conf @@ -124,10 +124,11 @@ Macro.alc4080.RegexMatch { # 0db0:d4fa MSI MPG B850I Edge TI Wifi # 0db0:d6e7 MSI MPG X670E Carbon Wifi # 0db0:e1f8 MSI MEG X670E Godlike + # 0db0:e5c3 MSI MEG X870E GODLIKE # 26ce:0a06 ASRock X670E/Z790 Taichi # 26ce:0a08 ASRock Z790 PG-ITX/TB4, X870 Steel Legend # 26ce:0a0b ASRock X870E Taichi - Id "((0414:a0(0e|1[0124]))|(0955:cf0a)|(0b05:(19(84|9[69]|ac)|1a(16|2[07]|5[23c]|7a|97|f1)|1b(7c|9b|e1)))|(0db0:(005a|0b58|1(24b|51f|9a2|feb)|3130|36e7|4(19c|22d|240|88c|c84)|543d|62a4|6c[0c]9|70d3|7696|82c[47]|8af7|9(5bb|61e|e6d)|a(073|228|47c|74b)|b202|c(c78|d0e)|d(1d7|4fa|6e7)|e1f8))|(26ce:0a0[68b]))" + Id "((0414:a0(0e|1[0124]))|(0955:cf0a)|(0b05:(19(84|9[69]|ac)|1a(16|2[07]|5[23c]|7a|97|f1)|1b(7c|9b|e1)))|(0db0:(005a|0b58|1(24b|51f|9a2|feb)|3130|36e7|4(19c|22d|240|88c|c84)|543d|62a4|6c[0c]9|70d3|7696|82c[47]|8af7|9(5bb|61e|e6d)|a(073|228|47c|74b)|b202|c(c78|d0e)|d(1d7|4fa|6e7)|e(1f8|5c3)))|(26ce:0a0[68b]))" Profile "Realtek/ALC4080" } -- 2.52.0