Skip to content

Support of Nexio 42" and new default class for hid-multitouch

Benjamin Tissoires linux-input lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest9 patches 17 repliesIn review
  2. v125 patches 11 repliesSuperseded

Changes in v2 from the cover letter

- removed the "optimization" patches, as the benefit was minimum
- introduce a new callback "report" in hid-core that drivers can use to treat the report by having it entirely parsed
- rely on this new hook to support Nexio 42"

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9HID: core: add "report" hook, called once the report has been parseddrivers/hid/hid-core.c include/linux/hid.h+6 -05 replies
2/9HID: multitouch: use the callback "report" instead of sequential eventsdrivers/hid/hid-multitouch.c+38 -60 replies
3/9HID: multitouch: add support for Nexio 42" paneldrivers/hid/hid-ids.h drivers/hid/hid-multitouch.c+33 -64 replies
4/9HID: multitouch: fix Win8 protocol for Sharp like devicesdrivers/hid/hid-multitouch.c+1 -00 replies
5/9HID: multitouch: ensure that serial devices make no use of contact countdrivers/hid/hid-multitouch.c+1 -00 replies
6/9HID: multitouch: fix protocol for Sitronix 1403:5001drivers/hid/hid-multitouch.c+1 -10 replies
7/9HID: multitouch: fix protocol for Cando 2087:0a02drivers/hid/hid-multitouch.c+7 -10 replies
8/9HID: multitouch: fix protocol for Elo panelsdrivers/hid/hid-multitouch.c+7 -10 replies
9/9HID: multitouch: make MT_CLS_ALWAYS_TRUE the new default classdrivers/hid/hid-multitouch.c+27 -270 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/9] Support of Nexio 42" and new default class for hid-multitouch

Hi guys,

so, this is the v2 of the support of win7/8 devices.

changes since v1:
- removed the "optimization" patches, as the benefit was minimum
- introduce a new callback "report" in hid-core that drivers can use to treat the report by having it entirely parsed
- rely on this new hook to support Nexio 42"

side notes:
- I've tested removing the heavy call to kzalloc in hid_input_field. The results are disapointing -> the processing time remains the same.
- I've also tested not to rely on .event hook in hid-multitouch but only on .report. Idem, I thought it would reduce the code of hid-multitouch and will enhance its processing time, but the results are a roughly same number of lines for hid-multitouch and the same processing time... :(
- these 2 tests helped in cleaning the patch set from the last time.

And again, finally, I've pass all the 40 regression tests of my db. \o/

Cheers,
Benjamin

Benjamin Tissoires (9):
HID: core: add "report" hook, called once the report has been parsed
HID: multitouch: use the callback "report" instead of sequential
events
HID: multitouch: add support for Nexio 42" panel
HID: multitouch: fix Win8 protocol for Sharp like devices
HID: multitouch: ensure that serial devices make no use of contact
count
HID: multitouch: fix protocol for Sitronix 1403:5001
HID: multitouch: fix protocol for Cando 2087:0a02
HID: multitouch: fix protocol for Elo panels
HID: multitouch: make MT_CLS_ALWAYS_TRUE the new default class

 drivers/hid/hid-core.c       |   4 ++
 drivers/hid/hid-ids.h        |   3 +
 drivers/hid/hid-multitouch.c | 142 ++++++++++++++++++++++++++++++++-----------
 include/linux/hid.h          |   2 +
 4 files changed, 115 insertions(+), 36 deletions(-)
Signature · 1 line
1.8.1