[PATCH v2 0/3] Cypress PS/2 Trackpad driver

From: Kamal Mostafa
Date: Tue Nov 20 2012 - 16:30:22 EST


This driver, submitted on behalf of Cypress Semiconductor Corporation and
additional contributors, provides support for the Cypress PS/2 Trackpad.

This [PATCH v2] version differs from my first submission[0]:

- Increases the size the of the cmdbuf[] array in struct ps2dev from
6 to 8 bytes, per Dmitry Torokhov's suggestion. ** This change has
not been tested with respect to any other touchpads. Is it safe? **

- Removes the special Cypress handling from psmouse-base.c

And it *almost* works properly... Cypress PS/2 Trackpad is recognized and
works fine on boot, but after a suspend-resume multitouch features no longer
work (one and two finger tap works, but three does not). Restarting X does
fix it, until the next suspend. The previous version of the driver[0] does
not exhibit that problem.

Help identifying and fixing the suspend-resume issue will be much
appreciated.

-Kamal Mostafa <kamal@xxxxxxxxxxxxx>

[0] http://www.spinics.net/lists/linux-input/msg23690.html


Cypress Semiconductor Corporation (2):
input: Cypress PS/2 Trackpad psmouse driver
input: Cypress PS/2 Trackpad link into psmouse-base

Kamal Mostafa (1):
input: increase struct ps2dev cmdbuf[] to 8 bytes

drivers/input/mouse/Kconfig | 10 +
drivers/input/mouse/Makefile | 1 +
drivers/input/mouse/cypress_ps2.c | 956 ++++++++++++++++++++++++++++++++++++
drivers/input/mouse/cypress_ps2.h | 220 +++++++++
drivers/input/mouse/psmouse-base.c | 32 ++
drivers/input/mouse/psmouse.h | 1 +
include/linux/libps2.h | 2 +-
7 files changed, 1221 insertions(+), 1 deletion(-)
create mode 100644 drivers/input/mouse/cypress_ps2.c
create mode 100644 drivers/input/mouse/cypress_ps2.h

--
1.7.10.4

--
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/