[SRU] alsa-ucm-conf: Add Realtek 4050 USB Codec profile for a Dell machine

Bug #1956855 reported by Hui Wang
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
HWE Next
Fix Released
Undecided
Unassigned
alsa-ucm-conf (Ubuntu)
Fix Released
Critical
Hui Wang
Focal
Fix Released
Critical
Unassigned
Impish
Fix Released
Critical
Unassigned
Jammy
Fix Released
Critical
Hui Wang

Bug Description

[Impact]
This Dell machine has dual Realtek 4050 USB Codecs as front and rear codec, the front codec has speaker and headset, the rear codec has line-out audio jack. Without UCM, the pulseaudio can't detect this two usb audio codec and the audio can't work at all.

[Fix]
Backport a upstream patch, the patch adds the front and rear profiles in the ucm, then pulseaudio will enable all audio devices in this machine.

[Test]
booting with patched ucm, open the gnome-sound-setting, we could see usb speaker, usb headset and usb lineout, play sound to speaker, headset and lineout, all worked well, record sound via headset, it could record the sound correctly.

[Where problems could occur]
This SRU adds the new ucm files to a folder, in theory it will not introduce regressions, but It adds a file USB-Audio.conf, it could make other ucm conf files in the USB-Audio folder fail to parse, and make the P620 and WD15/19's audio fail to work, but this possibility is very low, we already tested it and no regression found so far.

Hui Wang (hui.wang)
Changed in alsa-ucm-conf (Ubuntu):
importance: Undecided → Critical
assignee: nobody → Hui Wang (hui.wang)
Changed in alsa-ucm-conf (Ubuntu Impish):
importance: Undecided → Critical
Changed in alsa-ucm-conf (Ubuntu Focal):
importance: Undecided → Critical
status: New → In Progress
Changed in alsa-ucm-conf (Ubuntu Impish):
status: New → In Progress
Changed in alsa-ucm-conf (Ubuntu Jammy):
status: New → In Progress
tags: added: oem-priority originate-from-1949348 somerville
Revision history for this message
Hui Wang (hui.wang) wrote :

This is the debdiff for Jammy and Impish. (Jammy and Impish share the same alsa-ucm-conf so far, I prepared a alsa-ucm-conf for jammy based on the latest debian version, it is in https://launchpad.net/~hui.wang/+archive/ubuntu/new-jammy, if it could be merged, I will prepare a new SRU for jammy then).

Revision history for this message
Hui Wang (hui.wang) wrote :

This is the debdiff for focal.

Hui Wang (hui.wang)
description: updated
Revision history for this message
Sebastien Bacher (seb128) wrote :

If I read correctly the upstream history the changes are in 2.6.3 just slightly refactored to merge files right?

Changed in alsa-ucm-conf (Ubuntu Jammy):
status: In Progress → Fix Released
Changed in alsa-ucm-conf (Ubuntu Impish):
status: In Progress → Fix Committed
Changed in alsa-ucm-conf (Ubuntu Focal):
status: In Progress → Fix Committed
Revision history for this message
Sebastien Bacher (seb128) wrote :

uploaded to impish and focal now

Revision history for this message
Brian Murray (brian-murray) wrote : Please test proposed package

Hello Hui, or anyone else affected,

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

tags: added: verification-needed verification-needed-impish
Revision history for this message
Hui Wang (hui.wang) wrote :

@Seb,

You are right, the Jammy has the alsa-ucm-conf-2.6.3, and the fix is already in the v2.6.3, no need to apply SRU patch to Jammy.

Revision history for this message
Hui Wang (hui.wang) wrote :

Enable the impish-proposed on the Dell machine with has the USB 4050 audio codec, $apt-get update;$apt install alsa-ucm-conf, now the 1.2.4-2ubuntu6 is installed, reboot the machine, open the gnome-sound-setting, we could see the speaker, headset and lineout from the UI, and all of them could work correctly.

Verification done for Impish.

tags: added: verification-done verification-done-impish
removed: verification-needed verification-needed-impish
Revision history for this message
Chris Halse Rogers (raof) 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.4-2ubuntu6

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

  * d/p/0009-ucm2-Add-UCM-support-for-Dell-Desktop.patch
    Add Realtek 4050 USB Codec front and rear profiles
    for a Dell machine. (LP: #1956855)

 -- Hui Wang <email address hidden> Sun, 09 Jan 2022 15:23:42 +0800

Changed in alsa-ucm-conf (Ubuntu Impish):
status: Fix Committed → Fix Released
Revision history for this message
Robie Basak (racb) wrote : Please test proposed package

Hello Hui, 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.12 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.

tags: added: verification-needed verification-needed-focal
removed: verification-done
Revision history for this message
Hui Wang (hui.wang) wrote :

Enable the focal-proposed on the Dell machine which has the USB 4050 audio codec, $apt-get update;$apt install alsa-ucm-conf, now the 1.2.2-1ubuntu0.12 is installed, reboot the machine, open the gnome-sound-setting, we could see the speaker, headset and lineout from the UI, and all of them could work correctly.

Verification done for focal.

tags: added: verification-done verification-done-focal
removed: verification-needed verification-needed-focal
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package alsa-ucm-conf - 1.2.2-1ubuntu0.12

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

  * d/p/0034-ucm2-Add-UCM-support-for-Dell-Desktop.patch
    Add Realtek 4050 USB Codec front and rear profiles
    for a Dell machine. (LP: #1956855)

 -- Hui Wang <email address hidden> Sun, 09 Jan 2022 16:10:43 +0800

Changed in alsa-ucm-conf (Ubuntu Focal):
status: Fix Committed → Fix Released
Timo Aaltonen (tjaalton)
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.