我购买了这款预装了 Ubuntu 18.04 的 Dell Latitude 3510。购买 6 天后,我在音频输出方面遇到了问题。我安装了工作所需的软件。我不知道哪个软件导致了这个问题,但我设备上的音频无法正常工作。它一直正常工作到第 5 天,但现在无法正常工作。我拜访了卖给我这台笔记本电脑的经销商,但他们没有可以使用 Ubuntu 的工程师 :(
板载音频不工作,但是,如果有任何设备连接蓝牙,它就可以工作。
我尝试按照这个解决方案但它对我没有用。虚拟输出无声音。
有人能帮帮我吗?我不想重新安装 Ubuntu 或做任何会损害我的数据的事情。
-------------------------- 添加所提及的命令的输出
$ uname -a
Linux hemant-Latitude-3510 5.4.0-74-generic #83~18.04.1-Ubuntu SMP Tue May 11 16:01:00 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
hemant@hemant-Latitude-3510:~$ cat /proc/asound/cards
--- no soundcards ---
hemant@hemant-Latitude-3510:~$ dpkg -L linux-modules-$(uname -r)-generic | grep snd
dpkg-query: package 'linux-modules-5.4.0-74-generic-generic' is not installed
Use dpkg --info (= dpkg-deb --info) to examine archive files,
and dpkg --contents (= dpkg-deb --contents) to list their contents.
hemant@hemant-Latitude-3510:~$ inxi -SA
Command 'inxi' not found, but can be installed with:
sudo apt install inxi
hemant@hemant-Latitude-3510:~$ lspci -nnk | grep -n -A 4 Audio
hemant@hemant-Latitude-3510:~$ aplay -l
aplay: device_list:270: no soundcards found...
hemant@hemant-Latitude-3510:~$ sudo lshw -C multimedia
[sudo] password for hemant:
*-usb:1
description: Video
product: Integrated_Webcam_HD
vendor: CNFHH47R052430381E70
physical id: 6
bus info: usb@1:6
version: 83.30
capabilities: usb-2.01
configuration: driver=uvcvideo maxpower=500mA speed=480Mbit/s
*-multimedia
description: Multimedia audio controller
product: Intel Corporation
vendor: Intel Corporation
physical id: 1f.3
bus info: pci@0000:00:1f.3
version: 00
width: 64 bits
clock: 33MHz
capabilities: pm msi bus_master cap_list
configuration: driver=sof-audio-pci latency=64
resources: iomemory:600-5ff iomemory:600-5ff irq:134 memory:6001118000-600111bfff memory:6001000000-60010fffff
hemant@hemant-Latitude-3510:~$ dpkg -l | grep alsa
ii alsa-base 1.0.25+dfsg-0ubuntu5 all ALSA driver configuration files
ii alsa-utils 1.1.3-1ubuntu1 amd64 Utilities for configuring and using ALSA
ii gstreamer1.0-alsa:amd64 1.14.5-0ubuntu1~18.04.3 amd64 GStreamer plugin for ALSA
hemant@hemant-Latitude-3510:~$ sudo alsa force-reload
Unloading ALSA sound driver modules: snd-soc-skl-hda-dsp snd-soc-hdac-hdmi snd-soc-dmic snd-hda-codec-hdmi snd-hda-codec-realtek snd-hda-codec-generic snd-sof-pci snd-sof-intel-hda-common snd-soc-hdac-hda snd-sof-intel-hda snd-sof-intel-byt snd-sof-intel-ipc snd-sof snd-sof-xtensa-dsp snd-hda-ext-core snd-soc-acpi-intel-match snd-soc-acpi snd-soc-core snd-compress snd-pcm-dmaengine snd-hda-intel snd-intel-dspcfg snd-hda-codec snd-hda-core snd-hwdep snd-pcm snd-seq-midi snd-seq-midi-event snd-rawmidi snd-seq snd-seq-device snd-timer.
Loading ALSA sound driver modules: snd-soc-skl-hda-dsp snd-soc-hdac-hdmi snd-soc-dmic snd-hda-codec-hdmi snd-hda-codec-realtek snd-hda-codec-generic snd-sof-pci snd-sof-intel-hda-common snd-soc-hdac-hda snd-sof-intel-hda snd-sof-intel-byt snd-sof-intel-ipc snd-sof snd-sof-xtensa-dsp snd-hda-ext-core snd-soc-acpi-intel-match snd-soc-acpi snd-soc-core snd-compress snd-pcm-dmaengine snd-hda-intel snd-intel-dspcfg snd-hda-codec snd-hda-core snd-hwdep snd-pcm snd-seq-midi snd-seq-midi-event snd-rawmidi snd-seq snd-seq-device snd-timer.
答案1
问题可能由很多原因引起。一种可能性(也许是我的第一猜测)是驱动程序问题。首先,您应该发布一些命令的输出以开始诊断。检查Ubuntu 20.04 重启后只有“虚拟输出”(声音)-驱动程序/模块损坏
发布输出(或您认为相关的任何其他观察结果)
$ uname -a
$ cat /proc/asound/cards
$ dpkg -L linux-modules-$(uname -r)-generic | grep snd
$ inxi -SA
$ lspci -nnk | grep -n -A 4 Audio
$ aplay -l
$ sudo lshw -C multimedia
$ dpkg -l | grep alsa
$ sudo alsa force-reload
首先,尝试安装然后重新启动
$ sudo apt-get install linux-modules-extra-$(uname -r)