Here's a better workaround, i.e. both speakers as well as microphone
work properly (tested on a Lenovo Thinkpad X1 Carbon Gen 12 with a TPM
backed FDE setup running Ubuntu 24.04.3):

apt download firmware-sof-signed
dpkg-deb -x firmware-sof-signed_*.deb extracted
sudo mkdir /lib/firmware/intel-extras
sudo mv extracted/lib/firmware/intel/* /lib/firmware/intel-extras/

Now you just need to append 'firmware_class.path=/lib/firmware/intel-
extras' to the kernel boot cmdline. Unfortunately, in these hybrid
setups (snap kernel + classic ubuntu) which is the case when using TPM
backed FDE, there doesn't appear to be a straightforward way to modify
the kernel cmdline. grub-mkconfig breaks grub since grub is managed by
snap in these setups, and the snap setting 'snap set system
system.kernel.dangerous-cmdline-
append="firmware_class.path=/lib/firmware/intel-extras"' only works on
Ubuntu Core.

So, the hacky solution is to manually edit /boot/grub/grub.cfg and add
'firmware_class.path=/lib/firmware/intel-extras' to the boot cmdline.
This is not reliable since updates can overwrite grub.cfg, but the hack
is relatively simple to restore should grub.cfg get updated.

If anyone knows a less hacky way to modify the kernel boot cmdline in
these setups, please do tell.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2092363

Title:
  Missing (but referenced) SOF firmware in pc-kernel – No Audio

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-kernel-snaps/+bug/2092363/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to