[Bug 1868210] Re: [SRU] Load ucm on Lenovo notebooks based on bios version
Bin Li
1868210 at bugs.launchpad.net
Wed Apr 1 10:33:46 UTC 2020
Tried libasound2 packages with the 5.0.0-10477-oem-osp1 kernel in
proposed, the dmic works fine on bionic.
libasound2:1.1.3-5ubuntu0.5
libasound2-data:1.1.3-5ubuntu0.5
** Tags removed: verification-needed-bionic
** Tags added: verification-done-bionic
--
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/1868210
Title:
[SRU] Load ucm on Lenovo notebooks based on bios version
Status in HWE Next:
New
Status in alsa-lib package in Ubuntu:
Invalid
Status in alsa-lib source package in Bionic:
Fix Committed
Status in alsa-lib source package in Eoan:
Fix Committed
Status in alsa-lib source package in Focal:
Invalid
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/virtual/dmi/id/bios_version, so that all configs could use just one ucm.
[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/alsa/ucm/ for the presence of LENOVO-BIOSID-xxx directories.
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.
To manage notifications about this bug go to:
https://bugs.launchpad.net/hwe-next/+bug/1868210/+subscriptions
More information about the Ubuntu-sponsors
mailing list