Soundwire support for the Intel RPL Gen platforms

Bug #1997944 reported by You-Sheng Yang
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
HWE Next
Fix Released
Undecided
Unassigned
firmware-sof (Ubuntu)
Fix Released
Undecided
Unassigned
Jammy
Fix Released
High
You-Sheng Yang
Lunar
Fix Released
Undecided
Unassigned
linux (Ubuntu)
Fix Released
High
You-Sheng Yang
Jammy
Won't Fix
Undecided
Unassigned
Lunar
Fix Released
High
You-Sheng Yang
linux-oem-6.0 (Ubuntu)
Invalid
Undecided
Unassigned
Jammy
Fix Released
High
You-Sheng Yang
Lunar
Invalid
Undecided
Unassigned

Bug Description

[SRU Justfication]

[Impact]

Need soundwire support for the Intel RPL Gen platforms, specifically
0C10/0C4F/0C11. 0C40 added due to dependency.

[Fix]

Fixes from linux-next for v6.2, as well as those for firmware-sof and
alsa-ucm-conf.

[Test Case]

All the fixes are currently packaged in experimental kernel/firmware
PPAs. Install the latest ones and check audio functions.

[Where problems could occur]

Most of the patches add model information only, and they'd only take
effect on platforms with the corresponding hardware pieces.

[Other Info]

Nominated for Unstable/Lunar and OEM-6.0.

========== original bug report ==========

Include the support for Soundwire of RPL Gen platforms

Related components/fixes:
* kernel:
  * b07908ab26ce ALSA: hda: intel-dsp-config: Add RaptorLake PCI IDs
  * d608bc44181c ASoC: Intel: sof_sdw: Add support for SKU 0C10 product
  * 55fc03445e2c ASoC: Intel: soc-acpi: add SKU 0C10 SoundWire configuration
  * 880bf4b47fc1 ASoC: Intel: sof_sdw: Add support for SKU 0C40 product
  * 97b5fbf44c00 ASoC: Intel: soc-acpi: add SKU 0C40 SoundWire configuration
  * a9248c868c39 ASoC: Intel: sof_sdw: Add support for SKU 0C4F product
  * 6ad73a2b42ea ASoC: rt1318: Add RT1318 SDCA vendor-specific driver
  * 8c4b3a8ea2c0 ASoC: intel: sof_sdw: add rt1318 codec support.
  * d84e10da17e7 ASoC: Intel: sof_sdw: Add support for SKU 0C11 product
  * 0050e3d3d43d ASoC: Intel: soc-acpi: add SKU 0C11 SoundWire configuration
* SOF Audio firmware and topology support for Intel RPL Mobiles
  * https://github.com/thesofproject/sof/releases/tag/v2.2.3
  * https://github.com/thesofproject/sof-bin/pull/108
* https://github.com/alsa-project/alsa-ucm-conf
  * c82c400fb653 ucm2: sof-soundwire: add basic settings for RT1318 SDCA device
---
ProblemType: Bug
ApportVersion: 2.20.11-0ubuntu82.1
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: ubuntu 1337 F.... pulseaudio
 /dev/snd/pcmC0D4c: ubuntu 1337 F...m pulseaudio
 /dev/snd/pcmC0D2p: ubuntu 1337 F...m pulseaudio
CasperMD5json:
 {
   "result": "skip"
 }
DistributionChannelDescriptor:
 # This is the distribution channel descriptor for the OEM CDs
 # For more information see http://wiki.ubuntu.com/DistributionChannelDescriptor
 canonical-oem-somerville-jammy-amd64-20220504-33+jellyfish-torchic+X72
DistroRelease: Ubuntu 22.04
InstallationDate: Installed on 2022-11-25 (25 days ago)
InstallationMedia: Ubuntu 22.04 LTS "Jammy Jellyfish" - somerville-jammy-amd64-20220504-33
MachineType: Dell Inc. Precision 5480
NonfreeKernelModules: nvidia_modeset nvidia
Package: linux (not installed)
ProcFB: 0 i915drmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-6.0.0-9009-oem root=UUID=58df5e81-0c25-471c-ace5-4decd3bcf449 ro automatic-oem-config quiet splash
ProcVersionSignature: Ubuntu 6.0.0-9009.9+exp.25-oem 6.0.10
PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: No PulseAudio daemon running, or not running as session daemon.
RelatedPackageVersions:
 linux-restricted-modules-6.0.0-9009-oem N/A
 linux-backports-modules-6.0.0-9009-oem N/A
 linux-firmware 20220329.git681281e4-0ubuntu3.7
Tags: jammy apport-hook-error
Uname: Linux 6.0.0-9009-oem x86_64
UnreportableReason: This report is about a package that is not installed.
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: N/A
_MarkForUpload: False
dmi.bios.date: 11/01/2022
dmi.bios.release: 88.3
dmi.bios.vendor: Dell Inc.
dmi.bios.version: 88.3.29
dmi.board.vendor: Dell Inc.
dmi.chassis.asset.tag: RUNNING
dmi.chassis.type: 10
dmi.chassis.vendor: Dell Inc.
dmi.ec.firmware.release: 153.0
dmi.modalias: dmi:bvnDellInc.:bvr88.3.29:bd11/01/2022:br88.3:efr153.0:svnDellInc.:pnPrecision5480:pvr:rvnDellInc.:rn:rvr:cvnDellInc.:ct10:cvr:sku0C40:
dmi.product.family: Precision
dmi.product.name: Precision 5480
dmi.product.sku: 0C40
dmi.sys.vendor: Dell Inc.

Related branches

CVE References

You-Sheng Yang (vicamo)
Changed in linux (Ubuntu Jammy):
status: New → Won't Fix
Changed in linux-oem-6.0 (Ubuntu Lunar):
status: New → Invalid
tags: added: oem-priority originate-from-1996028 somerville
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:

apport-collect 1997944

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
You-Sheng Yang (vicamo)
tags: added: originate-from-1997690
You-Sheng Yang (vicamo)
Changed in linux-oem-6.0 (Ubuntu Jammy):
assignee: nobody → You-Sheng Yang (vicamo)
importance: Undecided → High
status: New → In Progress
You-Sheng Yang (vicamo)
description: updated
Changed in linux (Ubuntu Lunar):
assignee: nobody → You-Sheng Yang (vicamo)
importance: Undecided → High
status: Incomplete → In Progress
You-Sheng Yang (vicamo)
description: updated
Revision history for this message
You-Sheng Yang (vicamo) wrote :
description: updated
Revision history for this message
You-Sheng Yang (vicamo) wrote :
Revision history for this message
You-Sheng Yang (vicamo) wrote : AlsaInfo.txt

apport information

tags: added: apport-collected apport-hook-error jammy
description: updated
Revision history for this message
You-Sheng Yang (vicamo) wrote : CRDA.txt

apport information

Revision history for this message
You-Sheng Yang (vicamo) wrote : CurrentDmesg.txt

apport information

Revision history for this message
You-Sheng Yang (vicamo) wrote : HookError_ubuntu.txt

apport information

Revision history for this message
You-Sheng Yang (vicamo) wrote : IwConfig.txt

apport information

Revision history for this message
You-Sheng Yang (vicamo) wrote : Lspci.txt

apport information

Revision history for this message
You-Sheng Yang (vicamo) wrote : Lspci-vt.txt

apport information

Revision history for this message
You-Sheng Yang (vicamo) wrote : Lsusb.txt

apport information

Revision history for this message
You-Sheng Yang (vicamo) wrote : Lsusb-t.txt

apport information

Revision history for this message
You-Sheng Yang (vicamo) wrote : Lsusb-v.txt

apport information

Revision history for this message
You-Sheng Yang (vicamo) wrote : PaInfo.txt

apport information

Revision history for this message
You-Sheng Yang (vicamo) wrote : ProcCpuinfoMinimal.txt

apport information

Revision history for this message
You-Sheng Yang (vicamo) wrote : ProcEnviron.txt

apport information

Revision history for this message
You-Sheng Yang (vicamo) wrote : ProcInterrupts.txt

apport information

Revision history for this message
You-Sheng Yang (vicamo) wrote : ProcModules.txt

apport information

Revision history for this message
You-Sheng Yang (vicamo) wrote : RfKill.txt

apport information

Revision history for this message
You-Sheng Yang (vicamo) wrote :

Already included in version 2.2.3-1

Changed in firmware-sof (Ubuntu Lunar):
status: New → Fix Released
Changed in firmware-sof (Ubuntu Jammy):
assignee: nobody → You-Sheng Yang (vicamo)
importance: Undecided → High
status: New → In Progress
Revision history for this message
You-Sheng Yang (vicamo) wrote : Re: [Bug 1997944] Re: Soundwire support for the Intel RPL Gen platforms

Attach changes to firmware-sof/jammy. Prebuilt binary in
https://launchpad.net/~vicamo/+archive/ubuntu/ppa-1997944

Timo Aaltonen (tjaalton)
Changed in linux-oem-6.0 (Ubuntu Jammy):
status: In Progress → Fix Committed
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote :

This bug is awaiting verification that the linux-oem-6.1/6.1.0-1004.4 kernel in -proposed solves the problem. Please test the kernel and update this bug with the results. If the problem is solved, change the tag 'verification-needed-jammy' to 'verification-done-jammy'. If the problem still exists, change the tag 'verification-needed-jammy' to 'verification-failed-jammy'.

If verification is not done by 5 working days from today, this fix will be dropped from the source code, and this bug will be closed.

See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you!

tags: added: kernel-spammed-jammy-linux-oem-6.1 verification-needed-jammy
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote :

This bug is awaiting verification that the linux-oem-6.0/6.0.0-1010.10 kernel in -proposed solves the problem. Please test the kernel and update this bug with the results. If the problem is solved, change the tag 'verification-needed-jammy' to 'verification-done-jammy'. If the problem still exists, change the tag 'verification-needed-jammy' to 'verification-failed-jammy'.

If verification is not done by 5 working days from today, this fix will be dropped from the source code, and this bug will be closed.

See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you!

tags: added: kernel-spammed-jammy-linux-oem-6.0
Revision history for this message
You-Sheng Yang (vicamo) wrote :

verified linux-oem-6.1/jammy version 6.1.0-1004.4, linux-oem-6.0/jammy version 6.0.0-1010.10

tags: added: verification-done-jammy
removed: verification-needed-jammy
Revision history for this message
You-Sheng Yang (vicamo) wrote : Re: [Bug 1997944] RfKill.txt

Update proposed SRU to include also binaries for bug 2000030.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package linux-oem-6.0 - 6.0.0-1010.10

---------------
linux-oem-6.0 (6.0.0-1010.10) jammy; urgency=medium

  * jammy/linux-oem-6.0: 6.0.0-1010.10 -proposed tracker (LP: #2001070)

  * Microphone mute LED not working as expected after pressing the mic mute
    hotkey (LP: #2000909)
    - ALSA: hda/realtek: Apply dual codec fixup for Dell Latitude laptops

  * Soundwire support for the Intel RPL Gen 0C40/0C11 platforms (LP: #2000030)
    - SAUCE: ASoC: Intel: soc-acpi: add configuration for variant of 0C40 product
    - SAUCE: ASoC: Intel: soc-acpi: add configuration for variant of 0C11 product

  * Keeps rebooting with AMD W6400, W6600, and W6800 graphic cards
    (LP: #2000110)
    - drm/amdgpu: disable BACO support on more cards

  * Fix SUT can't displayed after resume from WB/CB with dGFX
    installed(FR:6/10)[RX6300][RX6500] (LP: #1999836)
    - drm/amd/display: No display after resume from WB/CB

  * Soundwire support for the Intel RPL Gen platforms (LP: #1997944)
    - ASoC: Intel: soc-acpi-intel-rpl-match: add rpl_sdca_3_in_1 support
    - ASoC: Intel: sof_sdw: Add support for SKU 0C10 product
    - ASoC: Intel: soc-acpi: add SKU 0C10 SoundWire configuration
    - ASoC: Intel: sof_sdw: Add support for SKU 0C40 product
    - ASoC: Intel: soc-acpi: add SKU 0C40 SoundWire configuration
    - ASoC: Intel: sof_sdw: Add support for SKU 0C4F product
    - ASoC: rt1318: Add RT1318 SDCA vendor-specific driver
    - ASoC: intel: sof_sdw: add rt1318 codec support.
    - ASoC: Intel: sof_sdw: Add support for SKU 0C11 product
    - ASoC: Intel: soc-acpi: add SKU 0C11 SoundWire configuration
    - SAUCE: ASoC: Intel: soc-acpi: update codec addr on 0C11/0C4F product
    - [Config] enable CONFIG_SND_SOC_RT1318_SDW

  * Add additional Mediatek MT7922 BT device ID (LP: #1998885)
    - Bluetooth: btusb: Add a new VID/PID 0489/e0f2 for MT7922

  * Mute/mic LEDs no function on a HP platfrom (LP: #1998882)
    - ALSA: hda/realtek: fix mute/micmute LEDs for a HP ProBook

  * Enable Intel FM350 wwan CCCI driver port logging (LP: #1997686)
    - net: wwan: t7xx: use union to group port type specific data
    - net: wwan: t7xx: Add port for modem logging

  * CVE-2022-4378
    - proc: proc_skip_spaces() shouldn't think it is working on C strings
    - proc: avoid integer type confusion in get_proc_long

  * Add cs35l41 firmware loading support (LP: #1995957)
    - ALSA: hda/realtek: More robust component matching for CS35L41

 -- Timo Aaltonen <email address hidden> Wed, 04 Jan 2023 11:54:42 +0200

Changed in linux-oem-6.0 (Ubuntu Jammy):
status: Fix Committed → Fix Released
Revision history for this message
Dimitri John Ledkov (xnox) wrote :

$ dput ubuntu firmware-sof_2.0-1ubuntu4.1_source.changes
D: Setting host argument.
Checking signature on .changes
gpg: /tmp/firmware-sof_2.0-1ubuntu4.1_source.changes: Valid signature from 9B8EC849D5EF70ED
Checking signature on .dsc
gpg: /tmp/firmware-sof_2.0-1ubuntu4.1.dsc: Valid signature from 9B8EC849D5EF70ED
Uploading to ubuntu (via ftp to upload.ubuntu.com):
  Uploading firmware-sof_2.0-1ubuntu4.1.dsc: done.
  Uploading firmware-sof_2.0-1ubuntu4.1.debian.tar.xz: done.
  Uploading firmware-sof_2.0-1ubuntu4.1_source.buildinfo: done.
  Uploading firmware-sof_2.0-1ubuntu4.1_source.changes: done.
Successfully uploaded packages.

In unapproved queue.

Revision history for this message
Timo Aaltonen (tjaalton) wrote : Please test proposed package

Hello You-Sheng, or anyone else affected,

Accepted firmware-sof into jammy-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/firmware-sof/2.0-1ubuntu4.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification-needed-jammy to verification-done-jammy. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-jammy. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Changed in firmware-sof (Ubuntu Jammy):
status: In Progress → Fix Committed
tags: added: verification-needed verification-needed-jammy
removed: verification-done-jammy
Revision history for this message
Andy Chi (andch) wrote :

Install firmware-sof-signed version 2.0-1ubuntu4.1 on TRBR-DVT1-C3_202211-30859, the speaker and internal microphone work well.

Revision history for this message
Andy Chi (andch) wrote :
tags: added: verification-done verification-done-jammy
removed: verification-needed verification-needed-jammy
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package firmware-sof - 2.0-1ubuntu4.1

---------------
firmware-sof (2.0-1ubuntu4.1) jammy; urgency=medium

  * Add RPL topology updates
    - UBUNTU: SAUCE: Add v2.2.3 topology updates for Intel RPL, ADL and ICL
      platforms. (LP: #1997944)
    - UBUNTU: SAUCE: Add v2.2.4 topology updates for Intel RPL, ADL and JSL
      platforms (LP: #2000030)

 -- You-Sheng Yang (vicamo) <email address hidden> Fri, 23 Dec 2022 16:50:02 +0800

Changed in firmware-sof (Ubuntu Jammy):
status: Fix Committed → Fix Released
Revision history for this message
Timo Aaltonen (tjaalton) wrote : Update Released

The verification of the Stable Release Update for firmware-sof has completed successfully and the package is now being released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package linux - 6.1.0-16.16

---------------
linux (6.1.0-16.16) lunar; urgency=medium

  * lunar/linux: 6.1.0-16.16 -proposed tracker (LP: #2008480)

  * Packaging resync (LP: #1786013)
    - debian/dkms-versions -- temporarily drop broken dkms

 -- Andrea Righi <email address hidden> Fri, 24 Feb 2023 14:24:48 +0100

Changed in linux (Ubuntu Lunar):
status: In Progress → Fix Released
You-Sheng Yang (vicamo)
Changed in hwe-next:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.