[SRU] Load ucm on Lenovo notebooks based on bios version
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
HWE Next |
Fix Released
|
Undecided
|
Unassigned | ||
alsa-lib (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
Bionic |
Fix Released
|
High
|
Hui Wang | ||
Eoan |
Fix Released
|
High
|
Unassigned | ||
Focal |
Invalid
|
Undecided
|
Unassigned |
Bug Description
This SRU is not backported from upstream of alsa-lib and this SRU is not going to be submitted to upstream. That is because the latest alsa-lib already supports ucm2, and with ucm2 all machines could share one ucm, so latest alsa-lib does not have this problem. This problem is only specific to the alsa-lib in Bionic and Eoan.
[Impact]
On some Lenovo notebooks, UCM files are not loaded and mic can't be used.
[Fix]
UCM was loaded based on cardlongname, but that can't cover all configs of the same model. Lenovo suggested to load ucm by the first 3 letters of /sys/devices/
[Test Case]
After applying this patch, install the testing alsa-lib on Lenovo X1C7 and Dell vostro 5390, which are all machines with the DMIC connected to PCH. After system bootup, check the /usr/share/
Lenovo X1C7 should load the N2H/*.conf and verify the audio functionalities. The Dell machine should still load the ucm by cardname, and it should work as good as before.
[Regression Potential]
low, just add some new UCMs and let Lenovo machine find the UCM by bios_version if it fails by cardlongname. I've already tested the change on Lenovo and Dell machines.
Changed in alsa-lib (Ubuntu): | |
assignee: | nobody → Hui Wang (hui.wang) |
importance: | Undecided → Critical |
Changed in alsa-lib (Ubuntu Focal): | |
status: | New → Invalid |
Changed in alsa-lib (Ubuntu Bionic): | |
status: | New → Confirmed |
importance: | Undecided → High |
Changed in alsa-lib (Ubuntu Focal): | |
importance: | Critical → Undecided |
Changed in alsa-lib (Ubuntu Bionic): | |
assignee: | nobody → Hui Wang (hui.wang) |
Changed in alsa-lib (Ubuntu Focal): | |
assignee: | Hui Wang (hui.wang) → nobody |
Changed in alsa-lib (Ubuntu Eoan): | |
status: | New → Confirmed |
importance: | Undecided → High |
description: | updated |
description: | updated |
Changed in hwe-next: | |
status: | New → Fix Released |
BTW, this SRU is not backported from upstream of alsa-lib and this SRU is not going to be submitted to upstream. That is because the latest alsa-lib already supported the ucm2 and with ucm2 all machines could share one ucm, so there is no this problem for latest alsa-lib. This problem is only specific to the alsa-lib of Eoan and Bionic.