This patch adds a set of patches that are either in linux-next or headed to linux-next. Since commit 8fe89ef076fa1 ("HID: multitouch: enable the Surface 3 Type Cover to report multitouch data"), the Type Cover can be properly handled by hid-multitouch and don't require any special quirk in the kernel. These patches allow the Type Cover devices to report data with the hid-multitouch driver and expires device support with hid-microsoft. See here: https://lkml.org/lkml/2016/11/25/447 Signed-off-by: Dennis Chen <barracks510@xxxxxxxxx> --- ...uch-enable-Surface-3-Type-Cover-Pro-to-re.patch | 121 +++++++++++++++++++++ ...uch-enable-Surface-4-Type-Cover-Pro-non-J.patch | 88 +++++++++++++++ ...uch-enable-the-Surface-4-Type-Cover-Pro-J.patch | 83 ++++++++++++++ kernel.spec | 11 ++ 4 files changed, 303 insertions(+) create mode 100644 HID-multitouch-enable-Surface-3-Type-Cover-Pro-to-re.patch create mode 100644 HID-multitouch-enable-Surface-4-Type-Cover-Pro-non-J.patch create mode 100644 HID-multitouch-enable-the-Surface-4-Type-Cover-Pro-J.patch diff --git a/HID-multitouch-enable-Surface-3-Type-Cover-Pro-to-re.patch b/HID-multitouch-enable-Surface-3-Type-Cover-Pro-to-re.patch new file mode 100644 index 0000000..7915f59 --- /dev/null +++ b/HID-multitouch-enable-Surface-3-Type-Cover-Pro-to-re.patch @@ -0,0 +1,121 @@ +From c3aa437e0c6e8e84c92c99a5d4f6a20ecd3c1dcb Mon Sep 17 00:00:00 2001 +From: Dennis Chen <barracks510@xxxxxxxxx> +Date: Thu, 19 Jan 2017 04:42:10 -0500 +Subject: [PATCH 3/3] HID: multitouch: enable Surface 3 Type Cover Pro to + report multitouch data + +Nearly identical to the previous set of patches related to Microsoft +Surface Keyboards. + +Removes Surface Pro 3 generation TypeCover support from hid-microsoft +so proper multitouch data can be reported from the touchpad. + +Signed-off-by: Dennis Chen <barracks510@xxxxxxxxx> +--- + drivers/hid/hid-core.c | 10 ++-------- + drivers/hid/hid-ids.h | 3 --- + drivers/hid/hid-microsoft.c | 6 ------ + drivers/hid/usbhid/hid-quirks.c | 7 ++----- + 4 files changed, 4 insertions(+), 22 deletions(-) + +diff --git a/drivers/hid/hid-core.c b/drivers/hid/hid-core.c +index d173e7f..52863e7 100644 +--- a/drivers/hid/hid-core.c ++++ b/drivers/hid/hid-core.c +@@ -724,10 +724,7 @@ static void hid_scan_collection(struct hid_parser *parser, unsigned type) + hid->group = HID_GROUP_SENSOR_HUB; + + if (hid->vendor == USB_VENDOR_ID_MICROSOFT && +- (hid->product == USB_DEVICE_ID_MS_TYPE_COVER_PRO_3 || +- hid->product == USB_DEVICE_ID_MS_TYPE_COVER_PRO_3_2 || +- hid->product == USB_DEVICE_ID_MS_TYPE_COVER_PRO_3_JP || +- hid->product == USB_DEVICE_ID_MS_POWER_COVER) && ++ hid->product == USB_DEVICE_ID_MS_POWER_COVER && + hid->group == HID_GROUP_MULTITOUCH) + hid->group = HID_GROUP_GENERIC; + +@@ -1982,9 +1979,6 @@ static const struct hid_device_id hid_have_special_driver[] = { + { HID_USB_DEVICE(USB_VENDOR_ID_MICROSOFT, USB_DEVICE_ID_MS_DIGITAL_MEDIA_3K) }, + { HID_USB_DEVICE(USB_VENDOR_ID_MICROSOFT, USB_DEVICE_ID_WIRELESS_OPTICAL_DESKTOP_3_0) }, + { HID_USB_DEVICE(USB_VENDOR_ID_MICROSOFT, USB_DEVICE_ID_MS_OFFICE_KB) }, +- { HID_USB_DEVICE(USB_VENDOR_ID_MICROSOFT, USB_DEVICE_ID_MS_TYPE_COVER_PRO_3) }, +- { HID_USB_DEVICE(USB_VENDOR_ID_MICROSOFT, USB_DEVICE_ID_MS_TYPE_COVER_PRO_3_2) }, +- { HID_USB_DEVICE(USB_VENDOR_ID_MICROSOFT, USB_DEVICE_ID_MS_TYPE_COVER_PRO_3_JP) }, + { HID_USB_DEVICE(USB_VENDOR_ID_MICROSOFT, USB_DEVICE_ID_MS_DIGITAL_MEDIA_7K) }, + { HID_USB_DEVICE(USB_VENDOR_ID_MICROSOFT, USB_DEVICE_ID_MS_DIGITAL_MEDIA_600) }, + { HID_USB_DEVICE(USB_VENDOR_ID_MICROSOFT, USB_DEVICE_ID_MS_DIGITAL_MEDIA_3KV1) }, +@@ -2308,7 +2302,7 @@ __ATTRIBUTE_GROUPS(hid_dev); + + static int hid_uevent(struct device *dev, struct kobj_uevent_env *env) + { +- struct hid_device *hdev = to_hid_device(dev); ++ struct hid_device *hdev = to_hid_device(dev); + + if (add_uevent_var(env, "HID_ID=%04X:%08X:%08X", + hdev->bus, hdev->vendor, hdev->product)) +diff --git a/drivers/hid/hid-ids.h b/drivers/hid/hid-ids.h +index 87486ae..12f00a6 100644 +--- a/drivers/hid/hid-ids.h ++++ b/drivers/hid/hid-ids.h +@@ -722,9 +722,6 @@ + #define USB_DEVICE_ID_MS_SURFACE_PRO_2 0x0799 + #define USB_DEVICE_ID_MS_TOUCH_COVER_2 0x07a7 + #define USB_DEVICE_ID_MS_TYPE_COVER_2 0x07a9 +-#define USB_DEVICE_ID_MS_TYPE_COVER_PRO_3 0x07dc +-#define USB_DEVICE_ID_MS_TYPE_COVER_PRO_3_2 0x07e2 +-#define USB_DEVICE_ID_MS_TYPE_COVER_PRO_3_JP 0x07dd + #define USB_DEVICE_ID_MS_POWER_COVER 0x07da + + #define USB_VENDOR_ID_MOJO 0x8282 +diff --git a/drivers/hid/hid-microsoft.c b/drivers/hid/hid-microsoft.c +index d856726..96e7d32 100644 +--- a/drivers/hid/hid-microsoft.c ++++ b/drivers/hid/hid-microsoft.c +@@ -274,12 +274,6 @@ static const struct hid_device_id ms_devices[] = { + .driver_data = MS_NOGET }, + { HID_USB_DEVICE(USB_VENDOR_ID_MICROSOFT, USB_DEVICE_ID_MS_COMFORT_MOUSE_4500), + .driver_data = MS_DUPLICATE_USAGES }, +- { HID_USB_DEVICE(USB_VENDOR_ID_MICROSOFT, USB_DEVICE_ID_MS_TYPE_COVER_PRO_3), +- .driver_data = MS_HIDINPUT }, +- { HID_USB_DEVICE(USB_VENDOR_ID_MICROSOFT, USB_DEVICE_ID_MS_TYPE_COVER_PRO_3_2), +- .driver_data = MS_HIDINPUT }, +- { HID_USB_DEVICE(USB_VENDOR_ID_MICROSOFT, USB_DEVICE_ID_MS_TYPE_COVER_PRO_3_JP), +- .driver_data = MS_HIDINPUT }, + { HID_USB_DEVICE(USB_VENDOR_ID_MICROSOFT, USB_DEVICE_ID_MS_POWER_COVER), + .driver_data = MS_HIDINPUT }, + { HID_USB_DEVICE(USB_VENDOR_ID_MICROSOFT, USB_DEVICE_ID_MS_COMFORT_KEYBOARD), +diff --git a/drivers/hid/usbhid/hid-quirks.c b/drivers/hid/usbhid/hid-quirks.c +index f6432c5..80df173 100644 +--- a/drivers/hid/usbhid/hid-quirks.c ++++ b/drivers/hid/usbhid/hid-quirks.c +@@ -102,9 +102,6 @@ static const struct hid_blacklist { + { USB_VENDOR_ID_MICROSOFT, USB_DEVICE_ID_MS_SURFACE_PRO_2, HID_QUIRK_NO_INIT_REPORTS }, + { USB_VENDOR_ID_MICROSOFT, USB_DEVICE_ID_MS_TYPE_COVER_2, HID_QUIRK_NO_INIT_REPORTS }, + { USB_VENDOR_ID_MICROSOFT, USB_DEVICE_ID_MS_TOUCH_COVER_2, HID_QUIRK_NO_INIT_REPORTS }, +- { USB_VENDOR_ID_MICROSOFT, USB_DEVICE_ID_MS_TYPE_COVER_PRO_3, HID_QUIRK_NO_INIT_REPORTS }, +- { USB_VENDOR_ID_MICROSOFT, USB_DEVICE_ID_MS_TYPE_COVER_PRO_3_2, HID_QUIRK_NO_INIT_REPORTS }, +- { USB_VENDOR_ID_MICROSOFT, USB_DEVICE_ID_MS_TYPE_COVER_PRO_3_JP, HID_QUIRK_NO_INIT_REPORTS }, + { USB_VENDOR_ID_MICROSOFT, USB_DEVICE_ID_MS_POWER_COVER, HID_QUIRK_NO_INIT_REPORTS }, + { USB_VENDOR_ID_MSI, USB_DEVICE_ID_MSI_GT683R_LED_PANEL, HID_QUIRK_NO_INIT_REPORTS }, + { USB_VENDOR_ID_NEXIO, USB_DEVICE_ID_NEXIO_MULTITOUCH_PTI0750, HID_QUIRK_NO_INIT_REPORTS }, +@@ -293,7 +290,7 @@ static void usbhid_remove_all_dquirks(void) + + } + +-/** ++/** + * usbhid_quirks_init: apply USB HID quirks specified at module load time + */ + int usbhid_quirks_init(char **quirks_param) +@@ -357,7 +354,7 @@ static const struct hid_blacklist *usbhid_exists_squirk(const u16 idVendor, + + if (bl_entry != NULL) + dbg_hid("Found squirk 0x%x for USB HID vendor 0x%hx prod 0x%hx\n", +- bl_entry->quirks, bl_entry->idVendor, ++ bl_entry->quirks, bl_entry->idVendor, + bl_entry->idProduct); + return bl_entry; + } +-- +2.7.4 + diff --git a/HID-multitouch-enable-Surface-4-Type-Cover-Pro-non-J.patch b/HID-multitouch-enable-Surface-4-Type-Cover-Pro-non-J.patch new file mode 100644 index 0000000..84e1f39 --- /dev/null +++ b/HID-multitouch-enable-Surface-4-Type-Cover-Pro-non-J.patch @@ -0,0 +1,88 @@ +From 1db9191b1d5945269150e0687f85e81ccca6a3c1 Mon Sep 17 00:00:00 2001 +From: Daniel Keller <daniel.keller@xxxxxx> +Date: Tue, 10 Jan 2017 20:39:31 +0100 +Subject: [PATCH 2/3] HID: multitouch: enable Surface 4 Type Cover Pro (non-JP) + to report multitouch data + +Nearly identical to the patch "multitouch: enable the Surface 4 Type Cover Pro +(JP) to report multitouch data" + +We can now remove the support of the Surface 4 Type Cover Pro (not JP versions) +from hid-microsoft so it can properly report multi touch from the touchpad. + +Signed-off-by: Daniel Keller <daniel.keller@xxxxxx> +Acked-by: Benjamin Tissoires <benjamin.tissoires@xxxxxxxxxx> +Signed-off-by: Jiri Kosina <jkosina@xxxxxxx> +--- + drivers/hid/hid-core.c | 4 ---- + drivers/hid/hid-ids.h | 2 -- + drivers/hid/hid-microsoft.c | 4 ---- + drivers/hid/usbhid/hid-quirks.c | 2 -- + 4 files changed, 12 deletions(-) + +diff --git a/drivers/hid/hid-core.c b/drivers/hid/hid-core.c +index 3c8af87..d173e7f 100644 +--- a/drivers/hid/hid-core.c ++++ b/drivers/hid/hid-core.c +@@ -727,8 +727,6 @@ static void hid_scan_collection(struct hid_parser *parser, unsigned type) + (hid->product == USB_DEVICE_ID_MS_TYPE_COVER_PRO_3 || + hid->product == USB_DEVICE_ID_MS_TYPE_COVER_PRO_3_2 || + hid->product == USB_DEVICE_ID_MS_TYPE_COVER_PRO_3_JP || +- hid->product == USB_DEVICE_ID_MS_TYPE_COVER_PRO_4 || +- hid->product == USB_DEVICE_ID_MS_TYPE_COVER_PRO_4_2 || + hid->product == USB_DEVICE_ID_MS_POWER_COVER) && + hid->group == HID_GROUP_MULTITOUCH) + hid->group = HID_GROUP_GENERIC; +@@ -1987,8 +1985,6 @@ static const struct hid_device_id hid_have_special_driver[] = { + { HID_USB_DEVICE(USB_VENDOR_ID_MICROSOFT, USB_DEVICE_ID_MS_TYPE_COVER_PRO_3) }, + { HID_USB_DEVICE(USB_VENDOR_ID_MICROSOFT, USB_DEVICE_ID_MS_TYPE_COVER_PRO_3_2) }, + { HID_USB_DEVICE(USB_VENDOR_ID_MICROSOFT, USB_DEVICE_ID_MS_TYPE_COVER_PRO_3_JP) }, +- { HID_USB_DEVICE(USB_VENDOR_ID_MICROSOFT, USB_DEVICE_ID_MS_TYPE_COVER_PRO_4) }, +- { HID_USB_DEVICE(USB_VENDOR_ID_MICROSOFT, USB_DEVICE_ID_MS_TYPE_COVER_PRO_4_2) }, + { HID_USB_DEVICE(USB_VENDOR_ID_MICROSOFT, USB_DEVICE_ID_MS_DIGITAL_MEDIA_7K) }, + { HID_USB_DEVICE(USB_VENDOR_ID_MICROSOFT, USB_DEVICE_ID_MS_DIGITAL_MEDIA_600) }, + { HID_USB_DEVICE(USB_VENDOR_ID_MICROSOFT, USB_DEVICE_ID_MS_DIGITAL_MEDIA_3KV1) }, +diff --git a/drivers/hid/hid-ids.h b/drivers/hid/hid-ids.h +index d816c54..87486ae 100644 +--- a/drivers/hid/hid-ids.h ++++ b/drivers/hid/hid-ids.h +@@ -725,8 +725,6 @@ + #define USB_DEVICE_ID_MS_TYPE_COVER_PRO_3 0x07dc + #define USB_DEVICE_ID_MS_TYPE_COVER_PRO_3_2 0x07e2 + #define USB_DEVICE_ID_MS_TYPE_COVER_PRO_3_JP 0x07dd +-#define USB_DEVICE_ID_MS_TYPE_COVER_PRO_4 0x07e4 +-#define USB_DEVICE_ID_MS_TYPE_COVER_PRO_4_2 0x07e8 + #define USB_DEVICE_ID_MS_POWER_COVER 0x07da + + #define USB_VENDOR_ID_MOJO 0x8282 +diff --git a/drivers/hid/hid-microsoft.c b/drivers/hid/hid-microsoft.c +index 2b706b5..d856726 100644 +--- a/drivers/hid/hid-microsoft.c ++++ b/drivers/hid/hid-microsoft.c +@@ -280,10 +280,6 @@ static const struct hid_device_id ms_devices[] = { + .driver_data = MS_HIDINPUT }, + { HID_USB_DEVICE(USB_VENDOR_ID_MICROSOFT, USB_DEVICE_ID_MS_TYPE_COVER_PRO_3_JP), + .driver_data = MS_HIDINPUT }, +- { HID_USB_DEVICE(USB_VENDOR_ID_MICROSOFT, USB_DEVICE_ID_MS_TYPE_COVER_PRO_4), +- .driver_data = MS_HIDINPUT }, +- { HID_USB_DEVICE(USB_VENDOR_ID_MICROSOFT, USB_DEVICE_ID_MS_TYPE_COVER_PRO_4_2), +- .driver_data = MS_HIDINPUT }, + { HID_USB_DEVICE(USB_VENDOR_ID_MICROSOFT, USB_DEVICE_ID_MS_POWER_COVER), + .driver_data = MS_HIDINPUT }, + { HID_USB_DEVICE(USB_VENDOR_ID_MICROSOFT, USB_DEVICE_ID_MS_COMFORT_KEYBOARD), +diff --git a/drivers/hid/usbhid/hid-quirks.c b/drivers/hid/usbhid/hid-quirks.c +index 7eccbf8..f6432c5 100644 +--- a/drivers/hid/usbhid/hid-quirks.c ++++ b/drivers/hid/usbhid/hid-quirks.c +@@ -105,8 +105,6 @@ static const struct hid_blacklist { + { USB_VENDOR_ID_MICROSOFT, USB_DEVICE_ID_MS_TYPE_COVER_PRO_3, HID_QUIRK_NO_INIT_REPORTS }, + { USB_VENDOR_ID_MICROSOFT, USB_DEVICE_ID_MS_TYPE_COVER_PRO_3_2, HID_QUIRK_NO_INIT_REPORTS }, + { USB_VENDOR_ID_MICROSOFT, USB_DEVICE_ID_MS_TYPE_COVER_PRO_3_JP, HID_QUIRK_NO_INIT_REPORTS }, +- { USB_VENDOR_ID_MICROSOFT, USB_DEVICE_ID_MS_TYPE_COVER_PRO_4, HID_QUIRK_NO_INIT_REPORTS }, +- { USB_VENDOR_ID_MICROSOFT, USB_DEVICE_ID_MS_TYPE_COVER_PRO_4_2, HID_QUIRK_NO_INIT_REPORTS }, + { USB_VENDOR_ID_MICROSOFT, USB_DEVICE_ID_MS_POWER_COVER, HID_QUIRK_NO_INIT_REPORTS }, + { USB_VENDOR_ID_MSI, USB_DEVICE_ID_MSI_GT683R_LED_PANEL, HID_QUIRK_NO_INIT_REPORTS }, + { USB_VENDOR_ID_NEXIO, USB_DEVICE_ID_NEXIO_MULTITOUCH_PTI0750, HID_QUIRK_NO_INIT_REPORTS }, +-- +2.7.4 + diff --git a/HID-multitouch-enable-the-Surface-4-Type-Cover-Pro-J.patch b/HID-multitouch-enable-the-Surface-4-Type-Cover-Pro-J.patch new file mode 100644 index 0000000..9ae56d0 --- /dev/null +++ b/HID-multitouch-enable-the-Surface-4-Type-Cover-Pro-J.patch @@ -0,0 +1,83 @@ +From 929b0f22473cc45891dee2f58ef0a25fba6c5750 Mon Sep 17 00:00:00 2001 +From: Yuta Kobayashi <alu.ula@xxxxxxxxxxx> +Date: Mon, 19 Dec 2016 02:36:45 +0000 +Subject: [PATCH 1/3] HID: multitouch: enable the Surface 4 Type Cover Pro (JP) + to report multitouch data + +Since commit 8fe89ef076fa1 ("HID: multitouch: enable the Surface 3 Type +Cover to report multitouch data"), the TypeCover can be properly handled +by hid-multitouch and don't require any special quirk in the kernel. + +Remove the support of the Surface 4 Type Cover Pro (JP) from +hid-microsoft so it can properly report multitouch from the touchpad. + +Signed-off-by: Yuta Kobayashi <alu.ula@xxxxxxxxxxx> +Reviewed-by: Benjamin Tissoires <benjamin.tissoires@xxxxxxxxxx> +Signed-off-by: Jiri Kosina <jkosina@xxxxxxx> +--- + drivers/hid/hid-core.c | 2 -- + drivers/hid/hid-ids.h | 1 - + drivers/hid/hid-microsoft.c | 2 -- + drivers/hid/usbhid/hid-quirks.c | 1 - + 4 files changed, 6 deletions(-) + +diff --git a/drivers/hid/hid-core.c b/drivers/hid/hid-core.c +index ea36b55..3c8af87 100644 +--- a/drivers/hid/hid-core.c ++++ b/drivers/hid/hid-core.c +@@ -729,7 +729,6 @@ static void hid_scan_collection(struct hid_parser *parser, unsigned type) + hid->product == USB_DEVICE_ID_MS_TYPE_COVER_PRO_3_JP || + hid->product == USB_DEVICE_ID_MS_TYPE_COVER_PRO_4 || + hid->product == USB_DEVICE_ID_MS_TYPE_COVER_PRO_4_2 || +- hid->product == USB_DEVICE_ID_MS_TYPE_COVER_PRO_4_JP || + hid->product == USB_DEVICE_ID_MS_POWER_COVER) && + hid->group == HID_GROUP_MULTITOUCH) + hid->group = HID_GROUP_GENERIC; +@@ -1990,7 +1989,6 @@ static const struct hid_device_id hid_have_special_driver[] = { + { HID_USB_DEVICE(USB_VENDOR_ID_MICROSOFT, USB_DEVICE_ID_MS_TYPE_COVER_PRO_3_JP) }, + { HID_USB_DEVICE(USB_VENDOR_ID_MICROSOFT, USB_DEVICE_ID_MS_TYPE_COVER_PRO_4) }, + { HID_USB_DEVICE(USB_VENDOR_ID_MICROSOFT, USB_DEVICE_ID_MS_TYPE_COVER_PRO_4_2) }, +- { HID_USB_DEVICE(USB_VENDOR_ID_MICROSOFT, USB_DEVICE_ID_MS_TYPE_COVER_PRO_4_JP) }, + { HID_USB_DEVICE(USB_VENDOR_ID_MICROSOFT, USB_DEVICE_ID_MS_DIGITAL_MEDIA_7K) }, + { HID_USB_DEVICE(USB_VENDOR_ID_MICROSOFT, USB_DEVICE_ID_MS_DIGITAL_MEDIA_600) }, + { HID_USB_DEVICE(USB_VENDOR_ID_MICROSOFT, USB_DEVICE_ID_MS_DIGITAL_MEDIA_3KV1) }, +diff --git a/drivers/hid/hid-ids.h b/drivers/hid/hid-ids.h +index f46f2c5..d816c54 100644 +--- a/drivers/hid/hid-ids.h ++++ b/drivers/hid/hid-ids.h +@@ -727,7 +727,6 @@ + #define USB_DEVICE_ID_MS_TYPE_COVER_PRO_3_JP 0x07dd + #define USB_DEVICE_ID_MS_TYPE_COVER_PRO_4 0x07e4 + #define USB_DEVICE_ID_MS_TYPE_COVER_PRO_4_2 0x07e8 +-#define USB_DEVICE_ID_MS_TYPE_COVER_PRO_4_JP 0x07e9 + #define USB_DEVICE_ID_MS_POWER_COVER 0x07da + + #define USB_VENDOR_ID_MOJO 0x8282 +diff --git a/drivers/hid/hid-microsoft.c b/drivers/hid/hid-microsoft.c +index 74b7b84..2b706b5 100644 +--- a/drivers/hid/hid-microsoft.c ++++ b/drivers/hid/hid-microsoft.c +@@ -284,8 +284,6 @@ static const struct hid_device_id ms_devices[] = { + .driver_data = MS_HIDINPUT }, + { HID_USB_DEVICE(USB_VENDOR_ID_MICROSOFT, USB_DEVICE_ID_MS_TYPE_COVER_PRO_4_2), + .driver_data = MS_HIDINPUT }, +- { HID_USB_DEVICE(USB_VENDOR_ID_MICROSOFT, USB_DEVICE_ID_MS_TYPE_COVER_PRO_4_JP), +- .driver_data = MS_HIDINPUT }, + { HID_USB_DEVICE(USB_VENDOR_ID_MICROSOFT, USB_DEVICE_ID_MS_POWER_COVER), + .driver_data = MS_HIDINPUT }, + { HID_USB_DEVICE(USB_VENDOR_ID_MICROSOFT, USB_DEVICE_ID_MS_COMFORT_KEYBOARD), +diff --git a/drivers/hid/usbhid/hid-quirks.c b/drivers/hid/usbhid/hid-quirks.c +index e9d6cc7..7eccbf8 100644 +--- a/drivers/hid/usbhid/hid-quirks.c ++++ b/drivers/hid/usbhid/hid-quirks.c +@@ -107,7 +107,6 @@ static const struct hid_blacklist { + { USB_VENDOR_ID_MICROSOFT, USB_DEVICE_ID_MS_TYPE_COVER_PRO_3_JP, HID_QUIRK_NO_INIT_REPORTS }, + { USB_VENDOR_ID_MICROSOFT, USB_DEVICE_ID_MS_TYPE_COVER_PRO_4, HID_QUIRK_NO_INIT_REPORTS }, + { USB_VENDOR_ID_MICROSOFT, USB_DEVICE_ID_MS_TYPE_COVER_PRO_4_2, HID_QUIRK_NO_INIT_REPORTS }, +- { USB_VENDOR_ID_MICROSOFT, USB_DEVICE_ID_MS_TYPE_COVER_PRO_4_JP, HID_QUIRK_NO_INIT_REPORTS }, + { USB_VENDOR_ID_MICROSOFT, USB_DEVICE_ID_MS_POWER_COVER, HID_QUIRK_NO_INIT_REPORTS }, + { USB_VENDOR_ID_MSI, USB_DEVICE_ID_MSI_GT683R_LED_PANEL, HID_QUIRK_NO_INIT_REPORTS }, + { USB_VENDOR_ID_NEXIO, USB_DEVICE_ID_NEXIO_MULTITOUCH_PTI0750, HID_QUIRK_NO_INIT_REPORTS }, +-- +2.7.4 + diff --git a/kernel.spec b/kernel.spec index 8d97cb7..f5ee0d9 100644 --- a/kernel.spec +++ b/kernel.spec @@ -584,6 +584,14 @@ Patch849: 0001-iio-Use-event-header-from-kernel-tree.patch # Fix build issue with armada_trace Patch851: Armada-trace-build-fix.patch +# These following patches enable Surface Type Cover multitouch feedback. +Patch900: HID-multitouch-enable-the-Surface-4-Type-Cover-Pro-J.patch + +Patch901: HID-multitouch-enable-Surface-4-Type-Cover-Pro-non-J.patch + +# https://patchwork.kernel.org/patch/9525369/ +Patch902: HID-multitouch-enable-Surface-3-Type-Cover-Pro-to-re.patch + # END OF PATCH DEFINITIONS %endif @@ -2154,6 +2162,9 @@ fi # # %changelog +* Thu Jan 19 2017 Dennis Chen <barracks510@xxxxxxxxx> +- Provide multitouch capability to Surface Type Cover devices + * Wed Jan 18 2017 Justin M. Forbes <jforbes@xxxxxxxxxxxxxxxxx> - 4.10.0-0.rc4.git2.1 - Linux v4.10-rc4-101-gfa19a76 -- 2.7.4 _______________________________________________ kernel mailing list -- kernel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to kernel-leave@xxxxxxxxxxxxxxxxxxxxxxx