[Bug 1949329] Re: [SRU] alsa-lib: ucm: Regex returns correct value without matching a string
Hui Wang
1949329 at bugs.launchpad.net
Mon Nov 1 07:47:08 UTC 2021
** Description changed:
- This bug is for tracking purpose.
+ [Impact]
+ In the Dell project, we tried to enable the audio on a machine, the machine has the soundwire audio design, it needs to load the ucm correctly, then users could see the audio devices from gnome. But on this machine, the ucm can't be loaded, through debugging, we found this machine has no headset, the Regex returns a wrong value when matching "Regex " hs:([a-z0-9]+(-sdca)?)". If let Regex returns a correct value, the ucm could be loaded successfully.
+
+ [Fix]
+ Backport a commit from upstream, this commit is merged to upstream from v1.2.5
+
+ [Test]
+ After installed the patched libasound2, reboot, we could see the ucm is loaded succesfully on this machine, and open the gnome-sound-setting, we could see the internal mic and internal speaker, and all of them could work normally.
+
+ [Where problems will occur]
+ This change affect the Regex parser in the ucm, so if it could introduce regression, it will be on the ucm. It could make the audio not work (fail to load ucm and users can't see any audio devices from gnome) on the machines which need ucm. But this possibility is very low, since this commit is backported from upstream and we already tested this backporting on 2 lenovo machines and 2 Dell machines which all need ucm to work.
--
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1949329
Title:
[SRU] alsa-lib: ucm: Regex returns correct value without matching a
string
Status in HWE Next:
New
Status in alsa-lib package in Ubuntu:
In Progress
Status in alsa-lib source package in Focal:
In Progress
Status in alsa-lib source package in Hirsute:
In Progress
Status in alsa-lib source package in Impish:
In Progress
Status in alsa-lib source package in Jammy:
In Progress
Bug description:
[Impact]
In the Dell project, we tried to enable the audio on a machine, the machine has the soundwire audio design, it needs to load the ucm correctly, then users could see the audio devices from gnome. But on this machine, the ucm can't be loaded, through debugging, we found this machine has no headset, the Regex returns a wrong value when matching "Regex " hs:([a-z0-9]+(-sdca)?)". If let Regex returns a correct value, the ucm could be loaded successfully.
[Fix]
Backport a commit from upstream, this commit is merged to upstream from v1.2.5
[Test]
After installed the patched libasound2, reboot, we could see the ucm is loaded succesfully on this machine, and open the gnome-sound-setting, we could see the internal mic and internal speaker, and all of them could work normally.
[Where problems will occur]
This change affect the Regex parser in the ucm, so if it could introduce regression, it will be on the ucm. It could make the audio not work (fail to load ucm and users can't see any audio devices from gnome) on the machines which need ucm. But this possibility is very low, since this commit is backported from upstream and we already tested this backporting on 2 lenovo machines and 2 Dell machines which all need ucm to work.
To manage notifications about this bug go to:
https://bugs.launchpad.net/hwe-next/+bug/1949329/+subscriptions
More information about the Ubuntu-sponsors
mailing list