我已经安装了 Debian 11.0 bullseye,但声音无法正常工作,未检测到扬声器和麦克风 我的声卡是 Intel Corporation Comet Lake PCH-LP cAVS
内核详细信息
uname -a
Linux debian 5.10.0-17-amd64 #1 SMP Debian 5.10.136-1 (2022-08-13) x86_64 GNU/Linux
可以找到完整的硬件探针这里
lspci
0:1f.3 Multimedia audio controller: Intel Corporation Comet Lake PCH-LP cAVS
alsactl init
alsa-lib parser.c:260:(error_node) UCM is not supported for this HDA model (HDA Intel PCH at 0xb121c000 irq 148)
alsa-lib main.c:1014:(snd_use_case_mgr_open) error: failed to import hw:1 use case configuration -6
Found hardware: "HDA-Intel" "Intel Kabylake HDMI" "HDA:8086280b,80860101,00100000" "0x152d" "0x125d"
Hardware is initialized using a generic method
通过运行上述命令,我注意到找到的硬件是“Intel Kabylake HDMI”
但我的音响车是英特尔彗星湖驱动程序是 snd_hda_intel
列出播放硬件设备
aplay -l
**** List of PLAYBACK Hardware Devices ****
card 1: PCH [HDA Intel PCH], device 3: HDMI 0 [HDMI 0]
Subdevices: 0/1
Subdevice #0: subdevice #0
card 1: PCH [HDA Intel PCH], device 7: HDMI 1 [HDMI 1]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: PCH [HDA Intel PCH], device 8: HDMI 2 [HDMI 2]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: PCH [HDA Intel PCH], device 9: HDMI 3 [HDMI 3]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: PCH [HDA Intel PCH], device 10: HDMI 4 [HDMI 4]
Subdevices: 1/1
Subdevice #0: subdevice #0
我尝试过在网上搜索修复方法
- 添加内核参数snd_hda_intel.dmic_Detect=0 通过编辑 /etc/default/grub 进入 grub 启动菜单
GRUB_CMDLINE_LINUX="snd_hda_intel.dmic_detect=0"
更新 grub 并重启
结果是没有声音
请注意,使用蓝牙耳机或 USB 耳机或 HDMI 线时声音工作正常
- 添加内核参数snd-hda-英特尔probe_mask=1与上面相同的方式
确定后固件软签名软件包已安装
这次司机换成了sof-音频-pci 我可以看到不同的播放硬件设备
aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: sofhdadsp [sof-hda-dsp], device 1: HDMI1 (*) []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: sofhdadsp [sof-hda-dsp], device 2: HDMI2 (*) []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: sofhdadsp [sof-hda-dsp], device 3: HDMI3 (*) []
Subdevices: 1/1
Subdevice #0: subdevice #0
但还是没有声音
请注意,使用蓝牙耳机或 USB 耳机时声音工作正常
我的问题是
如何使内置扬声器和麦克风的声音正常工作?