mbox series

[0/1,SRU,H/I] Fix no sound card detected problem on HDA+DMIC with skylake driver

Message ID 20210726155425.425811-1-chris.chiu@canonical.com
Headers show
Series Fix no sound card detected problem on HDA+DMIC with skylake driver | expand

Message

Chris Chiu July 26, 2021, 3:54 p.m. UTC
From: Chris Chiu <chris.chiu@canonical.com>

BugLink: https://bugs.launchpad.net/bugs/1915117

[Impact]
Skylake, Kabylake, Kabylake-refresh, Amberlake and some other platforms where audio is of SPT (PCH) type, HDA (with DSP capabilities) plus DMIC configuration is supported on these with skylake driver since kernel 5.8. However, no sound card can be detected w/o the topology binary file in /lib/firmware and corresponding ucm file.

[Fix]
The kernel config CONFIG_SND_SOC_INTEL_SKYLAKE_HDAUDIO_CODEC needa to be enabled for the snd_soc_skl driver to support HDA+DMIC configuration. And the topology binary file and UCM files need to be located in the correct path based on Intel's suggestion. https://gist.github.com/crojewsk/4e6382bfb0dbfaaf60513174211f29cb.

[Test]
On the Skylake/Kabylake platforms with either the PCI device 8086:9d70 and 8086:9d71, boot up the machine and check the existence of the sound card by either 'aplay -l' or 'pactl list' command.

[Where problems could occur]
Should be low risk, it only affects limited Intel Platforms with particular PCI device IDs + HDA plus DMIC configuration.


Chris Chiu (1):
  UBUNTU: [Config] set CONFIG_SND_SOC_INTEL_SKYLAKE_HDAUDIO_CODEC to y

 debian.master/config/annotations          | 3 +--
 debian.master/config/config.common.ubuntu | 2 +-
 2 files changed, 2 insertions(+), 3 deletions(-)

Comments

Tim Gardner July 26, 2021, 6:20 p.m. UTC | #1
Acked-by: Tim Gardner <tim.gardner@canonical.com>

On 7/26/21 9:54 AM, chris.chiu@canonical.com wrote:
> From: Chris Chiu <chris.chiu@canonical.com>
> 
> BugLink: https://bugs.launchpad.net/bugs/1915117
> 
> [Impact]
> Skylake, Kabylake, Kabylake-refresh, Amberlake and some other platforms where audio is of SPT (PCH) type, HDA (with DSP capabilities) plus DMIC configuration is supported on these with skylake driver since kernel 5.8. However, no sound card can be detected w/o the topology binary file in /lib/firmware and corresponding ucm file.
> 
> [Fix]
> The kernel config CONFIG_SND_SOC_INTEL_SKYLAKE_HDAUDIO_CODEC needa to be enabled for the snd_soc_skl driver to support HDA+DMIC configuration. And the topology binary file and UCM files need to be located in the correct path based on Intel's suggestion. https://gist.github.com/crojewsk/4e6382bfb0dbfaaf60513174211f29cb.
> 
> [Test]
> On the Skylake/Kabylake platforms with either the PCI device 8086:9d70 and 8086:9d71, boot up the machine and check the existence of the sound card by either 'aplay -l' or 'pactl list' command.
> 
> [Where problems could occur]
> Should be low risk, it only affects limited Intel Platforms with particular PCI device IDs + HDA plus DMIC configuration.
> 
> 
> Chris Chiu (1):
>    UBUNTU: [Config] set CONFIG_SND_SOC_INTEL_SKYLAKE_HDAUDIO_CODEC to y
> 
>   debian.master/config/annotations          | 3 +--
>   debian.master/config/config.common.ubuntu | 2 +-
>   2 files changed, 2 insertions(+), 3 deletions(-)
>
Kelsey Skunberg Aug. 12, 2021, 12:02 a.m. UTC | #2
NACK'd in favor of v2 already on the mailing list.

-Kelsey

On 2021-07-26 23:54:24 , chris.chiu@canonical.com wrote:
> From: Chris Chiu <chris.chiu@canonical.com>
> 
> BugLink: https://bugs.launchpad.net/bugs/1915117
> 
> [Impact]
> Skylake, Kabylake, Kabylake-refresh, Amberlake and some other platforms where audio is of SPT (PCH) type, HDA (with DSP capabilities) plus DMIC configuration is supported on these with skylake driver since kernel 5.8. However, no sound card can be detected w/o the topology binary file in /lib/firmware and corresponding ucm file.
> 
> [Fix]
> The kernel config CONFIG_SND_SOC_INTEL_SKYLAKE_HDAUDIO_CODEC needa to be enabled for the snd_soc_skl driver to support HDA+DMIC configuration. And the topology binary file and UCM files need to be located in the correct path based on Intel's suggestion. https://gist.github.com/crojewsk/4e6382bfb0dbfaaf60513174211f29cb.
> 
> [Test]
> On the Skylake/Kabylake platforms with either the PCI device 8086:9d70 and 8086:9d71, boot up the machine and check the existence of the sound card by either 'aplay -l' or 'pactl list' command.
> 
> [Where problems could occur]
> Should be low risk, it only affects limited Intel Platforms with particular PCI device IDs + HDA plus DMIC configuration.
> 
> 
> Chris Chiu (1):
>   UBUNTU: [Config] set CONFIG_SND_SOC_INTEL_SKYLAKE_HDAUDIO_CODEC to y
> 
>  debian.master/config/annotations          | 3 +--
>  debian.master/config/config.common.ubuntu | 2 +-
>  2 files changed, 2 insertions(+), 3 deletions(-)
> 
> -- 
> 2.25.1
> 
> 
> -- 
> kernel-team mailing list
> kernel-team@lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/kernel-team