Add soundwire sdca codec support

Bug #1924970 reported by Andy Chi
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OEM Priority Project
Fix Released
Undecided
Andy Chi
alsa-ucm-conf (Ubuntu)
Fix Released
High
Unassigned
Focal
Fix Released
Medium
Unassigned
Hirsute
Fix Released
Medium
Unassigned

Bug Description

[Impact]

 * The output device in sound settings will non-functional.
   Sound input device will be empty.
   An upstream commit add supports for SDW sdca codec support.

[Test Plan]

 * Open settings and select Sound column.
   Testing speaker won't have any sound output.
 * Try to update files mentioned here
   https://github.com/alsa-project/alsa-ucm-conf/pull/71/commits/a7f348bb37d2b3254801702299ab2c76833a3c16
   https://github.com/alsa-project/alsa-ucm-conf/pull/71/commits/651c2c851bf17a1d76e0a046eb33eccbcf98845f
 * alsactl init

 * Open settings and select Sound column and test output device again.
   Sound devices work properly.

[Where problems could occur]

 * This change adds new hardware support.

 * The change only adds new hardware support,
   it will not affect other codec device.

[Other Info]

 * The change has been verified on Dell machine with sdca codec.

Andy Chi (andch)
tags: added: oem-priority originate-from-1902170 somerville
Changed in oem-priority:
assignee: nobody → Andy Chi (andch)
description: updated
Andy Chi (andch)
Changed in oem-priority:
assignee: Andy Chi (andch) → nobody
Changed in oem-priority:
assignee: nobody → Andy Chi (andch)
Revision history for this message
Andy Chi (andch) wrote :

Upload debdiff for focal.

Revision history for this message
Andy Chi (andch) wrote :

Upload debdiff for groovy.

Revision history for this message
Andy Chi (andch) wrote :

Upload debdiff for hirsute.

Revision history for this message
Sebastien Bacher (seb128) wrote :

Uploaded to Hirsute and Focal series. Do you need G as well? If not we should probably skip, it's about to be non current and is not a LTS, it doesn't seem worth spending SRU review and verification resources on it now

Changed in alsa-ucm-conf (Ubuntu):
importance: Undecided → High
status: New → Fix Committed
Revision history for this message
Andy Chi (andch) wrote :

Hi @seb128,
I don't know if G also need it or not. Since it's not LTS, I think we don't need it.

Revision history for this message
Andy Chi (andch) wrote :

Thank you.

Revision history for this message
Brian Murray (brian-murray) wrote :

How is the following patch related to this SRU bug?

d/p/0001-ucm2-soundwire-use-cfg-amp-instead-of-cfg-spk-component-string.patch

From what I can tell it doesn't seem to be related.

Changed in alsa-ucm-conf (Ubuntu):
status: Fix Committed → Incomplete
Revision history for this message
Andy Chi (andch) wrote :

Hi @brian-murray,
This patch is needed since it will initial fail if not applied.
It changes the parsing rule, so we need this patch.

alsa-lib utils.c:335:(uc_mgr_config_load) could not open configuration file /usr/share/alsa/ucm2//sof-soundwire/rt1316-4.conf
alsa-lib parser.c:95:(uc_mgr_config_load_file) error: failed to open file /usr/share/alsa/ucm2//sof-soundwire/rt1316-4.conf : -2
alsa-lib main.c:1014:(snd_use_case_mgr_open) error: failed to import hw:0 use case configuration -2
Found hardware: "sof-soundwire" "Intel Tigerlake HDMI" "HDA:80862812,80860101,00100000 cfg-spk:4 cfg-amp:2 hs:rt711-sdca spk:rt1316 mic:rt715-sdca" "" ""
Hardware is initialized using a generic method

Thanks.

Mathew Hodson (mhodson)
Changed in alsa-ucm-conf (Ubuntu):
status: Incomplete → In Progress
Revision history for this message
Timo Aaltonen (tjaalton) wrote : Please test proposed package

Hello Andy, or anyone else affected,

Accepted alsa-ucm-conf into hirsute-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/alsa-ucm-conf/1.2.4-2ubuntu1.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-hirsute to verification-done-hirsute. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-hirsute. 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 alsa-ucm-conf (Ubuntu Hirsute):
status: New → Fix Committed
tags: added: verification-needed verification-needed-hirsute
Changed in alsa-ucm-conf (Ubuntu Focal):
status: New → Fix Committed
tags: added: verification-needed-focal
Revision history for this message
Timo Aaltonen (tjaalton) wrote :

Hello Andy, or anyone else affected,

Accepted alsa-ucm-conf into focal-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/alsa-ucm-conf/1.2.2-1ubuntu0.7 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-focal to verification-done-focal. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-focal. 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.

Revision history for this message
Andy Chi (andch) wrote :

Test on Dell machine. OS: 20.04
Open settings and select Sound column.
Headset / Speaker / HDMI1 / DP1 output work properly.

tags: added: verification-done-focal
removed: verification-needed-focal
Revision history for this message
Andy Chi (andch) wrote :

Test on Dell machine with hirsute.
Open settings and select Sound column.
Headset / Speaker / HDMI1 / DP1 output work properly.

tags: added: verification-done-hirsute
removed: verification-needed-hirsute
Andy Chi (andch)
tags: added: verification-done
removed: verification-needed
Mathew Hodson (mhodson)
Changed in alsa-ucm-conf (Ubuntu Focal):
importance: Undecided → Medium
Changed in alsa-ucm-conf (Ubuntu Hirsute):
importance: Undecided → Medium
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package alsa-ucm-conf - 1.2.4-2ubuntu1.1

---------------
alsa-ucm-conf (1.2.4-2ubuntu1.1) hirsute; urgency=medium

  * d/p/0001-ucm2-soundwire-use-cfg-amp-instead-of-cfg-spk-component-string.patch
  * d/p/0002-Add-support-for-rt711-sdca-rt1316-and-rt715-sdca.patch
    Add support for rt711-sdca, rt1316 and rt715-sdca. (LP: #1924970)

 -- Andy Chi <email address hidden> Mon, 19 Apr 2021 16:51:55 +0800

Changed in alsa-ucm-conf (Ubuntu Hirsute):
status: Fix Committed → Fix Released
Revision history for this message
Łukasz Zemczak (sil2100) wrote : Update Released

The verification of the Stable Release Update for alsa-ucm-conf 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 alsa-ucm-conf - 1.2.2-1ubuntu0.7

---------------
alsa-ucm-conf (1.2.2-1ubuntu0.7) focal; urgency=medium

  * d/p/0001-ucm2-soundwire-use-cfg-amp-instead-of-cfg-spk-component-string.patch
  * d/p/0002-Add-support-for-rt711-sdca-rt1316-and-rt715-sdca.patch
    Add support for rt711-sdca, rt1316 and rt715-sdca. (LP: #1924970)

 -- Andy Chi <email address hidden> Fri, 16 Apr 2021 17:32:34 +0800

Changed in alsa-ucm-conf (Ubuntu Focal):
status: Fix Committed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package alsa-ucm-conf - 1.2.4-2ubuntu2

---------------
alsa-ucm-conf (1.2.4-2ubuntu2) impish; urgency=medium

  * d/p/0001-ucm2-soundwire-use-cfg-amp-instead-of-cfg-spk-component-string.patch
  * d/p/0002-Add-support-for-rt711-sdca-rt1316-and-rt715-sdca.patch
    Add support for rt711-sdca, rt1316 and rt715-sdca. (LP: #1924970)

 -- Andy Chi <email address hidden> Mon, 19 Apr 2021 16:51:55 +0800

Changed in alsa-ucm-conf (Ubuntu):
status: In Progress → Fix Released
Rex Tsai (chihchun)
Changed in oem-priority:
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.