You will need the latest stable kernel.
Here's some instructions on how to get the latest kernel for Ubuntu 18.04. The instructions transfer to any Debian-based distro and might transfer to other distros like fedora, RHEL or etc. As far as I can tell this was tested and works with Ubuntu 18.04.
- get the prerequisits: sudo apt install git fakeroot build-essential ncurses-dev xz-utils libssl-dev bc
- Download the source for the latest stable kernel on kernel.org.
- Extract the tar.xz file in a folder of your choosing with
- Go in the extracted folder and copy your current configuration which is in /boot/ with
cp /boot/config-$(uname -r) ./.config
(Might need to be root)
, save the config to .config and exit.
(if you forget -j it will take for ever)
make modules_install -j
make install -j
If everything goes correctly, initramfs and grub should get updated automatically, if not:
update-initramfs -c -k
The new kernel was now installed correctly. Make sure i2c-hid is not blacklisted, no ACPI parameters are supplied to GRUB, reboot and enjoy your touchpad.
Hope this helps someone!