]> www.infradead.org Git - users/dwmw2/linux.git/commit
HID: multitouch: Add quirk for HONOR MagicBook Art 14 touchpad
authorWangYuli <wangyuli@uniontech.com>
Mon, 7 Oct 2024 04:08:03 +0000 (12:08 +0800)
committerJiri Kosina <jkosina@suse.com>
Tue, 8 Oct 2024 07:15:25 +0000 (09:15 +0200)
commit7a5ab8071114344f62a8b1e64ed3452a77257d76
tree916dfdb2fd59f86afd6a3391c281acfc7034aefe
parent1a5cbb526ec4b885177d06a8bc04f38da7dbb1d9
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.

[jkosina@suse.com: reword changelog a little bit]
Link: https://gitlab.freedesktop.org/libinput/libinput/-/issues/1040
Signed-off-by: Wentao Guan <guanwentao@uniontech.com>
Signed-off-by: WangYuli <wangyuli@uniontech.com>
Reviewed-by: Benjamin Tissoires <bentiss@kernel.org>
Signed-off-by: Jiri Kosina <jkosina@suse.com>
drivers/hid/hid-multitouch.c