public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/3] Support multitouch touchpads in Surface TypeCover
@ 2016-11-25 13:27 Benjamin Tissoires
  2016-11-25 13:27 ` [PATCH v2 1/3] HID: input: rework HID_QUIRK_MULTI_INPUT Benjamin Tissoires
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: Benjamin Tissoires @ 2016-11-25 13:27 UTC (permalink / raw)
  To: Jiri Kosina, Dennis Chen, Andy Shevchenko, Bastien Nocera
  Cc: linux-input, linux-kernel

Hi,

this is mostly a resubmission of v1, with one patch exchanged.

The latest investigations by Dennis Chen showed that the first patch did
not changed the internal HID device quirk. So I think the first patch is
still valid for upstream.

Patch 2/3 "HID: multitouch: do not retrieve all reports for all devices" is
an attempt to pro-actively fix the other issues of the TypeCover. It looks
like the quirk HID_QUIRK_NO_INIT_REPORTS was dropped somewhere, but the quirks
set in hid-multitouch were kept. After further thoughts, I think we should
simply mimic the Windows driver and only retrieve the features we actually need.

With this patch, we don't need to add a special case for the Surface 3
cover, the default class just works.

Cheers,
Benjamin

Benjamin Tissoires (3):
  HID: input: rework HID_QUIRK_MULTI_INPUT
  HID: multitouch: do not retrieve all reports for all devices
  HID: multitouch: enable the Surface 3 Type Cover to report multitouch
    data

 drivers/hid/hid-core.c          |  2 -
 drivers/hid/hid-ids.h           |  1 -
 drivers/hid/hid-input.c         | 95 +++++++++++++++++++++++------------------
 drivers/hid/hid-microsoft.c     |  2 -
 drivers/hid/hid-multitouch.c    | 80 ++++++++++++++++++----------------
 drivers/hid/usbhid/hid-quirks.c |  1 -
 include/linux/hid.h             |  1 +
 7 files changed, 98 insertions(+), 84 deletions(-)

-- 
2.7.4

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2016-11-28 14:09 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-11-25 13:27 [PATCH v2 0/3] Support multitouch touchpads in Surface TypeCover Benjamin Tissoires
2016-11-25 13:27 ` [PATCH v2 1/3] HID: input: rework HID_QUIRK_MULTI_INPUT Benjamin Tissoires
2016-11-25 13:27 ` [PATCH v2 2/3] HID: multitouch: do not retrieve all reports for all devices Benjamin Tissoires
2016-11-25 13:27 ` [PATCH v2 3/3] HID: multitouch: enable the Surface 3 Type Cover to report multitouch data Benjamin Tissoires
2016-11-28 13:41 ` [PATCH v2 0/3] Support multitouch touchpads in Surface TypeCover Jiri Kosina
2016-11-28 13:55   ` Benjamin Tissoires
2016-11-28 13:58     ` Jiri Kosina
2016-11-28 14:08       ` Andy Shevchenko

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox