Skip to content

Commit 4eab1c2

Browse files
JoseExpositoJiri Kosina
authored andcommitted
HID: multitouch: fix Asus ExpertBook P2 P2451FA trackpoint
The HID descriptor of this device contains two mouse collections, one for mouse emulation and the other for the trackpoint. Both collections get merged and, because the first one defines X and Y, the movemenent events reported by the trackpoint collection are ignored. Set the MT_CLS_WIN_8_FORCE_MULTI_INPUT class for this device to be able to receive its reports. This fix is similar to/based on commit 40d5bb8 ("HID: multitouch: enable multi-input as a quirk for some devices"). Link: https://gitlab.freedesktop.org/libinput/libinput/-/issues/825 Reported-by: Akito <[email protected]> Tested-by: Akito <[email protected]> Signed-off-by: José Expósito <[email protected]> Signed-off-by: Jiri Kosina <[email protected]>
1 parent cec827d commit 4eab1c2

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

drivers/hid/hid-multitouch.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1967,6 +1967,10 @@ static const struct hid_device_id mt_devices[] = {
19671967
HID_DEVICE(BUS_I2C, HID_GROUP_MULTITOUCH_WIN_8,
19681968
USB_VENDOR_ID_ELAN, 0x313a) },
19691969

1970+
{ .driver_data = MT_CLS_WIN_8_FORCE_MULTI_INPUT,
1971+
HID_DEVICE(BUS_I2C, HID_GROUP_MULTITOUCH_WIN_8,
1972+
USB_VENDOR_ID_ELAN, 0x3148) },
1973+
19701974
/* Elitegroup panel */
19711975
{ .driver_data = MT_CLS_SERIAL,
19721976
MT_USB_DEVICE(USB_VENDOR_ID_ELITEGROUP,

0 commit comments

Comments
 (0)