除恢复模式外,无法检测到声卡(Ubuntu 20.04.1 LTS)

除恢复模式外,无法检测到声卡(Ubuntu 20.04.1 LTS)

几天来,我的声卡再也无法检测到:声音参数窗口中只显示“虚拟输出”(根本没有输入)!我尝试了许多论坛解决方案,特别是我多次卸载并重新安装音频驱动程序;但这并没有改变任何东西…… :-(

但是,通过恢复模式启动时,音频工作正常。(使用 Windows 启动时音频工作正常)。所以我猜这是内核问题……尽管如此,尝试使用两个以前的(非恢复)内核版本中的任何一个启动也不起作用!(目前我的内核是 5.4.0-62-generic;因此两个以前的内核是 5.4.0-60-generic 和 5.4.0-58-generic)。

您对导致该问题的原因和解决方法有什么想法吗?如果您需要有关我的笔记本电脑配置的更多信息,请告诉我 :-)

编辑 -在正常模式下登录时,kern.log 读取(我在所有行中搜索“audio”、“sound”、“realtek”、“speaker”和“phone”):

kernel: [    0.178283] ACPI: Added _OSI(Linux-Lenovo-NV-HDMI-Audio)
kernel: [    3.416730] snd_hda_intel 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
kernel: [    3.502366] snd_hda_codec_realtek hdaudioC0D0: autoconfig for ALC3246: line_outs=1 (0x14/0x0/0x0/0x0/0x0) type:speaker
kernel: [    3.502369] snd_hda_codec_realtek hdaudioC0D0:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
kernel: [    3.502370] snd_hda_codec_realtek hdaudioC0D0:    hp_outs=1 (0x21/0x0/0x0/0x0/0x0)
kernel: [    3.502372] snd_hda_codec_realtek hdaudioC0D0:    mono: mono_out=0x0
kernel: [    3.502373] snd_hda_codec_realtek hdaudioC0D0:    inputs:
kernel: [    3.502374] snd_hda_codec_realtek hdaudioC0D0:      Headset Mic=0x19
kernel: [    3.502376] snd_hda_codec_realtek hdaudioC0D0:      Headphone Mic=0x1a
kernel: [    3.502377] snd_hda_codec_realtek hdaudioC0D0:      Internal Mic=0x12
kernel: [    3.557818] input: HDA Intel PCH Headphone Mic as /devices/pci0000:00/0000:00:1f.3/sound/card0/input12
kernel: [    3.557858] input: HDA Intel PCH HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:1f.3/sound/card0/input13
kernel: [    3.557893] input: HDA Intel PCH HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:1f.3/sound/card0/input14
kernel: [    3.557925] input: HDA Intel PCH HDMI/DP,pcm=8 as /devices/pci0000:00/0000:00:1f.3/sound/card0/input15
kernel: [    3.557995] input: HDA Intel PCH HDMI/DP,pcm=9 as /devices/pci0000:00/0000:00:1f.3/sound/card0/input16
kernel: [    3.558075] input: HDA Intel PCH HDMI/DP,pcm=10 as /devices/pci0000:00/0000:00:1f.3/sound/card0/input17

在恢复模式启动时,它会读取以下内容。请注意,时间~64 秒很可能是我第一次尝试(成功)发出一些声音进行测试

kernel: [    0.176116] ACPI: Added _OSI(Linux-Lenovo-NV-HDMI-Audio)
kernel: [   64.803641] snd_hda_intel 0000:00:1f.3: couldn't bind with audio component
kernel: [   64.860025] snd_hda_codec_realtek hdaudioC0D0: autoconfig for ALC3246: line_outs=1 (0x14/0x0/0x0/0x0/0x0) type:speaker
kernel: [   64.860027] snd_hda_codec_realtek hdaudioC0D0:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
kernel: [   64.860028] snd_hda_codec_realtek hdaudioC0D0:    hp_outs=1 (0x21/0x0/0x0/0x0/0x0)
kernel: [   64.860028] snd_hda_codec_realtek hdaudioC0D0:    mono: mono_out=0x0
kernel: [   64.860029] snd_hda_codec_realtek hdaudioC0D0:    inputs:
kernel: [   64.860030] snd_hda_codec_realtek hdaudioC0D0:      Headset Mic=0x19
kernel: [   64.860031] snd_hda_codec_realtek hdaudioC0D0:      Headphone Mic=0x1a
kernel: [   64.860032] snd_hda_codec_realtek hdaudioC0D0:      Internal Mic=0x12
kernel: [   64.909672] snd_hda_codec_hdmi hdaudioC0D2: No i915 binding for Intel HDMI/DP codec
kernel: [   64.910739] hdaudio hdaudioC0D2: Unable to bind the codec
kernel: [   64.911932] input: HDA Intel PCH Headphone Mic as /devices/pci0000:00/0000:00:1f.3/sound/card0/input11

因此,矛盾的是,当编解码器成功注定事情会变得糟糕……!

相关内容