Bug 214995

Summary: Sof audio didn't recognize Intel Smart Sound (SST) speakers, microphone and headphone jack
Product: Drivers Reporter: Nicola Revelant (nicolarevelant44)
Component: PCIAssignee: drivers_pci (drivers_pci)
Status: NEW ---    
Severity: high CC: bengethomasmatthew, pierre-louis.bossart, r3wald
Priority: P1    
Hardware: Intel   
OS: Linux   
Kernel Version: 5.11.0-40-generic Subsystem:
Regression: No Bisected commit-id:
Attachments: The output of dmesg and lspci -v
Output of lspci -v
Output of dmesg (full log)
Output of lspci -vv

Description Nicola Revelant 2021-11-12 09:11:45 UTC
Created attachment 299549 [details]
The output of dmesg and lspci -v

I have a Huawei Matebook D15 notebook with Intel Smart Sound Technology as sound card. SST includes speakers, microphone and headphone jack so none of the 3 work. Bluetooth and USB headphones work. I have already tried to change
"options snd_intel_dspcfg dsp_driver" and reload alsa (alsa reload) for each value but nothing (only small changes in dmesg).
The first lines of dmesg_dump.txt are errors because of the 'alsa reload' command. The log is verbose because I add some options from this web page:
https://thesofproject.github.io/latest/getting_started/intel_debug/suggestions.html

My sound card is listed in PCI so the last lines of dmesg_dump.txt are the output of the 'lspci -v' command

aplay -l shows only 3 HDMI outputs with sof-hda-dsp
Comment 1 Nicola Revelant 2021-11-12 09:13:40 UTC
Created attachment 299551 [details]
Output of lspci -v
Comment 2 Nicola Revelant 2021-11-12 17:28:52 UTC
While on Microsoft Windows 10 and 11 the sound is ok both speakers, microphone and headphone jack.
Comment 3 Nicola Revelant 2021-11-14 08:14:12 UTC
Created attachment 299563 [details]
Output of dmesg (full log)
Comment 4 Nicola Revelant 2021-11-14 08:14:52 UTC
Created attachment 299565 [details]
Output of lspci -vv
Comment 5 Pierre Bossart 2021-11-15 17:48:14 UTC
That seems like a known issue already tracked at https://github.com/thesofproject/linux/issues/3248

There's a set of devices based on the ES8316/36 I2S audio codec which needs dedicated quirks. In the existing reports the Huawei Matebook D15 is listed as using that codec.

The latest experimental code we have is here:
https://github.com/thesofproject/linux/pull/3107/commits

If confirmed, can we track this on GitHub so that all results for this sort of devices are collected in one place? Thanks!