disable IMQ on 2.6.28 as well -- people should use IFB..
[openwrt.git] / target / linux / s3c24xx / patches / 0040-input-nots-mousedev.patch.patch
1 From 95bdfec0f2515b7f1cd8dd959e49e950a814868b Mon Sep 17 00:00:00 2001
2 From: mokopatches <mokopatches@openmoko.org>
3 Date: Fri, 25 Jul 2008 22:21:22 +0100
4 Subject: [PATCH] input-nots-mousedev.patch
5  This patch disables the reporting of touchscreen-like devices via
6  /dev/input/mice.  In the Neo1973 (much like other handheld devices),
7  we need this to distinguish between the touchscreen (which uses tslib)
8  and optional additional usb/bluetooth mice that might be attached.
9
10 Signed-off-by: Harald Welte <laforge@openmoko.org>
11 ---
12  drivers/input/mousedev.c |    2 ++
13  1 files changed, 2 insertions(+), 0 deletions(-)
14
15 diff --git a/drivers/input/mousedev.c b/drivers/input/mousedev.c
16 index b989748..685917e 100644
17 --- a/drivers/input/mousedev.c
18 +++ b/drivers/input/mousedev.c
19 @@ -1009,6 +1009,7 @@ static const struct input_device_id mousedev_ids[] = {
20                 .evbit = { BIT_MASK(EV_KEY) | BIT_MASK(EV_REL) },
21                 .relbit = { BIT_MASK(REL_WHEEL) },
22         },      /* A separate scrollwheel */
23 +#if 0
24         {
25                 .flags = INPUT_DEVICE_ID_MATCH_EVBIT |
26                                 INPUT_DEVICE_ID_MATCH_KEYBIT |
27 @@ -1018,6 +1019,7 @@ static const struct input_device_id mousedev_ids[] = {
28                 .absbit = { BIT_MASK(ABS_X) | BIT_MASK(ABS_Y) },
29         },      /* A tablet like device, at least touch detection,
30                    two absolute axes */
31 +#endif
32         {
33                 .flags = INPUT_DEVICE_ID_MATCH_EVBIT |
34                                 INPUT_DEVICE_ID_MATCH_KEYBIT |
35 -- 
36 1.5.6.3
37