This kernel module provides support for the Goodix GT7868Q touch controller. The module addresses a specific issue related to the Report Descriptor, specifically a duplicate description at byte position 605 and 607.
Please note that I've tested this kernel module on my ThinkBook 16+ 2024 IMH, but I cannot guarantee its functionality on other devices.
To build the module, simply run:
make
Load the module into the kernel using the following command:
sudo modprobe ./goodix-gt7868q.ko
To make these changes persistent on boot, install the module to the system modules directory:
sudo make install-dkms
To improve compatibility with libinput, follow these steps:
Copy the local-overrides.quirks
file to /usr/share/libinput/60-custom-thinkbookg6p2024imh.quirks
:
sudo make install-quirks
Adjust the default parameters to address issues with the device:
- The default press-down pressure threshold is higher than palm detection threshold, preventing the cursor movement.
- The maximum pressure detection is limited to 1000, even though the device report that supports up to 2000. Modify the
AttrThumbPressureThreshold
accordingly. - If you prefer, you can adjust the touch up and down pressure by setting the
AttrPressureRange
or remove pressure detection altogether by addingAttrEventCode=-ABS_MT_PRESSURE;-ABS_PRESSURE;
.
Restart the display manager.