我有带芯片组 ALC892 的 MB TOMAHAWK B350,音频随机工作正常,但有时会静音或发出噼啪声。
在谷歌上有很多关于这个 ALC892 的配置,但从未解决问题。<
我花了更多时间来寻找解决方案
$ aplay -l
**** Lista di PLAYBACK dispositivi hardware ****
scheda 0: HDMI [HDA ATI HDMI], dispositivo 3: HDMI 0 [HDMI 0]
Sottoperiferiche: 0/1
Sottoperiferica #0: subdevice #0
scheda 0: HDMI [HDA ATI HDMI], dispositivo 7: HDMI 1 [HDMI 1]
Sottoperiferiche: 1/1
Sottoperiferica #0: subdevice #0
scheda 0: HDMI [HDA ATI HDMI], dispositivo 8: HDMI 2 [HDMI 2]
Sottoperiferiche: 1/1
Sottoperiferica #0: subdevice #0
scheda 0: HDMI [HDA ATI HDMI], dispositivo 9: HDMI 3 [HDMI 3]
Sottoperiferiche: 1/1
Sottoperiferica #0: subdevice #0
scheda 1: Generic [HD-Audio Generic], dispositivo 0: ALC892 Analog [ALC892 Analog]
Sottoperiferiche: 0/1
Sottoperiferica #0: subdevice #0
你能帮我吗?谢谢
问题应该是音频不工作时,
我跑journalctl -b |grep -i Failed and find
apr 12 09:12:03 MS-7A34 (udev-worker)[695]: controlC1: Process '/usr/sbin/alsactl -E HOME=/run/alsa -E XDG_RUNTIME_DIR=/run/alsa/runtime restore 1' failed with exit code 99.
apr 12 09:12:05 MS-7A34 alsactl[1160]: /usr/sbin/alsactl: set_control:1339: failed to obtain info for control #5 (No such file or directory)
apr 12 09:12:05 MS-7A34 alsactl[1160]: /usr/sbin/alsactl: set_control:1339: failed to obtain info for control #6 (No such file or directory)
我找不到解决方案
答案1
更新 ......
使用之前的步骤后问题仍然存在,现在我已使用 UDEV 移除卡
lspci -nn -s 28:00
28:00.0 VGA compatible controller [0300]: Advanced Micro Devices, <br/>Inc. [AMD/ATI] Navi 31 [Radeon RX 7900 XT/7900 XTX] [1002:744c] (rev ce)
add file
/etc/udev/rules.d/10-remove-amd-audio.rules
ACTION=="add", KERNEL=="0000:28:00.1", SUBSYSTEM=="pci", RUN="/bin/sh -c 'echo 1 > /sys/bus/pci/devices/0000:28:00.1/remove"
reboot
there is only audio on board
lspci |grep -i audio
2a:00.4 Audio device: Advanced Micro Devices, Inc. [AMD] Starship/Matisse HD Audio Controller
目前运行良好