突然间,就在一周前,我的运行 Ubuntu 16.04 的 Lenovo Yoga Pro 2 没有任何声音。当我打开声音设置时,没有音频输出选项,并且无法检测到正在播放音频的应用程序。声卡可以正常工作,我安装了新的音频驱动程序,但没有任何作用。
当我运行aplay -l
我得到的结果是
**** List of PLAYBACK Hardware Devices ****
card 0: HDMI [HDA Intel HDMI], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: HDMI [HDA Intel HDMI], device 7: HDMI 1 [HDMI 1]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: HDMI [HDA Intel HDMI], device 8: HDMI 2 [HDMI 2]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: HDMI [HDA Intel HDMI], device 9: HDMI 3 [HDMI 3]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: HDMI [HDA Intel HDMI], device 10: HDMI 4 [HDMI 4]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: PCH [HDA Intel PCH], device 0: ALC233 Analog [ALC233 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
答案1
安装 pulseaudio-equalizer 后,我遇到了同样的问题。pulseaudio 守护进程始终无法启动,系统日志中记录了以下内容:
cat /var/log/syslog* | grep -i pulse
[pulseaudio] module.c: Failed to load module "module-ladspa-sink" (argument: "sink_name=ladspa_output.mbeq_1197.mbeq master=alsa_output.pci-0000_00_1b.0.analog-stereo plugin=mbeq_1197 label=mbeq control=-8.2,-7.6,7.2,6.3,3.0,-1.0,-5.6,-6.3,-4.5,-4.0,1.1,1.2,5.3,7.3,8.2"): initialization failed.
[pulseaudio] main.c: Module load failed.
[pulseaudio] main.c: Failed to initialize daemon.
[pulseaudio] main.c: Daemon startup failed.
Pulseaudio-equalizer 修改了 audioplus 配置,由于新设置之一,它无法启动。因此我清理了 ~/.config/pulse,重启后声音又恢复了。