Skip to content

HID: input cleanups and mt additions

Benjamin Tissoires linux-input lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest6 patches 3 repliesIn review

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6HID: store the full list of reports in the hidinputdrivers/hid/hid-input.c include/linux/hid.h+8 -00 replies
2/6HID: generic: create one input report per application typedrivers/hid/hid-core.c drivers/hid/hid-generic.c drivers/hid/hid-gfrm.c +3 more+56 -132 replies
3/6HID: input: append a suffix matching the applicationdrivers/hid/hid-input.c include/linux/hid.h+60 -80 replies
4/6HID: multitouch: make use of HID_QUIRK_INPUT_PER_APPdrivers/hid/hid-multitouch.c+33 -390 replies
5/6HID: multitouch: simplify the settings of the various featuresdrivers/hid/hid-multitouch.c+60 -710 replies
6/6HID: multitouch: implement precision touchpad latency and switchesdrivers/hid/hid-multitouch.c include/linux/hid.h+32 -50 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/6] HID: input cleanups and mt additions

Hi Jiri,

following the thread about the 'not incrementing ABS_MISC', here is the actual submission of the series.

Compared to the 2 patches I sent last week, there are a few more:
- patch 1 needed to be added or some (all?) Advanced Silicon touchscreen would fail the tests with HID_QUIRK_INPUT_PER_APPLICATION
- patch 3 is extracted from v1-2/2, as it has grown significantly, still because of the same issue with Advanced Silicon panels
- patch 4 is something I had in mind while debugging some other not-so-talkative touchpads, because of patch 5
- patch 5 should put us at the same level than the Windows driver now. Note that we could unset the features (button/surface reporting, and latency during suspend, but not sure it helps that much. We should probably test the current consumption with and without)

The series has been tested against regressions thanks to my new hid test suite
https://github.com/bentiss/hid-tools (I rewrote hid-replay in python and hook up python tests). I also used the loaner from Dell (thanks Mario!), and XPS 9360 that has both touchscreen and touchpad, and on which the touchpad has the new features I implemented here.

Cheers,
Benjamin

Benjamin Tissoires (6):
HID: store the full list of reports in the hidinput
HID: generic: create one input report per application type
HID: input: append a suffix matching the application
HID: multitouch: make use of HID_QUIRK_INPUT_PER_APP
HID: multitouch: simplify the settings of the various features
HID: multitouch: implement precision touchpad latency and switches

 drivers/hid/hid-core.c       |  19 ++--
 drivers/hid/hid-generic.c    |  15 +++
 drivers/hid/hid-gfrm.c       |   2 +-
 drivers/hid/hid-input.c      |  90 +++++++++++++++--
 drivers/hid/hid-magicmouse.c |   6 +-
 drivers/hid/hid-multitouch.c | 227 ++++++++++++++++++++++---------------------
 include/linux/hid.h          |  16 ++-
 7 files changed, 244 insertions(+), 131 deletions(-)
Signature · 1 line
2.14.3