Skip to content

Commit 7a5ab80

Browse files
Avenger-285714Jiri Kosina
authored andcommitted
HID: multitouch: Add quirk for HONOR MagicBook Art 14 touchpad
The behavior of HONOR MagicBook Art 14 touchpad is not consistent after reboots, as sometimes it reports itself as a touchpad, and sometimes as a mouse. Similarly to GLO-GXXX it is possible to call MT_QUIRK_FORCE_GET_FEATURE as a workaround to force set feature in mt_set_input_mode() for such special touchpad device. [[email protected]: reword changelog a little bit] Link: https://gitlab.freedesktop.org/libinput/libinput/-/issues/1040 Signed-off-by: Wentao Guan <[email protected]> Signed-off-by: WangYuli <[email protected]> Reviewed-by: Benjamin Tissoires <[email protected]> Signed-off-by: Jiri Kosina <[email protected]>
1 parent 1a5cbb5 commit 7a5ab80

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

drivers/hid/hid-multitouch.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2099,6 +2099,11 @@ static const struct hid_device_id mt_devices[] = {
20992099
HID_DEVICE(BUS_I2C, HID_GROUP_MULTITOUCH_WIN_8,
21002100
0x347d, 0x7853) },
21012101

2102+
/* HONOR MagicBook Art 14 touchpad */
2103+
{ .driver_data = MT_CLS_VTL,
2104+
HID_DEVICE(BUS_I2C, HID_GROUP_MULTITOUCH_WIN_8,
2105+
0x35cc, 0x0104) },
2106+
21022107
/* Ilitek dual touch panel */
21032108
{ .driver_data = MT_CLS_NSMU,
21042109
MT_USB_DEVICE(USB_VENDOR_ID_ILITEK,

0 commit comments

Comments
 (0)