| From foo@baz Sun Jun 17 12:07:34 CEST 2018 |
| From: Hans de Goede <hdegoede@redhat.com> |
| Date: Thu, 3 May 2018 11:32:33 +0200 |
| Subject: HID: i2c-hid: Add RESEND_REPORT_DESCR quirk for Toshiba Click Mini L9W-B |
| |
| From: Hans de Goede <hdegoede@redhat.com> |
| |
| [ Upstream commit 070b9637dd8fa85c3ba7ecc60fe57fa4da9c2d1d ] |
| |
| The 0457:10fb touchscreen found on the Toshiba Click Mini L9W-B needs |
| to have a report-decriptors command send to it on resume in order for |
| the touchscreen to start generating events again on resume. |
| |
| Signed-off-by: Hans de Goede <hdegoede@redhat.com> |
| Acked-by: Benjamin Tissoires <benjamin.tissoires@redhat.com> |
| Signed-off-by: Jiri Kosina <jkosina@suse.cz> |
| Signed-off-by: Sasha Levin <alexander.levin@microsoft.com> |
| Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> |
| --- |
| drivers/hid/hid-ids.h | 1 + |
| drivers/hid/i2c-hid/i2c-hid.c | 2 ++ |
| 2 files changed, 3 insertions(+) |
| |
| --- a/drivers/hid/hid-ids.h |
| +++ b/drivers/hid/hid-ids.h |
| @@ -966,6 +966,7 @@ |
| #define USB_DEVICE_ID_SIS817_TOUCH 0x0817 |
| #define USB_DEVICE_ID_SIS_TS 0x1013 |
| #define USB_DEVICE_ID_SIS1030_TOUCH 0x1030 |
| +#define USB_DEVICE_ID_SIS10FB_TOUCH 0x10fb |
| |
| #define USB_VENDOR_ID_SKYCABLE 0x1223 |
| #define USB_DEVICE_ID_SKYCABLE_WIRELESS_PRESENTER 0x3F07 |
| --- a/drivers/hid/i2c-hid/i2c-hid.c |
| +++ b/drivers/hid/i2c-hid/i2c-hid.c |
| @@ -174,6 +174,8 @@ static const struct i2c_hid_quirks { |
| I2C_HID_QUIRK_NO_IRQ_AFTER_RESET }, |
| { I2C_VENDOR_ID_RAYD, I2C_PRODUCT_ID_RAYD_3118, |
| I2C_HID_QUIRK_RESEND_REPORT_DESCR }, |
| + { USB_VENDOR_ID_SIS_TOUCH, USB_DEVICE_ID_SIS10FB_TOUCH, |
| + I2C_HID_QUIRK_RESEND_REPORT_DESCR }, |
| { 0, 0 } |
| }; |
| |