Skip to content

Commit 9ad6645

Browse files
jwrdegoedeJiri Kosina
authored andcommitted
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 <[email protected]> Signed-off-by: Hans de Goede <[email protected]> Signed-off-by: Jiri Kosina <[email protected]>
1 parent a6f4f16 commit 9ad6645

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

drivers/hid/hid-ids.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1215,6 +1215,7 @@
12151215
#define USB_DEVICE_ID_SYNAPTICS_DELL_K15A 0x6e21
12161216
#define USB_DEVICE_ID_SYNAPTICS_ACER_ONE_S1002 0x73f4
12171217
#define USB_DEVICE_ID_SYNAPTICS_ACER_ONE_S1003 0x73f5
1218+
#define USB_DEVICE_ID_SYNAPTICS_ACER_SWITCH5_017 0x73f6
12181219
#define USB_DEVICE_ID_SYNAPTICS_ACER_SWITCH5 0x81a7
12191220

12201221
#define USB_VENDOR_ID_TEXAS_INSTRUMENTS 0x2047

drivers/hid/hid-ite.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,11 @@ static const struct hid_device_id ite_devices[] = {
121121
USB_VENDOR_ID_SYNAPTICS,
122122
USB_DEVICE_ID_SYNAPTICS_ACER_ONE_S1003),
123123
.driver_data = QUIRK_TOUCHPAD_ON_OFF_REPORT },
124+
/* ITE8910 USB kbd ctlr, with Synaptics touchpad connected to it. */
125+
{ HID_DEVICE(BUS_USB, HID_GROUP_GENERIC,
126+
USB_VENDOR_ID_SYNAPTICS,
127+
USB_DEVICE_ID_SYNAPTICS_ACER_SWITCH5_017),
128+
.driver_data = QUIRK_TOUCHPAD_ON_OFF_REPORT },
124129
{ }
125130
};
126131
MODULE_DEVICE_TABLE(hid, ite_devices);

0 commit comments

Comments
 (0)