我买了一台新的 LG Gram 笔记本电脑(参见规格 -> 1),并立即用 Ubuntu 20.04 LTS 替换了 Windows。除了没有声音之外,我的安装没有任何问题。我知道有很多线程讨论这个问题,并且我已经进行了几个小时的故障排除。到目前为止,没有什么对我有用,因此我向社区提出这个问题。我将提供尽可能多的关于我已经尝试过的“解决方案”的信息。希望有人可以帮助我。
首先,我执行了 Ubuntu 帮助应用程序中内置的故障排除步骤:
lspci -v后返回以下与音频相关的输出:00:1f.3 Multimedia audio controller: Intel Corporation Device a0c8 (rev 20)
Subsystem: LG Electronics, Inc. Device 0400
Flags: bus master, fast devsel, latency 64, IRQ 166
Memory at 603d188000 (64-bit, non-prefetchable) [size=16K]
Memory at 603d000000 (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+
Kernel driver in use: sof-audio-pci
Kernel modules: snd_hda_intel, snd_sof_pci
Run Code Online (Sandbox Code Playgroud)
我注意到听说正在使用的内核驱动程序可能会被设置为snd_hda_intel对此进行调查。
pulseaudio,但alsa没有成功,sudo apt-get install --reinstall alsa-base pulseaudio& sudo alsa force-reload。alsamixer,没有任何声音被静音,并尝试手动更改系统声卡,但仍然没有声音。我打开sudo gedit /etc/default/grub并更改:
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
Run Code Online (Sandbox Code Playgroud)
到
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash snd_hda_intel.dmic_detect=0"
Run Code Online (Sandbox Code Playgroud)
之后我执行sudo update-grub并重新启动了我的系统。我可以确认驱动程序已更改,aplay -l但我仍然没有声音。我使用以下方法收集了更多信息modinfo snd_hda_intel:
parm: dmic_detect:Allow DSP driver selection (bypass this driver) (0=off, 1=on) (default=1); deprecated, use snd-intel-dspcfg.dsp_driver option instead (bool)
Run Code Online (Sandbox Code Playgroud)
还modinfo snd_intel_dspcfg提供:
parm: dsp_driver:Force the DSP driver for Intel DSP (0=auto, 1=legacy, 2=SST, 3=SOF) (int)
Run Code Online (Sandbox Code Playgroud)
在另一个线程之后,我还添加了snd_intel_dspcfg.dsp_driver=1继续GRUB_CMDLINE_LINUX_DEFAULT更新 grub 并重新启动。依然没有。
首先我重置解决方案3,然后执行以下操作:
options snd-hda-intel dmic_detect=0到etc/modprobe.d/alsa-base.conf。blacklist snd_soc_skl到etc/modprobe.d/blacklist.conf。还是没有运气。所以我现在撤消了这些更改。
User:~$ inxi -SMA
System: Host: Ryan-Ubuntu-Laptop Kernel: 5.8.0-43-generic x86_64 bits: 64 Desktop: Gnome 3.36.4
Distro: Ubuntu 20.04.2 LTS (Focal Fossa)
Machine: Type: Laptop System: LG product: 16Z90P-K.AA78A1 v: 0.1 serial: <superuser/root required>
Mobo: LG model: 16Z90P v: FAB1 serial: <superuser/root required> UEFI: Phoenix v: T2ZF0250 X64
date: 01/04/2021
Audio: Device-1: Intel driver: sof-audio-pci
Sound Server: ALSA v: k5.8.0-43-generic
Run Code Online (Sandbox Code Playgroud)
任何帮助都将非常感激,因为我想让系统启动并运行起来。
与 2021 LG gram 17Z90P 相同
声音适用于耳机插孔。
声音适用于 HDMI 端口和两个 Thunderbolt 4 端口。
声音通过蓝牙工作。
但笔记本电脑自带的扬声器没有声音。
在 kubuntu 20.10 和 arch linux 上