Linux-2.6.0-test6: synaptics upside down?

From: Peter Chubb
Date: Mon Sep 29 2003 - 00:29:41 EST



Hi folks,
On the latest 2.6.0-test6 kernel, the synaptics touchpad on my
Clevo is upside down -- moving my finger up moves the pointer down,
et vice versa.

This patch fixed the problem for me, but is probably not the right
fix.

===== drivers/input/mouse/synaptics.c 1.9 vs edited =====
--- 1.9/drivers/input/mouse/synaptics.c Fri Sep 26 16:58:04 2003
+++ edited/drivers/input/mouse/synaptics.c Mon Sep 29 15:18:53 2003
@@ -529,7 +529,11 @@
/* Post events */
if (hw.z > 0) {
input_report_abs(dev, ABS_X, hw.x);
+#if 0
input_report_abs(dev, ABS_Y, YMAX_NOMINAL + YMIN_NOMINAL - hw.y);
+#else
+ input_report_abs(dev, ABS_Y, hw.y);
+#endif
}
input_report_abs(dev, ABS_PRESSURE, hw.z);

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