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 <bluecheese@reagan.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
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"
# 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"
}