[arch-general] ThinkPad X1 Carbon Gen 11 mic not working

Sadeep Madurange sadeep at asciimx.com
Tue Jul 5 05:44:48 UTC 2022


Hi Ivan,

Thanks a lot for sharing. I updated my alsamixer settings to match yours. Still no luck. How about your main "Capture"? Set to on with some volume?

I also have following information that may be useful.

Output of lspci:

00:00.0 Host bridge: Intel Corporation 11th Gen Core Processor Host Bridge/DRAM Registers (rev 01)
00:02.0 VGA compatible controller: Intel Corporation TigerLake-LP GT2 [Iris Xe Graphics] (rev 01)
00:04.0 Signal processing controller: Intel Corporation TigerLake-LP Dynamic Tuning Processor Participant (rev 01)
00:06.0 PCI bridge: Intel Corporation 11th Gen Core Processor PCIe Controller (rev 01)
00:07.0 PCI bridge: Intel Corporation Tiger Lake-LP Thunderbolt 4 PCI Express Root Port #1 (rev 01)
00:07.2 PCI bridge: Intel Corporation Tiger Lake-LP Thunderbolt 4 PCI Express Root Port #2 (rev 01)
00:08.0 System peripheral: Intel Corporation GNA Scoring Accelerator module (rev 01)
00:0a.0 Signal processing controller: Intel Corporation Tigerlake Telemetry Aggregator Driver (rev 01)
00:0d.0 USB controller: Intel Corporation Tiger Lake-LP Thunderbolt 4 USB Controller (rev 01)
00:0d.2 USB controller: Intel Corporation Tiger Lake-LP Thunderbolt 4 NHI #0 (rev 01)
00:0d.3 USB controller: Intel Corporation Tiger Lake-LP Thunderbolt 4 NHI #1 (rev 01)
00:14.0 USB controller: Intel Corporation Tiger Lake-LP USB 3.2 Gen 2x1 xHCI Host Controller (rev 20)
00:14.2 RAM memory: Intel Corporation Tiger Lake-LP Shared SRAM (rev 20)
00:14.3 Network controller: Intel Corporation Wi-Fi 6 AX201 (rev 20)
00:15.0 Serial bus controller: Intel Corporation Tiger Lake-LP Serial IO I2C Controller #0 (rev 20)
00:16.0 Communication controller: Intel Corporation Tiger Lake-LP Management Engine Interface (rev 20)
00:1f.0 ISA bridge: Intel Corporation Tiger Lake-LP LPC Controller (rev 20)
00:1f.3 Audio device: Intel Corporation Tiger Lake-LP Smart Sound Technology Audio Controller (rev 20)
00:1f.4 SMBus: Intel Corporation Tiger Lake-LP SMBus Controller (rev 20)
00:1f.5 Serial bus controller: Intel Corporation Tiger Lake-LP SPI Controller (rev 20)
04:00.0 Non-Volatile memory controller: KIOXIA Corporation Device 000c

Output of dmesg | grep -E 'snd|sof':

[    0.615853] PCI-DMA: Using software bounce buffering for IO (SWIOTLB)
[    0.615854] software IO TLB: mapped [mem 0x00000000858dc000-0x00000000898dc000] (64MB)
[    0.871403] integrity: Loaded X.509 cert 'Microsoft Corporation UEFI CA 2011: 13adbf4309bd82709c8cd54f316ed522988a1bd4'
[    0.871411] integrity: Loaded X.509 cert 'Microsoft Windows Production PCA 2011: a92902398e16c49778cd90f99e4f9ae17c55af53'
[    7.283107] snd_hda_intel 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040380
[    7.283412] snd_hda_intel 0000:00:1f.3: Digital mics found on Skylake+ platform, using SOF driver
[    7.695674] sof-audio-pci-intel-tgl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040380
[    7.696277] sof-audio-pci-intel-tgl 0000:00:1f.3: Digital mics found on Skylake+ platform, using SOF driver
[    7.696983] sof-audio-pci-intel-tgl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if 0x040380
[    7.697050] sof-audio-pci-intel-tgl 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
[    7.703739] sof-audio-pci-intel-tgl 0000:00:1f.3: use msi interrupt mode
[    7.751725] sof-audio-pci-intel-tgl 0000:00:1f.3: hda codecs found, mask 5
[    7.751728] sof-audio-pci-intel-tgl 0000:00:1f.3: using HDA machine driver skl_hda_dsp_generic now
[    7.751731] sof-audio-pci-intel-tgl 0000:00:1f.3: DMICs detected in NHLT tables: 4
[    7.753631] sof-audio-pci-intel-tgl 0000:00:1f.3: Firmware info: version 2:2:0-57864
[    7.753633] sof-audio-pci-intel-tgl 0000:00:1f.3: Firmware: ABI 3:22:1 Kernel ABI 3:19:1
[    7.753634] sof-audio-pci-intel-tgl 0000:00:1f.3: warn: FW ABI is more recent than kernel
[    7.753636] sof-audio-pci-intel-tgl 0000:00:1f.3: unknown sof_ext_man header type 3 size 0x30
[    7.849473] sof-audio-pci-intel-tgl 0000:00:1f.3: Firmware info: version 2:2:0-57864
[    7.849475] sof-audio-pci-intel-tgl 0000:00:1f.3: Firmware: ABI 3:22:1 Kernel ABI 3:19:1
[    7.849477] sof-audio-pci-intel-tgl 0000:00:1f.3: warn: FW ABI is more recent than kernel
[    7.895630] sof-audio-pci-intel-tgl 0000:00:1f.3: Topology: ABI 3:22:1 Kernel ABI 3:19:1
[    7.895633] sof-audio-pci-intel-tgl 0000:00:1f.3: warn: topology ABI is more recent than kernel
[    7.922067] snd_hda_codec_realtek ehdaudio0D0: autoconfig for ALC287: line_outs=2 (0x14/0x17/0x0/0x0/0x0) type:speaker
[    7.922070] snd_hda_codec_realtek ehdaudio0D0:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[    7.922072] snd_hda_codec_realtek ehdaudio0D0:    hp_outs=1 (0x21/0x0/0x0/0x0/0x0)
[    7.922072] snd_hda_codec_realtek ehdaudio0D0:    mono: mono_out=0x0
[    7.922073] snd_hda_codec_realtek ehdaudio0D0:    inputs:
[    7.922073] snd_hda_codec_realtek ehdaudio0D0:      Mic=0x19
[    8.014439] snd_hda_codec_realtek ehdaudio0D0: ASoC: sink widget AIF1TX overwritten
[    8.014445] snd_hda_codec_realtek ehdaudio0D0: ASoC: source widget AIF1RX overwritten
[    8.035352] input: sof-hda-dsp Mic as /devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0/input28
[    8.035401] input: sof-hda-dsp Headphone as /devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0/input29
[    8.035658] input: sof-hda-dsp HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0/input30
[    8.035683] input: sof-hda-dsp HDMI/DP,pcm=4 as /devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0/input31
[    8.035715] input: sof-hda-dsp HDMI/DP,pcm=5 as /devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0/input32

On 2022-07-05 07:33:57, Iyán Méndez Veiga via arch-general wrote:
> On Tuesday 5 July 2022 07:19:36 CEST Sadeep Madurange via arch-general wrote:
> > Hi,
> > 
> > Thanks for the advice. I tried installing pipewire as well as pulseaudio but
> > none of them worked with default settings. I think the issue with ALSA. At
> > this point I have reverted all the changes I made back to just plain alsa
> > with sof-firmware. Looking at alsamixer, I have multiple mics under the
> > Capture tab. My alsa card is sof-hda-dsp. The chip is Realtek ALC287. I
> > have following items in capture tab:
> > 
> > 1. Mic Boost (I have set it to max)
> > 2. Capture (maxed and toggled to on)
> > 3. Dmic0 Front (muted and toggled off)
> > 4. Dmic0 Rear (muted and toggled off)
> > 5. Dmic1 2nd Front (muted and can't toggle)
> > 6. Dmic1 2nd Rear (muted and can't toggle)
> > 7. PGA2.0 2 Master (muted and can't toggle)
> 
> In my case I have the boost at 0, but Dmic0 Front and Roar have a "CAPTURE" 
> below and those are the important ones. I have them at 70%. When using Plasma 
> KDE, from the audio volume settings, moving the mic % changes these two 
> values. Hope that helps.
> 
> -- 
> Iyán Méndez Veiga
> GPG 0x422E3694311E5AC1


More information about the arch-general mailing list