我有一个集成到主板上的声卡,它与 Ubuntu 20.4 完美配合,直到最近的更新或软件安装(不完全确定是哪一个以及何时发生):
lspci -v | grep -A7 -i "audio" 21ms
00:1f.3 Audio device: Intel Corporation 200 Series PCH HD Audio
Subsystem: ASRock Incorporation 200 Series PCH HD Audio
Flags: bus master, fast devsel, latency 32, IRQ 11
Memory at df140000 (64-bit, non-prefetchable) [size=16K]
Memory at df120000 (64-bit, non-prefetchable) [size=64K]
Capabilities: <access denied>
00:1f.4 SMBus: Intel Corporation 200 Series/Z370 Chipset Family SMBus Controller
Subsystem: ASRock Incorporation 200 Series/Z370 Chipset Family SMBus Controller
--
01:00.1 Audio device: NVIDIA Corporation GP108 High Definition Audio Controller (rev a1)
Subsystem: NVIDIA Corporation GP108 High Definition Audio Controller
Flags: bus master, fast devsel, latency 0, IRQ 10
Memory at df080000 (32-bit, non-prefetchable) [size=16K]
Capabilities: <access denied>
我最终得到Dummy Output
并遵循了官方的声音故障排除指南。看来 Ubuntu 不知何故丢失了它的驱动程序:
System: Host: ubuntu Kernel: 5.8.0-40-generic x86_64 bits: 64 Desktop: Gnome 3.36.4
Distro: Ubuntu 20.04.1 LTS (Focal Fossa)
Audio: Device-1: Intel 200 Series PCH HD Audio driver: N/A
Device-2: NVIDIA GP108 High Definition Audio driver: N/A
和
sudo aplay -l 21ms
aplay: device_list:274: no soundcards found...
按照同一指南的第 5 步,我得到了:
find /lib/modules/`uname -r` | grep snd 5ms
/lib/modules/5.8.0-40-generic/kernel/sound/core/snd-rawmidi.ko
/lib/modules/5.8.0-40-generic/kernel/sound/core/snd-hrtimer.ko
/lib/modules/5.8.0-40-generic/kernel/sound/core/snd-pcm.ko
/lib/modules/5.8.0-40-generic/kernel/sound/core/snd-hwdep.ko
/lib/modules/5.8.0-40-generic/kernel/sound/core/snd-timer.ko
/lib/modules/5.8.0-40-generic/kernel/sound/core/seq/snd-seq-virmidi.ko
/lib/modules/5.8.0-40-generic/kernel/sound/core/seq/snd-seq-dummy.ko
/lib/modules/5.8.0-40-generic/kernel/sound/core/seq/snd-seq.ko
/lib/modules/5.8.0-40-generic/kernel/sound/core/seq/snd-seq-midi-event.ko
/lib/modules/5.8.0-40-generic/kernel/sound/core/seq/snd-seq-midi-emul.ko
/lib/modules/5.8.0-40-generic/kernel/sound/core/seq/snd-seq-midi.ko
/lib/modules/5.8.0-40-generic/kernel/sound/core/snd-seq-device.ko
/lib/modules/5.8.0-40-generic/kernel/sound/core/snd-pcm-dmaengine.ko
/lib/modules/5.8.0-40-generic/kernel/sound/core/snd-compress.ko
/lib/modules/5.8.0-40-generic/kernel/sound/core/snd.ko
/lib/modules/5.8.0-40-generic/kernel/sound/drivers/pcsp/snd-pcsp.ko
/lib/modules/5.8.0-40-generic/kernel/sound/pci/snd-ens1370.ko
遗憾的是,尽管更新了所有软件包,指南中的下一步还是失败了:
sudo apt-get install linux-restricted-modules-`uname -r` linux-generic 6ms
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package linux-restricted-modules-5.8.0-40-generic
E: Couldn't find any package by glob 'linux-restricted-modules-5.8.0-40-generic'
E: Couldn't find any package by regex 'linux-restricted-modules-5.8.0-40-generic'
唯一可能类似的报告问题集成声卡不起作用 Ubuntu 20.04 9 个月没有活动。
感谢这篇文章。我能够通过以下方式恢复驱动器:
sudo apt install linux-modules-extra-`uname -r`
后来我遵循了 Ubuntu 指南建议的完整程序:
sudo aplay -l
随后重新启动已解决问题。
编辑 2021-02-23
在另一次自动更新后问题再次出现,我不得不重新应用相同的修复程序。在我看来,额外的模块不会自动安装,您需要手动添加它们。
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句