添加到 /etc/modprobe.d/alsa-base.conf

添加到 /etc/modprobe.d/alsa-base.conf

升级后我再也没有声音了

以下是我的系统的一些参数

uname -a Linux ap3 5.8.0-51-generic #57~20.04.1-Ubuntu SMP 星期五 4 月 16 日 12:34:52 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

lspci -v | grep 音频

00:1b.0 音频设备:Intel Corporation C600/X79 系列芯片组高保真音频控制器(修订版 06) 子系统:Dell C600/X79 系列芯片组高保真音频控制器 08:00.1 音频设备:NVIDIA Corporation GK107 HDMI 音频控制器(修订版 a1) 子系统:NVIDIA Corporation GK107 HDMI 音频控制器

aplay——列出设备

aplay:device_list:276:未找到声卡...

我关注了一些帖子,并尝试

添加到 /etc/modprobe.d/alsa-base.conf

选项 snd-hda-intel dmic_detect=0

并且还#添加到黑名单 snd_soc_skl /etc/modprobe.d/blacklist.conf

这一切都没有成功

当我启动音量控制时,我有一个虚拟输出,而不是通常的物理输出 - 扬声器或耳机

如果有人能帮助解决此问题,

音量控制

答案1

HP Elitebook G6 遇到了完全相同的问题。我在 dmesg 中看到了以下内容:

Jun 17 15:41:00 LE1046 kernel: [    2.909867] sof-audio-pci 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040100
Jun 17 15:41:00 LE1046 kernel: [    2.909871] sof-audio-pci 0000:00:1f.3: Digital mics found on Skylake+ platform, using SOF driver
Jun 17 15:41:00 LE1046 kernel: [    2.909880] sof-audio-pci 0000:00:1f.3: enabling device (0000 -> 0002)
Jun 17 15:41:00 LE1046 kernel: [    2.910035] sof-audio-pci 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if 0x040100
Jun 17 15:41:00 LE1046 kernel: [    3.185589] sof-audio-pci 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
Jun 17 15:41:00 LE1046 kernel: [    3.192846] sof-audio-pci 0000:00:1f.3: use msi interrupt mode
Jun 17 15:41:00 LE1046 kernel: [    3.213728] sof-audio-pci 0000:00:1f.3: hda codecs found, mask 5
Jun 17 15:41:00 LE1046 kernel: [    3.213732] sof-audio-pci 0000:00:1f.3: using HDA machine driver skl_hda_dsp_generic now
Jun 17 15:41:00 LE1046 kernel: [    3.213739] sof-audio-pci 0000:00:1f.3: DMICs detected in NHLT tables: 4
Jun 17 15:41:00 LE1046 kernel: [    3.518745] sof-audio-pci 0000:00:1f.3: error: cl_dsp_init: timeout HDA_DSP_SRAM_REG_ROM_STATUS read
Jun 17 15:41:00 LE1046 kernel: [    3.518812] sof-audio-pci 0000:00:1f.3: error: status = 0x00000000 panic = 0x00000000
Jun 17 15:41:00 LE1046 kernel: [    3.877800] sof-audio-pci 0000:00:1f.3: error: cl_dsp_init: timeout HDA_DSP_SRAM_REG_ROM_STATUS read
Jun 17 15:41:00 LE1046 kernel: [    3.877805] sof-audio-pci 0000:00:1f.3: error: status = 0x00000000 panic = 0x00000000
Jun 17 15:41:00 LE1046 kernel: [    4.180322] sof-audio-pci 0000:00:1f.3: error: cl_dsp_init: timeout HDA_DSP_SRAM_REG_ROM_STATUS read
Jun 17 15:41:00 LE1046 kernel: [    4.180331] sof-audio-pci 0000:00:1f.3: error: status = 0x00000000 panic = 0x00000000
Jun 17 15:41:00 LE1046 kernel: [    4.180339] sof-audio-pci 0000:00:1f.3: error: dsp init failed after 3 attempts with err: -110
Jun 17 15:41:00 LE1046 kernel: [    4.180353] sof-audio-pci 0000:00:1f.3: error: status = 0xffffffff panic = 0xffffffff
Jun 17 15:41:00 LE1046 kernel: [    4.180357] sof-audio-pci 0000:00:1f.3: error: failed to reset DSP
Jun 17 15:41:00 LE1046 kernel: [    4.180358] sof-audio-pci 0000:00:1f.3: error: failed to boot DSP firmware -110
Jun 17 15:41:00 LE1046 kernel: [    4.230811] sof-audio-pci 0000:00:1f.3: error: hda_dsp_core_reset_enter: timeout on HDA_DSP_REG_ADSPCS read
Jun 17 15:41:00 LE1046 kernel: [    4.230813] sof-audio-pci 0000:00:1f.3: error: dsp core reset failed: core_mask f

这似乎对我有用:

sudo tee /etc/modprobe.d/alsa-fix.conf <<<'options snd-hda-intel dmic_detect=0'

sudo reboot

我可以在设置中看到我的声卡,而不再看到虚拟输出。

在此处输入图片描述

相关内容