![Fedora 29、Intel HD 音频、扬声器或耳机插孔没有声音](https://linux22.com/image/148198/Fedora%2029%E3%80%81Intel%20HD%20%E9%9F%B3%E9%A2%91%E3%80%81%E6%89%AC%E5%A3%B0%E5%99%A8%E6%88%96%E8%80%B3%E6%9C%BA%E6%8F%92%E5%AD%94%E6%B2%A1%E6%9C%89%E5%A3%B0%E9%9F%B3.png)
我使用的是 Fedora 29,但我的机器听不到任何声音。就操作系统而言(当使用 alsamixer、pavucontrol 等时),声音应该正常工作,没有任何静音或类似的情况,但扬声器或耳机插孔没有声音。我尝试卸载/重新安装pulseaudio,尝试使用各种模型选项创建/etc/modprobe.d/sound.conf(也尝试将其称为/etc/modprobe.d/alsa-base.conf),例如:
# cat /etc/modprobe.d/sound.conf
options snd_hda_intel model=imac27
这是 27 英寸 iMac (iMac18,3)
我在下面发布了有关该系统的一些相关信息,如果需要任何进一步的信息,请告诉我。如果有人能指出我正确的方向,我将不胜感激。
也许这可能会为某人提供线索?
# aplay /usr/share/sounds/gnome/default/alerts/bark.ogg
ALSA lib pulse.c:243:(pulse_connect) PulseAudio: Unable to connect: Connection refused
aplay: main:828: audio open error: Connection refused
(是的,我已经用谷歌搜索了这个错误相当广泛)
基本信息:
# uname -r
4.20.4-200.fc29.x86_64
# lspci | grep Audio
00:1f.3 Audio device: Intel Corporation 100 Series/C230 Series Chipset Family HD Audio Controller (rev 31)
01:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Ellesmere [Radeon RX 570/580]
我只想要普通的内置扬声器和耳机插孔,因为这些机器将部署在教育实验室中,我对启用 HDMI 音频(Radeon 设备)不感兴趣。
# lsmod | grep snd
snd_hda_codec_generic 90112 1
snd_hda_codec_hdmi 61440 1
snd_hda_intel 49152 7
snd_hda_codec 155648 3 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel
snd_hda_core 98304 4 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec
snd_hwdep 16384 1 snd_hda_codec
snd_seq 86016 0
snd_seq_device 16384 1 snd_seq
snd_pcm 118784 5 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_core
snd_timer 40960 2 snd_seq,snd_pcm
snd 94208 22 snd_hda_codec_generic,snd_seq,snd_seq_device,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_timer,snd_pcm
soundcore 16384 1 snd
# aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: Generic Analog [Generic Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: HDMI [HDA ATI HDMI], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: HDMI [HDA ATI HDMI], device 7: HDMI 1 [HDMI 1]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: HDMI [HDA ATI HDMI], device 8: HDMI 2 [HDMI 2]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: HDMI [HDA ATI HDMI], device 9: HDMI 3 [HDMI 3]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: HDMI [HDA ATI HDMI], device 10: HDMI 4 [HDMI 4]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: HDMI [HDA ATI HDMI], device 11: HDMI 5 [HDMI 5]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: HDMI [HDA ATI HDMI], device 12: HDMI 6 [HDMI 6]
Subdevices: 1/1
Subdevice #0: subdevice #0
输出来自
# alsa-info.sh --upload
http://www.alsa-project.org/db/?f=d4a05b5de509214a20cb2191dc3d9fbbbe377814