挂起后无声音

挂起后无声音

在装有 Ubuntu 19.04(与 Windows 10 双启动)的 HP 笔记本电脑上,内置扬声器和耳机可以正常工作。不幸的是,只有在启动或重启后才能正常工作,在将笔记本电脑从挂起状态唤醒后则无法正常工作。

Ubuntu 在挂起后识别音频设备(在 lspci 中列出),但扬声器和耳机均无法工作。音量可以修改,但不会改变任何内容。您知道如何在挂起后强制重新加载它们吗?

sudo lspci -v给出:

00:0e.0 Audio device: Intel Corporation Device 3198 (rev 03)
Subsystem: Hewlett-Packard Company Device 84b6
Flags: bus master, fast devsel, latency 0, IRQ 127
Memory at a1310000 (64-bit, non-prefetchable) [size=16K]
Memory at a1000000 (64-bit, non-prefetchable) [size=1M]
Capabilities: [50] Power Management version 3
Capabilities: [80] Vendor Specific Information: Len=14 <?>
Capabilities: [60] MSI: Enable+ Count=1/1 Maskable- 64bit+
Capabilities: [70] Express Root Complex Integrated Endpoint, MSI 00
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel, snd_soc_skl

aplay -l重新启动和从挂起状态唤醒后立即给出相同的输出:

**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC236 Analog [ALC236 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

我尝试了建议的命令在步骤 1 下没有成功。

我的笔记本电脑是 14ma0307ng。

答案1

看起来像这个错误:https://bugs.freedesktop.org/show_bug.cgi?id=110916#c5

在补丁进入 Canonical 的存储库之前,还有一个解决方法。如果你不需要 HDMI 音频输出,只需删除

snd_hda_intel.probe_mask=0x01

到内核​​启动参数。对我有用。

相关内容