[PATCHv2 0/4] FocalTech touchpad fixes

From: Mathias Gottschlag
Date: Thu Feb 26 2015 - 18:20:55 EST


Hi,

Changes since the last version:
- I added a commit which clamps the reported coordinates to valid values, even
if the values reported by the touchpad are wrong/misinterpreted.
- PSMOUSE_CMD_SETSCALE11 is now encapsulated in a member function of struct
psmouse, like the other configuration commands, and focaltech.c provides
a dummy function.
- I added a commit which disables palm detection. The driver used to check the
reported contact size from the touchpad. However, the threshold of the value
for "very large contact area" seems to be rather low on some devices, leading
to frequent pointer freezes. As I don't know how to indentify these devices,
I thought it would be better to disable the check for now. If you don't agree
with this patch, we can surely leave it out, but I don't know how to fix the
problem and would rather not have devices where the driver is known to be
broken.

Especially, the last commit now removes some code which so far is the only
available documentation for the touchpad behaviour.
As soon as I find some time (haha), I'll probably write some documentation.
Would such documentation (as incomplete and probably wrong as it will be) be
suitable for Documentation/, or should I make it available through a different
channel?

Regards,
Mathias

Mathias Gottschlag (4):
psmouse: Remove hardcoded touchpad size from the focaltech driver.
psmouse: Ensure that the focaltech driver reports consistent
coordinates.
psmouse: Disable resolution/rate/scale changes for FocalTech
touchpads.
psmouse: Disable "palm detection" in the focaltech driver.

drivers/input/mouse/focaltech.c | 49 ++++++++++++++++++++++++++------------
drivers/input/mouse/psmouse-base.c | 18 +++++++++++++-
drivers/input/mouse/psmouse.h | 7 ++++++
3 files changed, 58 insertions(+), 16 deletions(-)

--
2.1.0

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/