With a Thinkpad X1 Yoga gen 4, Kernel 5.6.14, and PulseAudio 14, The sound situation is as follows:
- The microphone array works properly out of the box
- The front and rear speakers all produce sound out of the box
- The maximum volume is a bit low
- The bass speaker is not working at all
- The speaker system shows up as a stereo device in PulseAudio, not a 4.1 channel audio device (see also https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/issues/914)
- Useless disconnected devices for the DisplayPort and HDMI audio devices are visible to PulseAudio, cluttering up the display (see also https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/issues/913)
ALSA info is available at http://alsa-project.org/db/?f=f8f00ab594ae7d998aa2a8002dd5202ab1137b4b
Possibly relevant useful: if I set `snd_hda_intel.dmic_detect=0` in the kernel parameters, the mic array is no longer detected, but https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/issues/914 and https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/issues/913get fixed.
Dunno if this should be merged with Bug 207407, which is about broadly similar issues in the X1 Carbon. The X1 Yoga and X1 Carbon are basically a chassis swap with the same internals, so it's quite possible that when one is fixed the other will be too.
Another issue, not sure if it's related: the speakers and headphone jack are correctly combined into multiple ports of the same device such that when I plug in headphones, it switches automatically. However the microphone is not combined with the audio jack's mic input in this way, so it's presented as two microphones rather than one mic device with two ports. Is this an issue at the ALSA level or something PulseAudio can fix?
Created attachment 289611 [details]
Output of `pacmd list-cards`
*** This bug has been marked as a duplicate of bug 207407 ***
There are several merge requests in the pulseaudio gitlab repository to resolve the automatic source / port switch, but it's not related to kernel at all.