原地址:https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1887190/+index?comments=all
And also for those who have difficult building the custom kernel which is not necessary, you can build a single pinctrl-amd.ko.
- 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
- reboot the system and now you are expected to see a working touchpad
;