]> git.hungrycats.org Git - linux/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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 17 Nov 2024 13:59:39 +0000 (14:59 +0100)
commit0bf6971b7d1e0b3fdc5e8bfa7e0f482b9beaf099
tree9074f58352ac5d2248976915cc9fd5579847e06b
parent2bc339b00fbd4f9365171b4f8347f0800221b99d
HID: multitouch: Add quirk for HONOR MagicBook Art 14 touchpad

[ Upstream commit 7a5ab8071114344f62a8b1e64ed3452a77257d76 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/hid/hid-multitouch.c