[PATCH 1/2] HID: multitouch: add support for Goodix GXTP7863 touchpad
Ruzal Daminov <[email protected]>
| Newsgroups | org.kernel.vger.linux-input,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <[email protected]> |
The Goodix GXTP7863 touchpad controller (VID: 0x27c6, PID: 0x01e0) found on Honor MagicBook laptops (e.g. FMI-76 / X14 / X16 Plus) was missing from the mt_devices[] table. As a result, it was claimed by hid-generic, which erroneously mapped the vendor telemetry collection (0xFF01) to an input node, translating the 1-Hz heartbeat timestamp into an endless loop of phantom KEY_BRIGHTNESSUP autorepeat events. Add the device to mt_devices[] with MT_CLS_DEFAULT so hid-multitouch claims the touchpad, eliminating the phantom input node. Tested on Honor MagicBook X14 Plus (FMI-76, AMD Ryzen 8845HS). Signed-off-by: Ruzal Daminov <[email protected]> --- drivers/hid/hid-multitouch.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/drivers/hid/hid-multitouch.c b/drivers/hid/hid-multitouch.c index edb37b4c8..f5ddaff5c 100644 --- a/drivers/hid/hid-multitouch.c +++ b/drivers/hid/hid-multitouch.c @@ -2269,6 +2269,11 @@ static void mt_on_hid_hw_close(struct hid_device *hdev) * So there is no point in adding here any device with MT_CLS_DEFAULT. */ static const struct hid_device_id mt_devices[] = { + /* Goodix GXTP7863 Touchpad */ + { .driver_data = MT_CLS_DEFAULT, + HID_DEVICE(BUS_I2C, HID_GROUP_ANY, + I2C_VENDOR_ID_GOODIX, I2C_DEVICE_ID_GOODIX_01E0) }, + /* 3M panels */ { .driver_data = MT_CLS_3M, -- 2.55.0