@injkgz

And also for those who have difficult building the custom kernel which
is not necessary, you can build a single pinctrl-amd.ko.

1. After you download the attached file which contains fixed pinctrl-
amd.c and other heades for building, run make to build this module,

$ make
make -C /lib/modules/`uname -r`/build M=`pwd`
make[1]: Entering directory '~/kernel/linux_touchpad
  CC [M]  ~/kernel/other/standone_pinctrl-amd/pinctrl-amd.o
  AR      ~/kernel/other/standone_pinctrl-amd/built-in.a
  MODPOST ~/kernel/other/standone_pinctrl-amd/Module.symvers
  CC [M]  ~/kernel/other/standone_pinctrl-amd/pinctrl-amd.mod.o
  LD [M]  ~/kernel/other/standone_pinctrl-amd/pinctrl-amd.ko

make[1]: Leaving directory '/home/coiby/Desktop/kernel/linux_touchpad'


2 Copy pinctrl-amd.ko to override the current one whose path can be found by 
modinfo

$ modinfo pinctrl-amd
filename:       
/lib/modules/5.9.0-rc7-MANJARO+/kernel/drivers/pinctrl-amd/pinctrl-amd.ko.xz
$ cp pinctrl-amd.ko 
/lib/modules/5.9.0-rc7-MANJARO+/kernel/drivers/pinctrl-amd/pinctrl-amd.ko.xz

3. reboot the system and now you are expected to see a working touchpad
;

** Attachment added: "to build a stand-alone module"
   
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1887190/+attachment/5419803/+files/standone_pinctrl-amd.zip

-- 
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