mbox series

[0/1] Enable touchpad for Lenovo 13x ThinkBook Gen 4 (GT7868Q)

Message ID 20240716222757.22931-1-envelsavinds@gmail.com
Headers show
Series Enable touchpad for Lenovo 13x ThinkBook Gen 4 (GT7868Q) | expand

Message

Dmitry Savin July 16, 2024, 10:27 p.m. UTC
Hi,
This patch adds Goodix GT7868Q device support to hid-multitouch.
The device is used on Lenovo ThinkBook 13x Gen 4 series of laptops
and have incorrect descriptor that hid-parse fails to parse
hence device is not working.

Terry Wong made a driver (fixup) that uses report_fixup to correct
the values in the descriptor. This is mostly re-using hid-multitouch
code. With his permission, I added the fixup to the driver itself.

Open to the feedback if there's a better approach to solving
the issue.

https://github.com/ty2/goodix-gt7868q-linux-driver/blob/main/goodix-gt7868q.c

Dmitry Savin (1):
  HID: multitouch: Add support for GT7868Q

 drivers/hid/hid-ids.h        |  2 ++
 drivers/hid/hid-multitouch.c | 33 +++++++++++++++++++++++++++++++++
 2 files changed, 35 insertions(+)