Skip to content

Commit 8f18eca

Browse files
jwrdegoedeJiri Kosina
authored andcommitted
HID: ite: Add USB id match for Acer SW5-012 keyboard dock
The Acer SW5-012 2-in-1 keyboard dock uses a Synaptics S91028 touchpad which is connected to an ITE 8595 USB keyboard controller chip. This keyboard has the same quirk for its rfkill / airplane mode hotkey as other keyboards with the ITE 8595 chip, it only sends a single release event when pressed and released, it never sends a press event. This commit adds this keyboards USB id to the hid-ite id-table, fixing the rfkill key not working on this keyboard. Signed-off-by: Hans de Goede <[email protected]> Signed-off-by: Jiri Kosina <[email protected]>
1 parent c62f7cd commit 8f18eca

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

drivers/hid/hid-ids.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1103,6 +1103,7 @@
11031103
#define USB_DEVICE_ID_SYNAPTICS_LTS2 0x1d10
11041104
#define USB_DEVICE_ID_SYNAPTICS_HD 0x0ac3
11051105
#define USB_DEVICE_ID_SYNAPTICS_QUAD_HD 0x1ac3
1106+
#define USB_DEVICE_ID_SYNAPTICS_ACER_SWITCH5_012 0x2968
11061107
#define USB_DEVICE_ID_SYNAPTICS_TP_V103 0x5710
11071108
#define USB_DEVICE_ID_SYNAPTICS_ACER_SWITCH5 0x81a7
11081109

drivers/hid/hid-ite.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,9 @@ static int ite_event(struct hid_device *hdev, struct hid_field *field,
4040
static const struct hid_device_id ite_devices[] = {
4141
{ HID_USB_DEVICE(USB_VENDOR_ID_ITE, USB_DEVICE_ID_ITE8595) },
4242
{ HID_USB_DEVICE(USB_VENDOR_ID_258A, USB_DEVICE_ID_258A_6A88) },
43+
/* ITE8595 USB kbd ctlr, with Synaptics touchpad connected to it. */
44+
{ HID_USB_DEVICE(USB_VENDOR_ID_SYNAPTICS,
45+
USB_DEVICE_ID_SYNAPTICS_ACER_SWITCH5_012) },
4346
{ }
4447
};
4548
MODULE_DEVICE_TABLE(hid, ite_devices);

0 commit comments

Comments
 (0)