我合上了笔记本电脑的盖子,当我打开它时,扬声器或耳机都没有声音。
如果我启动 Windows 并重新启动以启动 Ubuntu,也会发生这种情况。如果我关闭计算机并打开,然后启动 Ubuntu,声音就会正常工作。
我按照 askubuntu 上的说明和声音故障排除程序进行了操作,但没有任何效果。请帮忙。
$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC295 Analog [ALC295 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 7: HDMI 1 [HDMI 1]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 8: HDMI 2 [HDMI 2]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 9: HDMI 3 [HDMI 3]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 10: HDMI 4 [HDMI 4]
Subdevices: 1/1
Subdevice #0: subdevice #0
$ sudo echo "options snd-hda-intel model=auto" > /etc/modprobe.d/snd-hda-intel.conf
bash: /etc/modprobe.d/snd-hda-intel.conf: Permission denied
$ sudo lspci -v
00:1f.3 Audio device: Intel Corporation Sunrise Point-H HD Audio (rev 31)
Subsystem: Hewlett-Packard Company Sunrise Point-H HD Audio
Flags: bus master, fast devsel, latency 32, IRQ 134
Memory at a4428000 (64-bit, non-prefetchable) [size=16K]
Memory at a4410000 (64-bit, non-prefetchable) [size=64K]
Capabilities: [50] Power Management version 3
Capabilities: [60] MSI: Enable+ Count=1/1 Maskable- 64bit+
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel
答案1
如果有效请告诉我。下面的命令将通过将其附加到 /etc/modules 来加载您的 snd-hda-intel 模块,您可能需要注销/登录。
echo "snd-hda-intel" | sudo tee -a /etc/modules