Amd Renoir CPU: Microphone not working on Kernel 5.10.5

my Lenovo Laptop(14are05) has a built in microphone. It worked with kernel 5.8(Its on the archwiki, which I cannot link) but after an update yesterday it stopped working. Plugging a pair of headphones with a mic works flawless so this seems to be a driver Problem. I checked if snd-acp3x-rn is loaded with ļsmod | grep snd-acp3x-rn and lsmod | grep snd_acp3x_rn because the output of lsmod seemed to only use underscores. I used modinfo snd-acp3x-rn and got

filename: /lib/modules/5.10.5-1-MANJARO/kernel/sound/soc/amd/renoir/snd-acp3x-rn.ko.xz
alias: platform:acp_pdm_mach
license: GPL v2
srcversion: 21E53CD338B721CCF49CF00
depends: snd-soc-core
retpoline: Y
intree: Y
name: snd_acp3x_rn
vermagic: 5.10.5-1-MANJARO SMP preempt mod_unload
sig_id: PKCS#7
signer: Build time autogenerated kernel key
sig_key: 15:1D:8E:2E:61:DB:82:5F:01:88:F0:78:C8:51:50:0B:D7:14:5B:B5
sig_hashalgo: sha512
signature: 93:B7:79:41:E8:10:FF:59:9C:F9:B1:0B:1D:45:E4:6D:67:6B:56:01:

I will try to load the module but I do not wan’t to do this with every restart. What might be the cause for this?
Edit: Loading the module had no effect, even after loggin out and in again.

are you sure it’s the device driver and not pulseaudio by checking ‘pacmd list-cards’

It should not be pulseaudio since the module for kernel 5.10 is just missing. It exists on kernel 5.9
I am currently running 5.9 but will reboot and get back to you with the command.

Same model, same update, same kernel, same problem.
I’m working on it and will come back if any solution is available.

1 Like

I also experience the same thing in my Lenovo 14are05 (Ryzen 4800u).
I’m using LinuxMint right now and having the same issue (I tried to install manjaro xfce but grub doesn’t install… another topic)
I don’t know if the issue is about the kernel itself; either someone took out the drivers accidentally or intentionally, I don’t know.
Also tried using 5.11.rc4 and mic doesn’t work.

Any idea why this happened?!

It’s the kernel update.
I’ve tried 5.9.16 and mic works fine.
Try downgrading your kernel :grinning:

Yes exactly… So the point is we can’t update to the latest kernel. and we may miss a lot of features on it such as power mngt. that now can be read on $ sensors on 5.10.x
also I’m using xanmod-5.10.9; and the problem still persist

Looking for ways how to detect the sound card for 5.10.x (even in 5.11.rcX is not working anymore…)

In one of the openSuse forums, that I’ve read; They say that 5.10.3, the mic still works, but above that, it doesn’t recognize too.

Also there was a patch that I saw but for now, I don’t know if this is true or something that makes the kernel worst. <Search for: Patch “ASoC: AMD Renoir - add DMI table to avoid the ACP mic probe (broken BIOS)” has been added to the 5.10-stable tree>

Kernel v5.10.4 documentation has the patch for IdeaPad Flex 5 14ARE05 and IdeaPad 5 15ARE05
rn-pci-acp3x.c - sound/soc/amd/renoir/rn-pci-acp3x.c - Linux source code (v5.10.4) - Bootlin

I found 2 more patches for other Lenovo models:

This one for Lenovo ThinkPad X395 has been added to kernel v5.10.9
LKML: Greg Kroah-Hartman: [PATCH 5.10 005/152] ASoC: AMD Renoir - add DMI entry for Lenovo ThinkPad X395

This for Lenovo ThinkPad E14 Gen 2 only happened 12hrs ago
LKML: Sasha Levin: [PATCH AUTOSEL 5.10 04/45] ASoC: AMD Renoir - add DMI entry for Lenovo ThinkPad E14 Gen 2

1 Like

Patch for Lenovo Yoga Slim 7 (Ryzen 4800u) is not yet released.
I hope this upcoming 5.10.10 above will fix the issue on this model/unit.

1 Like

Until the mentioned patches are merged you can add snd_rn_pci_acp3x.dmic_acpi_check=1 to GRUB_CMDLINE_LINUX_DEFAULT in /etc/default/grub . This will force DMIC support.

From the kernel docs of the snd_rn_pci_acp3x module:
* dmic_acpi_check = -1 - Use ACPI/DMI method to detect the DMIC hardware presence at runtime
* = 0 - Skip the DMIC device creation and return probe failure
* = 1 - Force DMIC support

Don’t forget to run $ sudo update-grub afterwards.

1 Like

WOW! You’re a genius!
It works! I’m currently using 5.10.9 right now and my MIC INPUT already recognized!
Thanks Linos… you’re a big help!

Another patch pushed today for IdeaPad Flex 5 14ARE05 and IdeaPad 5 15ARE05 and also now added IdeaPad S340-14API
[PATCH] ASoC: AMD Renoir - refine DMI entries for some Lenovo products

Options to force or disable DMIC could be added as a kernel modprobe option instead of GRUB boot option if a user needed to try different options (or check if a later kernel has been patched)

echo "options snd-rn-pci-acp3x dmic_acpi_check=1" | sudo tee --append /etc/modprobe.d/alsa-dmic.conf
1 Like