mbox series

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

Message ID 20210728050820.31433-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 28, 2021, 5:08 a.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.

V2: Use the LP:1915117 for note intead of deprecated for the
CONFIG_SND_SOC_INTEL_SKYLAKE_HDAUDIO_CODEC enforcement.

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

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

Comments

Tim Gardner July 28, 2021, 11:48 a.m. UTC | #1
Acked-by: Tim Gardner <tim.gardner@canonical.com>

On 7/27/21 11:08 PM, 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.
> 
> V2: Use the LP:1915117 for note intead of deprecated for the
> CONFIG_SND_SOC_INTEL_SKYLAKE_HDAUDIO_CODEC enforcement.
> 
> Chris Chiu (1):
>    UBUNTU: [Config] set CONFIG_SND_SOC_INTEL_SKYLAKE_HDAUDIO_CODEC to y
> 
>   debian.master/config/annotations          | 4 ++--
>   debian.master/config/config.common.ubuntu | 2 +-
>   2 files changed, 3 insertions(+), 3 deletions(-)
>
Kelsey Skunberg Aug. 11, 2021, 11:55 p.m. UTC | #2
Acked-by: Kelsey Skunberg <kelsey.skunberg@canonical.com>

On 2021-07-28 13:08:19 , 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.
> 
> V2: Use the LP:1915117 for note intead of deprecated for the
> CONFIG_SND_SOC_INTEL_SKYLAKE_HDAUDIO_CODEC enforcement.
> 
> Chris Chiu (1):
>   UBUNTU: [Config] set CONFIG_SND_SOC_INTEL_SKYLAKE_HDAUDIO_CODEC to y
> 
>  debian.master/config/annotations          | 4 ++--
>  debian.master/config/config.common.ubuntu | 2 +-
>  2 files changed, 3 insertions(+), 3 deletions(-)
> 
> -- 
> 2.25.1
> 
> 
> -- 
> kernel-team mailing list
> kernel-team@lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/kernel-team
Kelsey Skunberg Aug. 13, 2021, 1:08 a.m. UTC | #3
Applied to Hirsute master-next. Thank you!

-Kelsey

On 2021-07-28 13:08:19 , 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.
> 
> V2: Use the LP:1915117 for note intead of deprecated for the
> CONFIG_SND_SOC_INTEL_SKYLAKE_HDAUDIO_CODEC enforcement.
> 
> Chris Chiu (1):
>   UBUNTU: [Config] set CONFIG_SND_SOC_INTEL_SKYLAKE_HDAUDIO_CODEC to y
> 
>  debian.master/config/annotations          | 4 ++--
>  debian.master/config/config.common.ubuntu | 2 +-
>  2 files changed, 3 insertions(+), 3 deletions(-)
> 
> -- 
> 2.25.1
> 
> 
> -- 
> kernel-team mailing list
> kernel-team@lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/kernel-team