linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/5] HID: wacom: introduce generic HID handling
@ 2014-09-23 16:08 Benjamin Tissoires
  2014-09-23 16:08 ` [PATCH 1/5] HID: wacom: rename failN with some meaningful information Benjamin Tissoires
                   ` (5 more replies)
  0 siblings, 6 replies; 11+ messages in thread
From: Benjamin Tissoires @ 2014-09-23 16:08 UTC (permalink / raw)
  To: Jiri Kosina, Ping Cheng, killertofu; +Cc: linux-input, linux-kernel

Hi guys,

So, this patch series aims at supporting natively any future HID compliant wacom
tablet. Those found on the various laptops (ISDv4/5) already are HID compliant
and they should work in the future without any modification of the kernel.

Few things to note here:
- I used the PID 0x00E6 found on the Lenovo X230 for the tests
- I did not removed its entry in the list because there is a slightly different
  behavior while using this patch set: when more than two fingers are on the
  screen, the tablet stops sending finger events, while with the wacom
  proprietary bits, it continues to send them. Besides that, the events emitted
  before and after the patch series are the same (at least on the E6)
- I can not rely on hid-input directly because wacom wants to be in control of
  the input devices it creates. This might be solved in the future, but for now
  it is just easier to rewrite the few mapping/events handling than trying to
  fit in the hid-input model.
- there will still be more specific use cases to handle later (see the joke of
  the MS surface 3 pen[1] for instance), but this should give a roughly working
  pen/touch support for those future devices.

Jason, I would be very glad if you could conduct a few tests for this on the
ISDv4/5 sensors you have.

Cheers,
Benjamin

[1] http://who-t.blogspot.com/2014/09/stylus-behaviour-on-microsoft-surface-3.html

Benjamin Tissoires (5):
  HID: wacom: rename failN with some meaningful information
  HID: wacom: split out input allocation and registration
  HID: wacom: move allocation of inputs earlier
  HID: wacom: implement generic HID handling for pen generic devices
  HID: wacom: implement the finger part of the HID generic handling

 drivers/hid/hid-core.c  |   3 +
 drivers/hid/wacom.h     |   6 +
 drivers/hid/wacom_sys.c | 184 +++++++++++++++++++++--------
 drivers/hid/wacom_wac.c | 299 ++++++++++++++++++++++++++++++++++++++++++++++++
 drivers/hid/wacom_wac.h |  17 +++
 include/linux/hid.h     |   2 +
 6 files changed, 462 insertions(+), 49 deletions(-)

-- 
2.1.0


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

end of thread, other threads:[~2014-10-01  7:14 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-09-23 16:08 [PATCH 0/5] HID: wacom: introduce generic HID handling Benjamin Tissoires
2014-09-23 16:08 ` [PATCH 1/5] HID: wacom: rename failN with some meaningful information Benjamin Tissoires
2014-09-23 16:08 ` [PATCH 2/5] HID: wacom: split out input allocation and registration Benjamin Tissoires
2014-09-23 16:08 ` [PATCH 3/5] HID: wacom: move allocation of inputs earlier Benjamin Tissoires
2014-09-23 16:08 ` [PATCH 4/5] HID: wacom: implement generic HID handling for pen generic devices Benjamin Tissoires
2014-09-23 16:08 ` [PATCH 5/5] HID: wacom: implement the finger part of the HID generic handling Benjamin Tissoires
2014-09-26 11:03 ` [PATCH 0/5] HID: wacom: introduce generic HID handling Jiri Kosina
2014-09-27  1:35   ` Jason Gerecke
2014-09-30 17:27     ` Benjamin Tissoires
2014-09-30 23:46       ` Jason Gerecke
2014-10-01  7:14         ` Jiri Kosina

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).