So I have been browsing the Arch Wiki and saw this:
Touchpad
The touchpad does not work to begin with. It may work initially with libinput or synaptics, but only sometimes. The touchpad can be seen registered either as
Elan Touchpad
orELAN0634:00 04F3:3124
in the Xorg logs. Since the touchpad only works, when it is seen registered asELAN0634:00 04F3:3124
in the Xorglogs, the touchpad works quite randomly, but not consistently. To circumvent this, one has to blacklist theelan_i2c
kernel module.
This seems to be the solution to the problem.
I have followed the steps on the Kernel Module - Wiki, to blacklist the elan_i2c
kernel.
Solution
Create a .conf file inside /etc/modprobe.d/
and append a line for each module you want to blacklist, using the blacklist
keyword.
sudo nano /etc/modprobe.d/psmouse.conf
blacklist elan_i2c
Edit: I now know how to post links :
https://wiki.archlinux.org/title/Lenovo_Yoga_Slim_7_(AMD_Ryzen_7)
https://wiki.archlinux.org/title/Kernel_module#Blacklisting