虚拟输出 - Pop OS、配备 Bang And Olufsen 扬声器的 HP Omen 15

虚拟输出 - Pop OS、配备 Bang And Olufsen 扬声器的 HP Omen 15
niranjan@pop-os:~$ cat /proc/asound/cards
0 [NVidia         ]: HDA-Intel - HDA NVidia
                  HDA NVidia at 0xb4000000 irq 17

niranjan@pop-os:~$ lspci -vvv | grep -A8 Audio
00:1f.3 Audio device: Intel Corporation Cannon Lake PCH cAVS (rev 10) (prog-if 80)
Subsystem: Hewlett-Packard Company Cannon Lake PCH cAVS
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 32, Cache Line Size: 64 bytes
Interrupt: pin A routed to IRQ 16
Region 0: Memory at b441c000 (64-bit, non-prefetchable) [size=16K]
Region 4: Memory at b4100000 (64-bit, non-prefetchable) [size=1M]
Capabilities: <access denied>
--
01:00.1 Audio device: NVIDIA Corporation GP107GL High Definition Audio         Controller (rev a1)
Subsystem: Hewlett-Packard Company GP107GL High Definition Audio Controller
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0, Cache Line Size: 64 bytes
Interrupt: pin B routed to IRQ 17
Region 0: Memory at b4000000 (32-bit, non-prefetchable) [size=16K]
Capabilities: <access denied>
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel

alsamixer 仅显示此卡。

在此输入图像描述

我无法让任何音频工作,我有 B&O 扬声器,在安装流行操作系统时一直使用虚拟输出作为输出设备。我该怎么办?

答案1

我实际上也遇到了同样的问题,经过几个月的挖掘,我找到了解决方案。

echo "options snd-hda-intel model=generic" | sudo tee -a /etc/modprobe.d/alsa-base.conf

echo "options snd-hda-intel dmic_detect=0" | sudo tee -a /etc/modprobe.d/alsa-base.conf

echo "blacklist snd_soc_skl" | sudo tee -a /etc/modprobe.d/blacklist.conf

这不是你的声音驱动程序的问题,看起来 5.0 的内核有这个问题。我已经安装了 Ubuntu 16.04 并且一切正常,所以这让我得出结论,这是内核(alsa 驱动程序)问题而不是 ubuntu 问题。经过几个月的挖掘,我在这个网站上找到了这些命令https://www.linuxuprising.com/2018/06/fix-no-sound-dummy-output-issue-in.html有很好的解释。我发布的命令适用于 ubuntu 20.04 和 Fedora 32(这是我测试过的)希望这会有所帮助

答案2

我刚刚在我的 omen 17 上安装了 popos,使用了一组类似的命令:

echo "options snd-hda-intel dmic_detect=0" | sudo tee -a /etc/modprobe.d/alsa-base.conf  
echo "blacklist snd_soc_skl" | sudo tee -a /etc/modprobe.d/blacklist.conf  

我想我会发布这个以防其他人四处张望。除了虚拟声音之外,安装过程完美无缺。

相关内容