r932 - trunk/src/target/kernel/patches
laforge at sita.openmoko.org
laforge at sita.openmoko.org
Fri Feb 9 13:50:26 CET 2007
Author: laforge
Date: 2007-02-09 13:50:26 +0100 (Fri, 09 Feb 2007)
New Revision: 932
Added:
trunk/src/target/kernel/patches/input-nots-mousedev.patch
Modified:
trunk/src/target/kernel/patches/series
Log:
Don't have the touchscreen report its events via /dev/input/mice
Added: trunk/src/target/kernel/patches/input-nots-mousedev.patch
===================================================================
--- trunk/src/target/kernel/patches/input-nots-mousedev.patch 2007-02-09 12:47:32 UTC (rev 931)
+++ trunk/src/target/kernel/patches/input-nots-mousedev.patch 2007-02-09 12:50:26 UTC (rev 932)
@@ -0,0 +1,26 @@
+This patch disables the reporting of touchscreen-like devices via
+/dev/input/mice. In the Neo1973 (much like other handheld devices),
+we need this to distinguish between the touchscreen (which uses tslib)
+and optional additional usb/bluetooth mice that might be attached.
+
+Signed-off-by: Harald Welte <laforge at openmoko.org>
+
+Index: linux-2.6.17.14-fic4.test/drivers/input/mousedev.c
+===================================================================
+--- linux-2.6.17.14-fic4.test.orig/drivers/input/mousedev.c 2007-02-09 13:47:15.000000000 +0100
++++ linux-2.6.17.14-fic4.test/drivers/input/mousedev.c 2007-02-09 13:47:40.000000000 +0100
+@@ -689,12 +689,14 @@
+ .evbit = { BIT(EV_KEY) | BIT(EV_REL) },
+ .relbit = { BIT(REL_WHEEL) },
+ }, /* A separate scrollwheel */
++#if 0
+ {
+ .flags = INPUT_DEVICE_ID_MATCH_EVBIT | INPUT_DEVICE_ID_MATCH_KEYBIT | INPUT_DEVICE_ID_MATCH_ABSBIT,
+ .evbit = { BIT(EV_KEY) | BIT(EV_ABS) },
+ .keybit = { [LONG(BTN_TOUCH)] = BIT(BTN_TOUCH) },
+ .absbit = { BIT(ABS_X) | BIT(ABS_Y) },
+ }, /* A tablet like device, at least touch detection, two absolute axes */
++#endif
+ {
+ .flags = INPUT_DEVICE_ID_MATCH_EVBIT | INPUT_DEVICE_ID_MATCH_KEYBIT | INPUT_DEVICE_ID_MATCH_ABSBIT,
+ .evbit = { BIT(EV_KEY) | BIT(EV_ABS) },
Modified: trunk/src/target/kernel/patches/series
===================================================================
--- trunk/src/target/kernel/patches/series 2007-02-09 12:47:32 UTC (rev 931)
+++ trunk/src/target/kernel/patches/series 2007-02-09 12:50:26 UTC (rev 932)
@@ -27,3 +27,4 @@
gta01-vbus_draw.patch
ts0710.patch
gta01-asoc-rxmixer.patch
+input-nots-mousedev.patch
More information about the commitlog
mailing list