[SRU] alsa-lib: support the enum value settings both in "" and in ''
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
HWE Next |
Fix Released
|
Undecided
|
Unassigned | ||
alsa-lib (Ubuntu) |
Fix Released
|
High
|
Hui Wang | ||
Focal |
Fix Released
|
High
|
Hui Wang | ||
Groovy |
Fix Released
|
High
|
Hui Wang |
Bug Description
[Impact]
Recently the ucm added some amixer settings, like this one:
cset "name='rt711 ADC 23 Mux' 'MIC2'"
This setting is needed for Dell soundwire audio machines, and only
this setting is set correctly, the headset-mic could work. And we
already backported this ucm to focal. But the alsa-lib ctl parse
doesn't support the enum value in the '' yet, so this amixer setting
can't be set correctly under current focal and groovy, we need to
backport a patch from alsa-lib master branch.
[Fix]
Backport a patch from upstream, this patch is not in the groovy
yet (not in the alsa-lib v1.2.3.2), so both groovy and focal need this
patch.
[Test Case]
On the Dell soundwire audio machine, run alsactl init, then check if
the amixer "rt711 ADC 23 Mux" is set to "MIC2" or not, if it is set
correctly, it means the alsalib enum ctl parse support both "" and ''
now.
[Regression Risk]
This could introduce failure on setting enum amixer settings, users
will experience the failure of audio device like the speaker can't output
sound, the mic can't record sound. But this possibility is very low since
we have tested this SRU on many LENOVO and Dell machines (with and without
soundwire audio), all worked as fine as before.
affects: | alsa-utils (Ubuntu) → alsa-lib (Ubuntu) |
Changed in alsa-lib (Ubuntu Focal): | |
importance: | Undecided → High |
Changed in alsa-lib (Ubuntu Groovy): | |
importance: | Undecided → High |
Changed in alsa-lib (Ubuntu Focal): | |
assignee: | nobody → Hui Wang (hui.wang) |
tags: | added: oem-priority originate-from-1894184 somerville |
Changed in alsa-lib (Ubuntu Focal): | |
status: | New → In Progress |
Changed in alsa-lib (Ubuntu Groovy): | |
status: | New → In Progress |
Changed in hwe-next: | |
status: | New → Fix Released |
This is the debdiff for groovy.
thx.