Sometimes, on older versions of Linux systems, an error appears when the touchpad does not work. Here are some tips to fix it.
sudo nano /etc/default/grub
GRUB_CMDLINE_LINUX_DEFAULT="i8042.nopnp=1 pci=nocrs"
sudo grub2-mkconfig -o /boot/grub2/grub.cfg
Reboot your computer.
You can also check which drivers are required for your touchpad. Usually, these are Synaptics and Elantech
xinput list