(In reply to henry.hormaza from comment #560)
> 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-
> <email address hidden>/
>
> * 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
(In reply to henry.hormaza from comment #560) /fedoraproject. org/wiki/ Building_ a_custom_ kernel): /github. com/torvalds/ linux.git /patchwork. kernel. org/project/ linux-acpi/ patch/202201211 72431.6876- 4- Spi-in- i2c-multi- instantiate- driver. patch
> 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:/
>
> * 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:/
> * 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:/
> <email address hidden>/
>
> * git am Support-
>
> 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
legion 7 2021 AMD (16achg6)
Can anyone do this tutorial for UBUNTU please?