summaryrefslogtreecommitdiffstats
path: root/target/linux/s3c24xx/patches-2.6.26/1040-input-nots-mousedev.patch.patch
diff options
context:
space:
mode:
authormirko <mirko@3c298f89-4303-0410-b956-a3cf2f4a3e73>2008-12-13 01:54:56 +0000
committermirko <mirko@3c298f89-4303-0410-b956-a3cf2f4a3e73>2008-12-13 01:54:56 +0000
commita95f9f92e2953d5829a29e95644dc4c4bc93f590 (patch)
tree01f2bf78edb2e3bb1466df9bca72e068632d0e74 /target/linux/s3c24xx/patches-2.6.26/1040-input-nots-mousedev.patch.patch
parent9fa649271dbc9c83417488203aeb1668a0238c54 (diff)
change prefix for kernelpatchbase 2.6.26
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13619 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/s3c24xx/patches-2.6.26/1040-input-nots-mousedev.patch.patch')
-rwxr-xr-xtarget/linux/s3c24xx/patches-2.6.26/1040-input-nots-mousedev.patch.patch37
1 files changed, 37 insertions, 0 deletions
diff --git a/target/linux/s3c24xx/patches-2.6.26/1040-input-nots-mousedev.patch.patch b/target/linux/s3c24xx/patches-2.6.26/1040-input-nots-mousedev.patch.patch
new file mode 100755
index 000000000..716b04894
--- /dev/null
+++ b/target/linux/s3c24xx/patches-2.6.26/1040-input-nots-mousedev.patch.patch
@@ -0,0 +1,37 @@
+From 95bdfec0f2515b7f1cd8dd959e49e950a814868b Mon Sep 17 00:00:00 2001
+From: mokopatches <mokopatches@openmoko.org>
+Date: Fri, 25 Jul 2008 22:21:22 +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 b989748..685917e 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.3
+