HID: quirks: Add quirk for the Microsoft Surface 3 type-cover
authorHans de Goede <hdegoede@redhat.com>
Sun, 28 Nov 2021 21:07:48 +0000 (22:07 +0100)
committerJiri Kosina <jkosina@suse.cz>
Mon, 29 Nov 2021 08:59:12 +0000 (09:59 +0100)
commit9003fbe0f3674b972f56fa7e6bf3ac9dbfc4d0ec
tree353ac0f56c42170755f8f30705280a094788dfae
parent32bea35746097985c48cec836d5f557a3b66b60a
HID: quirks: Add quirk for the Microsoft Surface 3 type-cover

Add a HID_QUIRK_NO_INIT_REPORTS quirk for the
Microsoft Surface 3 (non pro) type-cover.

Trying to init the reports seems to confuse the type-cover and
causes 2 issues:

1. Despite hid-multitouch sending the command to switch the
touchpad to multitouch mode, it keeps sending events on the
mouse emulation interface.

2. The touchpad completely stops sending events after a reboot.

Adding the HID_QUIRK_NO_INIT_REPORTS quirk fixes both issues.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-ids.h
drivers/hid/hid-quirks.c