well finally found the way to make it work in the legion 7 2021 AMD
(16achg6)...

this is a short tutorial to build the kernel with the patch (I've done
it on fedora 35):

1) make sure you have all the tools to build the kernel
(https://fedoraproject.org/wiki/Building_a_custom_kernel):

* sudo dnf install fedpkg fedora-packager rpmdevtools ncurses-devel
pesign grubby git

2) clone the kernel from github and checkout to v5.17 branch:

* git clone https://github.com/torvalds/linux.git
* cd linux
* git checkout v5.17-rc4
* git pull

3) get the patch and install it:

get the patch form this site: (top rigth corner "series" button):
https://patchwork.kernel.org/project/linux-acpi/patch/20220121172431.6876-4-sbind...@opensource.cirrus.com/

* git am Support-Spi-in-i2c-multi-instantiate-driver.patch

4) load your old kernel config

* make olddefconfig

5) change configuration at menuconfig as Howard Chu explained in his
previous post

* menuconfig -> Device Drivers / X86 Platform Specific Device Drivers /
I2C and SPI multi instantiate pseudo device driver ------> Enable this

6) build the kernel

* make -j 16

7) install the kernel

* sudo make module_install
* sudo make install

8) reboot and enjoy internal speakers


(if anyone sees a mistake or something that I did wrong please feel free to 
correct these steps)

Thank you to everyone who worked on this patch

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

Title:
  [Lenovo Legion7 16ACHg6 82N6, Realtek ALC287, Speaker, Internal] No
  sound at all

To manage notifications about this bug go to:
https://bugs.launchpad.net/sound-2.6/+bug/1958019/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to