aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/s3c24xx/patches-2.6.24/1047-input-nots-mousedev.patch.patch
diff options
context:
space:
mode:
authorMirko Vogt <mirko@openwrt.org>2008-12-12 11:58:53 +0000
committerMirko Vogt <mirko@openwrt.org>2008-12-12 11:58:53 +0000
commit614683faf8029100802db06a825648d0b6490285 (patch)
tree7401b135dc7ce24ff0175e67e0f2ce7f96296ff0 /target/linux/s3c24xx/patches-2.6.24/1047-input-nots-mousedev.patch.patch
parent4a018d2445c5f249179ff82c8fffb0e3b717f738 (diff)
downloadupstream-614683faf8029100802db06a825648d0b6490285.tar.gz
upstream-614683faf8029100802db06a825648d0b6490285.tar.bz2
upstream-614683faf8029100802db06a825648d0b6490285.zip
changed Makefile and profiles, added patches for kernel 2.6.24 (stable-branch of Openmoko)
SVN-Revision: 13613
Diffstat (limited to 'target/linux/s3c24xx/patches-2.6.24/1047-input-nots-mousedev.patch.patch')
-rw-r--r--target/linux/s3c24xx/patches-2.6.24/1047-input-nots-mousedev.patch.patch37
1 files changed, 37 insertions, 0 deletions
diff --git a/target/linux/s3c24xx/patches-2.6.24/1047-input-nots-mousedev.patch.patch b/target/linux/s3c24xx/patches-2.6.24/1047-input-nots-mousedev.patch.patch
new file mode 100644
index 0000000000..198beb9760
--- /dev/null
+++ b/target/linux/s3c24xx/patches-2.6.24/1047-input-nots-mousedev.patch.patch
@@ -0,0 +1,37 @@
+From 5c2f325aefe9280ae6f1220200bf40281d218fda Mon Sep 17 00:00:00 2001
+From: mokopatches <mokopatches@openmoko.org>
+Date: Sun, 13 Apr 2008 07:23:48 +0100
+Subject: [PATCH] input-nots-mousedev.patch
+ 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@openmoko.org>
+---
+ drivers/input/mousedev.c | 2 ++
+ 1 files changed, 2 insertions(+), 0 deletions(-)
+
+diff --git a/drivers/input/mousedev.c b/drivers/input/mousedev.c
+index be83516..0ae06bb 100644
+--- a/drivers/input/mousedev.c
++++ b/drivers/input/mousedev.c
+@@ -1009,6 +1009,7 @@ static const struct input_device_id mousedev_ids[] = {
+ .evbit = { BIT_MASK(EV_KEY) | BIT_MASK(EV_REL) },
+ .relbit = { BIT_MASK(REL_WHEEL) },
+ }, /* A separate scrollwheel */
++#if 0
+ {
+ .flags = INPUT_DEVICE_ID_MATCH_EVBIT |
+ INPUT_DEVICE_ID_MATCH_KEYBIT |
+@@ -1018,6 +1019,7 @@ static const struct input_device_id mousedev_ids[] = {
+ .absbit = { BIT_MASK(ABS_X) | BIT_MASK(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 |
+--
+1.5.6.5
+