[Bug 1868210] Re: [SRU] Load ucm on Lenovo notebooks based on bios version

Jean- jean.helou at gmail.com
Thu Apr 2 08:57:21 UTC 2020


As a follow up on https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1845678/comments/28 where I reported that updating the bios on my X1C7 broke the sound with sof/skl : 
I checked the bios information as explained in the original description here. 

> cat /sys/devices/virtual/dmi/id/bios_version
N2HET47W (1.30 )

> ll /usr/share/alsa/ucm/LENOVO-BIOSID-N2H                                 
total 4
-rw-r--r-- 1 root root 1042 mars  27 04:40 LENOVO-BIOSID-N2H.conf

-- 
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