You are not logged in.

#1 2020-11-15 21:24:51

kingredt
Member
Registered: 2020-09-17
Posts: 5

Built-in Microphone not working on Lenovo Ideapad 5 (Kernel 5.9.8)

I just installed Arch and my laptop's built-in Mic isn't being picked up. My card is

HDA Intel PCH

or

SND_HDA_INTEL

. Heres the output for

journalctl | grep sof-audio-pci
Nov 13 20:41:44 redt-laptop kernel: sof-audio-pci 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040100
Nov 13 20:41:44 redt-laptop kernel: sof-audio-pci 0000:00:1f.3: Digital mics found on Skylake+ platform, using SOF driver
Nov 13 20:41:44 redt-laptop kernel: sof-audio-pci 0000:00:1f.3: enabling device (0000 -> 0002)
Nov 13 20:41:44 redt-laptop kernel: sof-audio-pci 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if 0x040100
Nov 13 20:41:45 redt-laptop kernel: sof-audio-pci 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
Nov 13 20:41:45 redt-laptop kernel: sof-audio-pci 0000:00:1f.3: use msi interrupt mode
Nov 13 20:41:45 redt-laptop kernel: sof-audio-pci 0000:00:1f.3: hda codecs found, mask 5
Nov 13 20:41:45 redt-laptop kernel: sof-audio-pci 0000:00:1f.3: using HDA machine driver skl_hda_dsp_generic now
Nov 13 20:41:45 redt-laptop kernel: sof-audio-pci 0000:00:1f.3: DMICs detected in NHLT tables: 2
Nov 13 20:41:45 redt-laptop kernel: sof-audio-pci 0000:00:1f.3: Direct firmware load for intel/sof/sof-icl.ri failed with error -2
Nov 13 20:41:45 redt-laptop kernel: sof-audio-pci 0000:00:1f.3: error: request firmware intel/sof/sof-icl.ri failed err: -2
Nov 13 20:41:45 redt-laptop kernel: sof-audio-pci 0000:00:1f.3: error: failed to load DSP firmware -2
Nov 13 20:41:45 redt-laptop kernel: sof-audio-pci 0000:00:1f.3: error: sof_probe_work failed err: -2

Dmesg shows input:

HDA Intel PCH Mic as /devices/pci0000:00/0000:00:1f.3/sound/card0/input28

So my card is being recognized, but pavucontrol isn't showing it nor alsamixer.

Here is the result of

arecord --list-devices
**** List of CAPTURE Hardware Devices **** card 0: PCH [HDA Intel PCH], device 0: ALC257 Analog [ALC257 Analog]   Subdevices: 1/1   Subdevice #0: subdevice #0

Here is the full

lsmod

output: https://pastebin.com/w1tusmef



Here is the full

dmesg

output: https://pastebin.com/Hw0WcvyE



I've been searching for days, any help is appreciated.

Offline

#2 2020-11-18 18:00:27

Dante777
Member
From: Greece
Registered: 2016-07-12
Posts: 29

Re: Built-in Microphone not working on Lenovo Ideapad 5 (Kernel 5.9.8)

A quick search showed that the deprecated

snd_hda_intel.dmic_detect=0

option, existing in your kernel commandline (dmesg), should have been placed at "/etc/modprobe.d".
Use the new

options snd-intel-dspcfg dsp_driver=1

option, instead.
Furthermore, the

options snd-hda-intel power_save=0

option could be used to disable automatic powersaving kicking in.
Also, try installing the "alsa-firmware" package and see if it helps any.

Last edited by Dante777 (2020-11-18 18:13:06)

Offline

#3 2020-11-18 19:07:13

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,410

Re: Built-in Microphone not working on Lenovo Ideapad 5 (Kernel 5.9.8)

install sof-firmware and alsa-ucm-conf remove the modprobe/kernel commandline config both intel,dmic-detect and the relevant equivalent dspcfg setting are expected and known to break the mic.

Last edited by V1del (2020-11-19 09:30:53)

Offline

#4 2024-02-24 11:04:17

aimless
Member
Registered: 2024-02-24
Posts: 1

Re: Built-in Microphone not working on Lenovo Ideapad 5 (Kernel 5.9.8)

@V1del: thanks a lot for the input.

I got it managed to make my sound card working (sound and micro) on a Lenovo ThinkPad X13 with the chip: Realtek ALC257

$lspci | grep Audio
00:1f.3 Audio device: Intel Corporation Alder Lake PCH-P High Definition Audio Controller (rev 01)

I installed: pulseaudio-alsa  pavucontrol  sof-firmware  alsa-firmware and alsa-utils as discussed on the wiki page: https://wiki.archlinux.org/title/Advanc … A_firmware

But, in contrast to many other inputs, I followed V1del's remark and removed the modprobe configuration: options snd_intel_dspcfg dsp_driver=1
Then it worked and I have all devices active now. Worth to mention: enable all channels in alsamixer. So, make sure ther is NO [MM] below any channel. You can change it in alsamixer with the key 'm'.

I hope my experience helps.

Offline

Board footer

Powered by FluxBB