summaryrefslogtreecommitdiff
path: root/drivers/hid/hid-ite.c
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2022-11-08 16:13:50 +0100
committerJiri Kosina <jkosina@suse.cz>2022-11-14 23:55:12 +0100
commit9ad6645a9dce4d0e42daca6ebf32a154401c59d3 (patch)
treeb7404d73ca2485f7ca79e4d3f8f84eb94419b5bb /drivers/hid/hid-ite.c
parenta6f4f1662711bd03308371d9649783a5be596898 (diff)
downloadlinux-9ad6645a9dce4d0e42daca6ebf32a154401c59d3.tar.gz
HID: ite: Enable QUIRK_TOUCHPAD_ON_OFF_REPORT on Acer Aspire Switch V 10
The Acer Aspire Switch V 10 (SW5-017)'s keyboard-dock uses the same ITE controller setup as other Acer Switch 2-in-1's. This needs special handling for the wifi on/off toggle hotkey as well as to properly report touchpad on/off keypresses. Add the USB-ids for the SW5-017's keyboard-dock with a quirk setting of QUIRK_TOUCHPAD_ON_OFF_REPORT to fix both issues. Cc: Rudolf Polzer <rpolzer@google.com> Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid/hid-ite.c')
-rw-r--r--drivers/hid/hid-ite.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/hid/hid-ite.c b/drivers/hid/hid-ite.c
index 430fa4f52ed3..75ebfcf31889 100644
--- a/drivers/hid/hid-ite.c
+++ b/drivers/hid/hid-ite.c
@@ -121,6 +121,11 @@ static const struct hid_device_id ite_devices[] = {
USB_VENDOR_ID_SYNAPTICS,
USB_DEVICE_ID_SYNAPTICS_ACER_ONE_S1003),
.driver_data = QUIRK_TOUCHPAD_ON_OFF_REPORT },
+ /* ITE8910 USB kbd ctlr, with Synaptics touchpad connected to it. */
+ { HID_DEVICE(BUS_USB, HID_GROUP_GENERIC,
+ USB_VENDOR_ID_SYNAPTICS,
+ USB_DEVICE_ID_SYNAPTICS_ACER_SWITCH5_017),
+ .driver_data = QUIRK_TOUCHPAD_ON_OFF_REPORT },
{ }
};
MODULE_DEVICE_TABLE(hid, ite_devices);