Skip to content

Commit 538f674

Browse files
hedgepigdanielJiri Kosina
authored andcommitted
HID: i2c-hid: reset Synaptics SYNA2393 on resume
On the Dell XPS 9570, the Synaptics SYNA2393 touchpad generates spurious interrupts after resuming from suspend until it receives some input or is reset. Add it to the quirk I2C_HID_QUIRK_RESET_ON_RESUME so that it is reset when resuming from suspend. More information about the bug can be found in this mailing list discussion: https://www.spinics.net/lists/linux-input/msg59530.html Signed-off-by: Daniel Playfair Cal <[email protected]> Signed-off-by: Jiri Kosina <[email protected]>
1 parent dcce8ef commit 538f674

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

drivers/hid/hid-ids.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1099,6 +1099,9 @@
10991099
#define USB_DEVICE_ID_SYMBOL_SCANNER_2 0x1300
11001100
#define USB_DEVICE_ID_SYMBOL_SCANNER_3 0x1200
11011101

1102+
#define I2C_VENDOR_ID_SYNAPTICS 0x06cb
1103+
#define I2C_PRODUCT_ID_SYNAPTICS_SYNA2393 0x7a13
1104+
11021105
#define USB_VENDOR_ID_SYNAPTICS 0x06cb
11031106
#define USB_DEVICE_ID_SYNAPTICS_TP 0x0001
11041107
#define USB_DEVICE_ID_SYNAPTICS_INT_TP 0x0002

drivers/hid/i2c-hid/i2c-hid-core.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,8 @@ static const struct i2c_hid_quirks {
177177
I2C_HID_QUIRK_BOGUS_IRQ },
178178
{ USB_VENDOR_ID_ALPS_JP, HID_ANY_ID,
179179
I2C_HID_QUIRK_RESET_ON_RESUME },
180+
{ I2C_VENDOR_ID_SYNAPTICS, I2C_PRODUCT_ID_SYNAPTICS_SYNA2393,
181+
I2C_HID_QUIRK_RESET_ON_RESUME },
180182
{ USB_VENDOR_ID_ITE, I2C_DEVICE_ID_ITE_LENOVO_LEGION_Y720,
181183
I2C_HID_QUIRK_BAD_INPUT_SIZE },
182184
{ 0, 0 }

0 commit comments

Comments
 (0)