Comment 22 for bug 2011623

Revision history for this message
Claudio Tiecher (claudiotiecher) wrote (last edit ):

I did try to debug this a little bit (newbie here).

Based on the kernel documentation of the sound subsystem (https://www.kernel.org/doc/html/latest/sound/hd-audio/notes.html), I managed to narrow down the issue to the /sound/pci/hda/patch_conexant.c

When I do the following the mic correctly works without needing to mute one channel:
 - $ systemctl --user stop pulseaudio.socket
 - $ systemctl --user stop pulseaudio.service
 - # echo inv_dmic_split=yes > /sys/class/sound/hwC0D0/hints
 - # echo 1 > /sys/class/sound/hwC0D0/reconfig
 - $ systemctl --user start pulseaudio.service
 - $ systemctl --user start pulseaudio.socket

However there is background noise. Am I on a good track?

I was thinking to add to the kernel this line of code to patch_conexant.c:
 SND_PCI_QUIRK(0x17aa, 0x3828, "Lenovo IdeaPad 310", CXT_FIXUP_STEREO_DMIC),

Does it seem a good approach?