I have scripted the process I used (download, patch, compile and install the kernel) for anyone else that's eager to get a working Touchpad on a Ubuntu 20 installation on Lenovo Legion 5 (Obviously there may be unwanted side effects of doing this). This will probably require Secure Boot to be disabled in the BIOS.
I had the same issue (with both Ubuntu 20.04 and 20.10). It does seem to be resolved after installing a 5.9 Kernel with the above patch applied (from @coiby https:/ /www.spinics. net/lists/ linux-input/ msg69458. html.
I have scripted the process I used (download, patch, compile and install the kernel) for anyone else that's eager to get a working Touchpad on a Ubuntu 20 installation on Lenovo Legion 5 (Obviously there may be unwanted side effects of doing this). This will probably require Secure Boot to be disabled in the BIOS.
See GitHub Gist here: https:/ /gist.github. com/jbuncle/ 7dacde983b3c33b 3b816b10e2fd230 8a /gist.githubuse rcontent. com/jbuncle/ 7dacde983b3c33b 3b816b10e2fd230 8a/raw/ build-patched- kernel. sh)`
Command for convenience: `bash <(curl https:/
Note the need for updating GRUB_CMDLINE_ LINUX_DEFAULT with i2c-hid. polling_ mode=1
(First time I've built the Linux Kernel myself or even commented on here!)
Thanks to @Coiby Xu (coiby)