linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] HID: multitouch cleanups and support for fancy devices
@ 2014-02-28 16:41 Benjamin Tissoires
  2014-02-28 16:41 ` [PATCH 1/3] HID: multitouch: remove registered devices with default behavior Benjamin Tissoires
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: Benjamin Tissoires @ 2014-02-28 16:41 UTC (permalink / raw)
  To: Benjamin Tissoires, Henrik Rydberg, Jiri Kosina, Stephane Chatty,
	linux-input, linux-kernel

Hi guys,

Ok, this patch series is not very consistent and could have been split in two...
Anyway, here is some work for hid-multitouch:

- the first patch is mainly a way for us to reduce the work load regarding hid-mt
  when device makers ask for an inclusion in the kernel.
  Also, I have been notified that a Quanta 3008 was not working, and it occurs
  that this particular device has a special handling in hid-mt. Of course, the
  hardware maker reused the same VID/PID, but changed the protocol.
  So yes, I am in favour of killing all unneeded special cases.

  I checked all the devices I was able to test, and this leaves us a bunch of
  devices which, I am sure, could be removed too (all the ones following
  MT_CLS_NSMU should be in this case). So, if anyone else wants to join me in
  this crusade, I'd be glad to receive patches.

- the second and third patch are the v2 of the series I sent back in December
  2013 ([PATCH 0/3] Change in handling different input device in hid-multitouch).
  Henrik made valuable comments, and I did not had the time to look at it and to
  figure out how to address them. Now I got a different look at this work, and
  I think I addressed the issues (no more function pointers, yeah!)

Happy reviewing.

Cheers,
Benjamin

PS: it might be Spring coming, but I am definitively trying to reduce the total
lines of code in the HID subsystem...

Benjamin Tissoires (3):
  HID: multitouch: remove default behaviors
  HID: multitouch: remove pen special handling
  HID: multitouch: add support of other generic collections in hid-mt

 drivers/hid/hid-ids.h        |   3 +
 drivers/hid/hid-multitouch.c | 270 +++++++++++++++----------------------------
 include/linux/hid.h          |   3 +
 3 files changed, 101 insertions(+), 175 deletions(-)

-- 
1.8.5.3

^ permalink raw reply	[flat|nested] 9+ messages in thread
* [PATCH 0/3] Change in handling different input device in hid-multitouch
@ 2013-12-19 16:23 Benjamin Tissoires
  2013-12-19 16:23 ` [patch 3/3] HID: multitouch: add support of other generic collections in hid-mt Benjamin Tissoires
  0 siblings, 1 reply; 9+ messages in thread
From: Benjamin Tissoires @ 2013-12-19 16:23 UTC (permalink / raw)
  To: Benjamin Tissoires, Jiri Kosina, Edel Maks, Henrik Rydberg,
	linux-input, linux-kernel

Hi guys,

well, I have been reported a brand new device, which, as always presents a new
way of dealing with multitouch and mouse and soever.
The new fancy stuff is capable to report mouse and touch, whereas by default,
we consider mouse as garbage.

if you want to get an idea of the device:
http://www.pearl.de/a-PX2569-1002.shtml

So, we need to add a quirk for it, as usual, but I also cleaned up the way we
treat the different input devices within the driver. I expect some bikesheding
here, so I fire this right now until it's too late for 3.14 or 3.15 :)

Cheers,
Benjamin

Benjamin Tissoires (3):
  HID: multitouch: switch to a callback system for handling events
  HID: multitouch: introduce mt_protocol_generic
  HID: multitouch: add support of other generic collections in hid-mt

 drivers/hid/hid-ids.h        |   3 +
 drivers/hid/hid-multitouch.c | 205 +++++++++++++++++++++++++++++++++----------
 include/linux/hid.h          |   3 +
 3 files changed, 166 insertions(+), 45 deletions(-)

-- 
1.8.3.1

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

end of thread, other threads:[~2014-03-05 13:31 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-28 16:41 [PATCH 0/3] HID: multitouch cleanups and support for fancy devices Benjamin Tissoires
2014-02-28 16:41 ` [PATCH 1/3] HID: multitouch: remove registered devices with default behavior Benjamin Tissoires
2014-02-28 16:41 ` [PATCH 2/3] HID: multitouch: remove pen special handling Benjamin Tissoires
2014-02-28 16:41 ` [PATCH 3/3] HID: multitouch: add support of other generic collections in hid-mt Benjamin Tissoires
2014-03-05 13:31 ` [PATCH 0/3] HID: multitouch cleanups and support for fancy devices Jiri Kosina
  -- strict thread matches above, loose matches on Subject: below --
2013-12-19 16:23 [PATCH 0/3] Change in handling different input device in hid-multitouch Benjamin Tissoires
2013-12-19 16:23 ` [patch 3/3] HID: multitouch: add support of other generic collections in hid-mt Benjamin Tissoires
2013-12-21 20:26   ` Henrik Rydberg
2014-01-03  9:56     ` Jiri Kosina
2014-01-06 16:47       ` Benjamin Tissoires

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).