我已经在我的 HP Victus 笔记本电脑上安装了 Ubuntu 22.04,并且我注意到我遇到了输入音频设备未被检测到的问题,当检查设置->声音->输入时它变灰:(参见所附的屏幕截图):
我尝试使用另一个 ubuntu 版本 20 重新安装整个系统,但问题仍然存在。
当使用外部麦克风时,它工作正常,我卸载了音频驱动程序,但没有任何结果:
sudo apt remove --purge alsa-base pulseaudio
sudo apt install alsa-base pulseaudio
我通过 pavicontrol 验证,发现输入设备已拔出:(参见所附的屏幕截图) Pavucontrol 输入配置
可能有用的其他信息:aplay -l
命令输出:
**** List of PLAYBACK Hardware Devices ****
card 0: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 7: HDMI 1 [HDMI 1]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 8: HDMI 2 [HDMI 2]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 9: HDMI 3 [HDMI 3]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: Generic [HD-Audio Generic], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 2: Generic_1 [HD-Audio Generic], device 0: ALC245 Analog [ALC245 Analog]
Subdevices: 0/1
Subdevice #0: subdevice #0
lspci -knn|grep Audio -A3
01:00.1 Audio device [0403]: NVIDIA Corporation Device [10de:2291] (rev a1)
Subsystem: Hewlett-Packard Company Device [103c:8a22]
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel
--
06:00.1 Audio device [0403]: Advanced Micro Devices, Inc. [AMD/ATI] Device [1002:1640]
Subsystem: Hewlett-Packard Company Device [103c:8a22]
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel
--
06:00.5 Multimedia controller [0480]: Advanced Micro Devices, Inc. [AMD] Raven/Raven2/FireFlight/Renoir Audio Processor [1022:15e2] (rev 60)
Subsystem: Hewlett-Packard Company Raven/Raven2/FireFlight/Renoir Audio Processor [103c:8a22]
Kernel driver in use: snd_pci_acp6x
Kernel modules: snd_pci_acp3x, snd_rn_pci_acp3x, snd_pci_acp5x, snd_pci_acp6x, snd_acp_pci, snd_rpl_pci_acp6x, snd_pci_ps, snd_sof_amd_renoir, snd_sof_amd_rembrandt
06:00.6 Audio device [0403]: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 10h-1fh) HD Audio Controller [1022:15e3]
Subsystem: Hewlett-Packard Company Family 17h (Models 10h-1fh) HD Audio Controller [103c:8a22]
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel
07:00.0 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD] Device [1022:161f]
我还有另一个问题,我不知道它是否与第一个问题有关,当使用蓝牙连接耳机时,看起来它已连接但声音仍然直接来自笔记本电脑,并且在 pacucontrol 中耳机也被提及为未插电。
请您帮助我解决这个问题。
谢谢。
答案1
我也在使用 Ubuntu 22.04.3 LTS,遇到了同样的问题
sudo touch /usr/share/pipewire/media-session.d/with-pulseaudio
systemctl --user restart pipewire-session-manager
我发现 ubuntu 更新安装正在等待,我安装并重新启动后它就开始工作了。