Internal microphone does not work with 5.12 (Tiger Lake, X1 Nano)

Kai Vehmanen kai.vehmanen at linux.intel.com
Thu May 27 12:56:18 CEST 2021


Hi Nico,

On Thu, 27 May 2021, Nico Schottelius wrote:

> Just checked, it was disabled. I rebuilt 5.12.6, rebooted, but now the
> sound card is gone (no device files in /dev/snd anymore), proably
> failing due to:
> 
> [   55.713668] snd_hda_intel 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040380
> [   55.713679] snd_hda_intel 0000:00:1f.3: Digital mics found on Skylake+ platform, using SOF driver
> [   55.745863] sof-audio-pci-intel-tgl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040380
> [   55.745872] sof-audio-pci-intel-tgl 0000:00:1f.3: Digital mics found on Skylake+ platform, using SOF driver
> [   55.746033] sof-audio-pci-intel-tgl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if 0x040380
> [   55.748315] sof-audio-pci-intel-tgl 0000:00:1f.3: use msi interrupt mode
> [   55.752671] sof-audio-pci-intel-tgl 0000:00:1f.3: warning: No matching ASoC machine driver found
> [   55.752673] sof-audio-pci-intel-tgl 0000:00:1f.3: error: no matching ASoC machine driver found - aborting probe
> [   55.752673] sof-audio-pci-intel-tgl 0000:00:1f.3: error: failed to get machine info -19
> [   55.752764] sof-audio-pci-intel-tgl 0000:00:1f.3: error: failed to probe DSP hardware!

it seems more kernel config options are missing. Distribution kernels 
typically enable all the machine drivers, but you are specifically missing
CONFIG_SND_SOC_INTEL_SKL_HDA_DSP_GENERIC_MACH=m

Distribution kernels are a good reference when building on your own, and 
we in SOF also maintain example kconfig settings for typical systems. 
Here's the bit for systems with DSP and HDA codecs:
https://github.com/thesofproject/kconfig/blob/master/hdaudio-codecs-defconfig

More info at:
https://github.com/thesofproject/kconfig/

Br, Kai



More information about the Alsa-devel mailing list