Comment 618 for bug 1958019

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

(In reply to <email address hidden> from comment #603)
> Hi all,
> I'm facing the same problem with my Lenovo Legion 7. I'm running Ubuntu
> 20.04.4 LTS and am not very familiar with kernels. I tried finding the linux
> source folder/directory, open the file: sound/pci/hda/patch_realtek.c but I
> don't have the pci folder.
>
> Is there already a solution for this?
>
> My alsa-info:
> http://alsa-project.org/db/?f=bb246fbe1fe783444da0b95a9bab4fba09613c8a
>
> Appreciate any suggestions.
> Thanks!

Seems you haven't installed the kernel source tree.

Obtain the kernel headers and the compiler, and download the kernel sources ...
sudo apt-get source linux-image-$(uname -r)
sudo apt-get build-dep linux-image-$(uname -r)

For compiling a kernel module that's a good doc. Start with:
https://yoursunny.com/t/2018/one-kernel-module/

... at the end there's only the need to replace one kernel module

Seems that your ALC287 has the id
0x17aa3847

Unfortunately having never done that before will need some learning time ...

The 2nd method would be to use the applyverbs method used also in one of our early trials (see comment 403).
Please make sure that the underlying "hda-verb" is installed, which may need some searching.
It simple fires the needed sequence to the devices as done in the kernel patch.

Good luck ...