Hi @Pop Michael (the-legion),

I think your distro is similar to mine (Pop!_OS 20.10) so I'll try to
describe what I did. I was struggling with this for some time too, cause
it was the first time I've applied a patch and re-built a kernel.

First, check if pinctrl-amd is included in kernel or not:
# modinfo pinctrl-amd

if it says `filename: (builtin)` then continue. Otherwise standalone
solution #189 is for you, which is easier cause you don't have to
rebuild the kernel.

Download the patch from #179.

Go into root mode:
# sudo -i

Get the kernel source:
# apt-get source linux-image-$(uname -r)

Go into the source:
# cd linux-5.8.0/

Apply the patch:
# patch -p1 < /path/to/patch/0303-pinctrl-amd2.patch

Build the kernel:
# debian/rules binary-headers binary-generic binary-perarch

This will take some time.

Now install newly build kernel:
# dpkg -i 
linux-image-5.8.0-7625-generic_5.8.0-7625.26~1604441477~20.10~d41e407_amd64.deb 
linux-headers-5.8.0-7625_5.8.0-7625.26~1604441477~20.10~d41e407_all.deb 
linux-headers-5.8.0-7625-generic_5.8.0-7625.26~1604441477~20.10~d41e407_amd64.deb

Your files might have different versions. But it should be 3 files: 
linux-image-*.deb, linux-headers-*.deb and linux-headers-*-generic-*.deb.
I'm not sure if it should be 3 files, maybe 2 is sufficient, but it didn't hurt 
my system.

Finally reboot. And touchpad should work.

I hope this helps.

-- 
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to xserver-xorg-input-libinput in Ubuntu.
https://bugs.launchpad.net/bugs/1887190

Title:
  MSFT Touchpad not working on Lenovo Legion-5 15ARH05

To manage notifications about this bug go to:
https://bugs.launchpad.net/pop-os/+bug/1887190/+subscriptions

_______________________________________________
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to     : ubuntu-x-swat@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp

Reply via email to