Comment 143 for bug 1728244

Revision history for this message
Andrey (demontager) wrote :

Hi guys,
glad to inform that touchpad now is working on Teclast F7 running Xubuntu 18.04
It is just temporary workaround, hope it will added to default kernel.

All you need to do is patch kernel with that file https://github.com/brotfessor/sipodev/tree/master/b

1. Add needed packages before compiling kernel
sudo apt-get update
sudo apt-get build-dep linux
sudo apt-get install kernel-package
sudo apt-get install libncurses5-dev
sudo apt-get install libgtk2.0-dev libglib2.0-dev libglade2-dev
sudo apt-get install patch dpkg-dev

2. Download kernel sources
apt-get source linux-image-`uname -r`

3. Enter kernel folder and do config
cd linux-4.15.0/
make oldconfig

4. Replace original i2c-hid.c with one downloaded from github

mine located here
/home/teclast/linux-4.15.0/drivers/hid/i2c-hid/i2c-hid.c

5. Build kernel.This proccess might take over 1 hour
fakeroot make-kpkg -j 5 --initrd --append-to-version=-custom kernel_image kernel_headers

6. Compiled kernel will be located in home folder. Jump to it and install
dpkg -i *.deb

7. Update grup and reboot. You should have working touchpad now.
sudo update-grub