我买了一台新的基于 Windows 的笔记本电脑,并决定在其上安装 Mint (Mint 21.2 Cinnamon)。这款笔记本电脑的摄像头周围配有麦克风阵列。
我让大部分硬件都可以工作,包括内置扬声器,因此音频驱动程序的某些部分正在工作。
唯一的问题是麦克风阵列不起作用...Mint 无法检测到麦克风阵列或连接到侧面插孔的任何其他麦克风。
当使用 Windows 启动时,该阵列工作正常。
我还应该去哪里寻找解决这个问题的方法?
一些技术细节:
Mint 21.2(基于 Ubuntu Jammy)
inxi -A
Audio:
Device-1: Intel driver: snd_hda_intel
Sound Server-1: ALSA v: k5.15.0-84-generic running: yes
Sound Server-2: PulseAudio v: 15.99.1 running: yes
Sound Server-3: PipeWire v: 0.3.48 running: yes
dmesg | grep audio
[ 66.531528] snd_hda_intel 0000:00:1f.3: couldn't bind with audio component
[ 66.587873] snd_hda_codec_realtek hdaudioC0D0: autoconfig for ALC274: line_outs=1 (0x17/0x0/0x0/0x0/0x0) type:speaker
[ 66.587890] snd_hda_codec_realtek hdaudioC0D0: speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[ 66.587897] snd_hda_codec_realtek hdaudioC0D0: hp_outs=1 (0x21/0x0/0x0/0x0/0x0)
[ 66.587902] snd_hda_codec_realtek hdaudioC0D0: mono: mono_out=0x0
[ 66.587905] snd_hda_codec_realtek hdaudioC0D0: inputs:
[ 66.587908] snd_hda_codec_realtek hdaudioC0D0: Mic=0x19
[ 624.313215] snd_hda_codec_realtek hdaudioC0D0: hda-codec: reconfiguring
[ 624.313218] snd_hda_codec_realtek hdaudioC0D0: The codec is being used, can't reconfigure.
pactl list sources
Source #1
State: SUSPENDED
Name: alsa_output.pci-0000_00_1f.3.analog-stereo.monitor
Description: Monitor of Built-in Audio Analogue Stereo
Driver: module-alsa-card.c
Sample Specification: s16le 2ch 48000Hz
Channel Map: front-left,front-right
Owner Module: 25
Mute: no
Volume: front-left: 65536 / 100% / 0.00 dB, front-right: 65536 / 100% / 0.00 dB
balance 0.00
Base Volume: 65536 / 100% / 0.00 dB
Monitor of Sink: alsa_output.pci-0000_00_1f.3.analog-stereo
Latency: 0 usec, configured 0 usec
Flags: DECIBEL_VOLUME LATENCY
Properties:
device.description = "Monitor of Built-in Audio Analogue Stereo"
device.class = "monitor"
alsa.card = "0"
alsa.card_name = "HDA Intel PCH"
alsa.long_card_name = "HDA Intel PCH at 0x603d1a0000 irq 198"
alsa.driver_name = "snd_hda_intel"
device.bus_path = "pci-0000:00:1f.3"
sysfs.path = "/devices/pci0000:00/0000:00:1f.3/sound/card0"
device.bus = "pci"
device.vendor.id = "8086"
device.vendor.name = "Intel Corporation"
device.product.id = "51ca"
device.form_factor = "internal"
device.string = "0"
module-udev-detect.discovered = "1"
device.icon_name = "audio-card-pci"
Formats:
pcm
答案1
我从 mint 论坛了解到,由于默认的 Linux 内核(mint 21.2 附带)是 5.15 版本,因此很可能不包含与这款新笔记本电脑硬件兼容的驱动程序。
因此,根据他们的建议,我开始了升级它的旅程。
我关注了博客linux能力并安装了最新的内核版本(截至撰写本文时为 6.5.5)。
我执行了以下命令:
sudo apt-get update
sudo apt-get upgrade
reboot
sudo add-apt-repository ppa:cappelikan/ppa -y
sudo apt-get update
sudo apt-get install mainline -y
然后我打开程序
任务栏 > 主线内核
我选择版本 6.5.5 并单击“安装” ]
安装新内核后,我再次重新启动
重新启动后,麦克风阵列开始正常工作!