From: Paul Fox Date: Wed, 5 Aug 2009 07:30:31 +0000 (-0700) Subject: Input: hgpk - forced recalibration for the OLPC touchpad X-Git-Tag: v2.6.32-rc1~686^2^2~29 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c46dd1eb9a4f1b8c1bb597a75199e3d34fb7b43b;p=pandora-kernel.git Input: hgpk - forced recalibration for the OLPC touchpad The OLPC XO laptop incorporates a combination touchpad/tablet device which unfortunately requires frequent recalibration. The driver will force this automatically when various suspicious behaviors are observed, and the user can recalibrate manually (with a special keyboard sequence). There's currently no way, however, for an external program to cause recalibration. We can not use the reconnect capability which is already available in /sys because full reset of the touchpad takes 1.1 - 1.2 secons which is too long. This patch creates a new node in /sys which, when written with '1', will force a touchpad recalibration; no other writes (or reads) of this node are supported. Signed-off-by: Paul Fox Acked-by: Andres Salomon Signed-off-by: Dmitry Torokhov --- Reading git-diff-tree failed