[Bug 1868210] Re: [SRU] Load ucm on Lenovo notebooks based on bios version
Launchpad Bug Tracker
1868210 at bugs.launchpad.net
Tue Apr 14 21:07:55 UTC 2020
This bug was fixed in the package alsa-lib - 1.1.9-0ubuntu1.3
---------------
alsa-lib (1.1.9-0ubuntu1.3) eoan; urgency=medium
* d/p/0010-add-bios-version-for-looking-for-ucm.patch
Add a new way to looking for the ucm by DMI bios_version.
Without this patch, the alsa-lib looks for the ucm by cardlongname
first, if it fails, then by the cardname. This has a problem at least
on LENOVO machines, since a LENOVO model has the same audio design but
it has hundreds of cardlongname, we need to create hundreds of folders
for one model, that is unacceptable. LENOVO told us a LENOVO model has
the unique biso_version, we could use it to find the ucm. After applying
this patch, the alsa-lib looks for the ucm by cardlongname first, if it
fails, it will use bios_version, if it also fails, it will fallback to
cardname.
(LP: #1868210)
-- Hui Wang <hui.wang at canonical.com> Fri, 27 Mar 2020 11:40:37 +0800
** Changed in: alsa-lib (Ubuntu Eoan)
Status: Fix Committed => Fix Released
--
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 Released
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