Bug 210045

Summary: Dell XPS 13 9310: Built-in microphone onlys shows up with plugged-in headset
Product: Drivers Reporter: Paul Menzel (pmenzel+bugzilla.kernel.org)
Component: Sound(ALSA)Assignee: Jaroslav Kysela (perex)
Status: RESOLVED INVALID    
Severity: normal CC: pmenzel+bugzilla.kernel.org, superm1
Priority: P1    
Hardware: All   
OS: Linux   
Kernel Version: 5.9.1 Subsystem:
Regression: No Bisected commit-id:
Attachments: Output of `/usr/sbin/alsa-info` without external headphone plugged in
Output of `/usr/sbin/alsa-info`with external headphone plugged in

Description Paul Menzel 2020-11-04 15:24:25 UTC
Created attachment 293463 [details]
Output of `/usr/sbin/alsa-info` without external headphone plugged in

On the Intel Tiger Lake laptop Dell XPS 13 9310 with Debian Sid/unstable with Linux 5.9.1 and GNOME 3.38.1, the GNOME Control Center does not list the built-in (internal) microphone in the input device list.

Plugging in a headset into the audio jack, both microphones are listed.

I couldn’t spot anything suspicious in the logs. Please find the output of `/usr/sbin/alsa-info` attached without and with the external headset plugged in.
Comment 1 Paul Menzel 2020-11-04 15:25:11 UTC
Created attachment 293465 [details]
Output of `/usr/sbin/alsa-info`with external headphone plugged in
Comment 2 Paul Menzel 2020-11-04 15:27:05 UTC
It could be related to not having `PINCTRL_TIGERLAKE` selected in Debian’s Linux kernel configuration [1], but I couldn’t test it yet.

[1]: https://bugs.debian.org/973372
Comment 3 Mario Limonciello 2020-11-04 17:31:06 UTC
Can you please check dmesg for any messaging around sof and missing firmware?That would be the most likely culprit to me.

If that is loaded then I would make sure that you have the most up to date UCM configurations.  IIRC that would be these: https://github.com/alsa-project/alsa-ucm-conf/tree/master/ucm2/hda-dsp
Comment 4 Paul Menzel 2020-11-05 11:30:38 UTC
You are right, no sof-audio-pci messages in the Linux log. Another Tiger Lake driver option missing in Debian’s Linux kernel configuration.

    $ grep TIGERLAKE /boot/config-5.9.0-1-amd64 
    # CONFIG_PINCTRL_TIGERLAKE is not set
    # CONFIG_SND_SOC_SOF_TIGERLAKE_SUPPORT is not set

Sorry for the noise. I wonder if warnings for these cases could be shown.

Anyway, I’ll talk to Debian’s Linux kernel maintainers.