Comment 321 for bug 1958019

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

(In reply to Cameron Berkenpas from comment #296)
> Created attachment 297621 [details]
> yoga7-alc287-0.0.5.patch - snd-hda-intel patch for Yoga 7 models
>
> This is another snd-hda-intel patch. _NOT_ a kernel patch.
>
> This works for the Yoga 7. AFAIK, it should cover at least both the Yoga 7
> 14ITL5 and the 14cITL. I think these are likely Yoga 7 models for different
> regions.
>
> If yours doesn't work, please let us know what steps you took to try the
> patch and what specifically doesn't work.
>
> 1. Download the "yoga7-alc287-0.0.5.patch" from this bug.
>
> 2. Copy it to /lib/firmware/yoga-alc287.patch. Ie, "sudo cp
> yoga-alc287-0.0.5.patch /lib/firmware/yoga7-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=yoga7-alc287.patch
>
> 5. Reboot
>
> 6. Test your sound (including with plugging and unplugging headphones while
> sound is playing) 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 or better than applying verbs-yoga7.txt
> or as well as 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

I performed the above steps on a Yoga 7 14ITL5 (reporting "Realtek ALC287" from alsa-info) running Elementary OS 6 beta (Ubuntu 20.04 LTS) with kernel 5.8.0-55. It did not work. Only speakers do not work. All other audio (headphones, HDMI, bluetooth) works.