Bug 211299

Summary: No mic in Lenovo Yoga Slim 7 (Renoir) after 5.10.4
Product: Drivers Reporter: k5hv
Component: Sound(ALSA)Assignee: Jaroslav Kysela (perex)
Status: NEW ---    
Severity: normal    
Priority: P1    
Hardware: All   
OS: Linux   
Kernel Version: >=5.10.4 Subsystem:
Regression: No Bisected commit-id:
Attachments: lspci -s 03:00.5 -vv (5.10.3)
lspci -s 03:00.5 -vv (5.10.4)
arecord -l (5.10.3)
arecord -l (5.10.4)
alsa-info.sh --no-upload (5.10.3)
alsa-info.sh --no-upload (5.10.4)

Description k5hv 2021-01-20 10:41:42 UTC
Hello,

it looks like that microphone in Lenovo Yoga Slim 7 14ARE05 is not detected in 5.10.4 and newer (I've tested up to 5.11-rc4) but it was working in 5.10.3.

I was able to narrow problem and issue was introduced with 718c406e1ffaca4eac987b957bbb36ce1090797a, reverting this change makes microphone visible and working again.

I'm not sure if this is somehow connected with BIOS version, mine is updated to latest (DMCN34WW).

I'm attaching lspci, arecord output. They come from 5.10.8 + 5.10.3 and 5.10.4 snd_rn_pci_acp3x module.
Comment 1 k5hv 2021-01-20 10:42:23 UTC
Created attachment 294771 [details]
lspci -s 03:00.5 -vv (5.10.3)
Comment 2 k5hv 2021-01-20 10:42:44 UTC
Created attachment 294773 [details]
lspci -s 03:00.5 -vv (5.10.4)
Comment 3 k5hv 2021-01-20 10:43:06 UTC
Created attachment 294775 [details]
arecord -l (5.10.3)
Comment 4 k5hv 2021-01-20 10:43:19 UTC
Created attachment 294777 [details]
arecord -l (5.10.4)
Comment 5 Jaroslav Kysela 2021-01-20 12:30:24 UTC
Attach 'alsa-info.sh --no-upload', please.
Comment 6 k5hv 2021-01-20 13:19:59 UTC
Created attachment 294781 [details]
alsa-info.sh --no-upload (5.10.3)
Comment 7 k5hv 2021-01-20 13:20:12 UTC
Created attachment 294783 [details]
alsa-info.sh --no-upload (5.10.4)
Comment 8 k5hv 2021-01-20 13:20:29 UTC
Files attached
Comment 9 Jaroslav Kysela 2021-01-20 14:29:29 UTC
Cross reference: https://bugzilla.redhat.com/show_bug.cgi?id=1892115

Workaround (reboot required):

  echo "options snd-rn-pci-acp3x dmic_acpi_check=1" >> /etc/modprobe.d/alsa-amd-dmic.conf
Comment 11 k5hv 2021-01-20 16:50:34 UTC
Can confirm workaround. It is working.
Fix is also working. Patched and tested on 5.10.8.