Here is another variant, now with RC6, works the sound and the nvidia
drivers at the same time! (with some tricks):

A) FIRST TIME
1) install kernel build tools:
(https://wiki.ubuntu.com/Kernel/BuildYourOwnKernel):

* sudo apt install libncurses-dev gawk flex bison openssl libssl-dev
dkms libelf-dev libudev-dev libpci-dev libiberty-dev autoconf git p7zip-
full

2) clone the kernel from github and checkout to v5.17 branch (Rather
large, multiple GB's):

* git clone https://github.com/torvalds/linux.git

3)Make a 7z of the linux folder in a clear state
7z a linux-clean.7z linux

3) get the patch and let it in one superior level of the linux folder:

https://patchwork.kernel.org/project/linux-
acpi/patch/[email protected]/


A) FOR EACH RC RELEASE:
7z x linux-clean.7z
cp Support-Spi-in-i2c-multi-instantiate-driver.patch linux/
cd linux
git pull
git checkout v5.17-rc6
git am Support-Spi-in-i2c-multi-instantiate-driver.patch
make olddefconfig
./scripts/config --enable CONFIG_SERIAL_MULTI_INSTANTIATE
./scripts/config --enable CONFIG_SND_HDA_SCODEC_CS35L41_I2C
./scripts/config --enable CONFIG_SND_HDA_SCODEC_CS35L41_SPI
./scripts/config --disable CONFIG_DEBUG_INFO
./scripts/config --set-str CONFIG_SYSTEM_TRUSTED_KEYS ""
./scripts/config --set-str CONFIG_SYSTEM_REVOCATION_KEYS ""
make -j 16
make modules_install
make install


The patch is mandatory to enable the sound in ubuntu, im tried without the path 
and the sound don't work. With this steps will do.
In order to make work the nvidia drivers in the 17-rc6 im just change in "more 
drivers" option of ubuntu, the current versión of the nvidia driver for another 
(511 to 470 for example).
Im using hybrid graphics mode in the bios.

-- 
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
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to