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
tar -xJf
.
- 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)
- run
make menuconfig
, save the config to .config and exit.
- run
make -j
(if you forget -j it will take for ever)
- run
make modules_install -j
- run
make install -j
If everything goes correctly, initramfs and grub should get updated automatically, if not:
- run
update-initramfs -c -k
- run
update-grub
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!