![Alsa 未检测到音频卡(但内核可以检测到)](https://linux22.com/image/1030303/Alsa%20%E6%9C%AA%E6%A3%80%E6%B5%8B%E5%88%B0%E9%9F%B3%E9%A2%91%E5%8D%A1%EF%BC%88%E4%BD%86%E5%86%85%E6%A0%B8%E5%8F%AF%E4%BB%A5%E6%A3%80%E6%B5%8B%E5%88%B0%EF%BC%89.png)
在 Ubuntu 16.04 上,我尝试从此卡(集成 3.5 毫米模拟输出)播放声音:
$ lspci -nn | grep -i audio
00:1f.3 Audio device [0403]: Intel Corporation Sunrise Point-H HD Audio [8086:a170] (rev 31)
然而,ALSA 似乎无法检测到它。
$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 7: HDMI 1 [HDMI 1]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 8: HDMI 2 [HDMI 2]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 9: HDMI 3 [HDMI 3]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 10: HDMI 4 [HDMI 4]
Subdevices: 1/1
Subdevice #0: subdevice #0
alsamixer
这张卡的显示 内容如下:PCH 声卡无音频控制
但是,从以下内容可以看出内核能够检测到该卡并且snd_hda_intel
已为其分配了驱动程序:
$ lspci -v | grep -A7 -i "audio"
00:1f.3 Audio device: Intel Corporation Sunrise Point-H HD Audio (rev 31)
Subsystem: Intel Corporation Sunrise Point-H HD Audio
Flags: bus master, fast devsel, latency 128, IRQ 133
Memory at c1140000 (64-bit, non-prefetchable) [size=16K]
Memory at c1130000 (64-bit, non-prefetchable) [size=64K]
Capabilities: <access denied>
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel
还
$ cat /proc/asound/cards
0 [PCH ]: HDA-Intel - HDA Intel PCH
HDA Intel PCH at 0xc1140000 irq 133
alsa-base
我有另外两台完全相同的机器,它们的内核版本和版本完全相同alsa-tools
。ALSA 可以正确检测这些机器上的 PCH 音频卡。有没有人知道如何解决此卡的 ALSA 接口问题?
我发现这但答案似乎并没有真正回答这个问题(至少不是我理解的那样)。还发现这,但解决方案对我来说不起作用。
预先感谢您的任何帮助。