Comment 307 for bug 1958019

Revision history for this message
In , cam (cam-linux-kernel-bugs) wrote :

Created attachment 297619
legion-alc287-0.0.5.patch - snd-hda-intel patch

This is another snd-hda-intel patch. _NOT_ a kernel patch.

This works for the Legion. It may work for the Yoga 7 with output from only one speaker. I'll upload a separate snd-hda-intel patch for the Yoga 7.

I've streamlined the instructions slightly:

1. Download the "legion-alc287-0.0.5.patch" from this bug.

2. Copy it to /lib/firmware/legion-alc287.patch. Ie, "sudo cp legion-alc287-0.0.5.patch /lib/firmware/legion-alc287.patch"

3. Create/open "/etc/modprobe.d/lenovo-fix.conf" in your favorite text editor. Ie, "sudo nano -w /etc/modprobe.d/lenovo-fix.conf"

4. Set the contents of "/etc/modprobe.d/lenovo-fix.conf" to be following then save and exit:
# Patch file to enable output on speakers.
options snd-hda-intel patch=legion-alc287.patch

5. Reboot

6. Test your sound and report back here with your results.

NOTE: To disable the patch, remove /etc/modprobe.d/lenovo-fix.conf and reboot.

This patch file should work as well as applying verbs-legion.txt or using the kernel patch (provided your model is supported by the patch).

Some more info on snd-hda patch files can be found here for those wanting to experiment:
https://www.kernel.org/doc/html/latest/sound/hd-audio/notes.html