[oe-commits] OE Builder : linux-2.6.31: make capsense keys remapable for boc01
git version control
git at git.openembedded.org
Tue Nov 3 17:31:01 UTC 2009
Module: openembedded.git
Branch: rpurdie/work-in-progress
Commit: 050c77a7fe37cf6a4875b5ce3db809e32ebed149
URL: http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=050c77a7fe37cf6a4875b5ce3db809e32ebed149
Author: OE Builder <oebuilder at waffle.bolloretelecom.eu>
Date: Fri Oct 30 13:33:44 2009 +0100
linux-2.6.31: make capsense keys remapable for boc01
---
.../linux-2.6.31/boc01/012-091019-capsense.patch | 19 +++++++++++--------
1 files changed, 11 insertions(+), 8 deletions(-)
diff --git a/recipes/linux/linux-2.6.31/boc01/012-091019-capsense.patch b/recipes/linux/linux-2.6.31/boc01/012-091019-capsense.patch
index d82f8b1..ae5428d 100644
--- a/recipes/linux/linux-2.6.31/boc01/012-091019-capsense.patch
+++ b/recipes/linux/linux-2.6.31/boc01/012-091019-capsense.patch
@@ -1,7 +1,7 @@
Index: linux-2.6.31/drivers/input/misc/Kconfig
===================================================================
---- linux-2.6.31.orig/drivers/input/misc/Kconfig 2009-10-19 16:32:13.000000000 +0200
-+++ linux-2.6.31/drivers/input/misc/Kconfig 2009-10-19 16:49:22.000000000 +0200
+--- linux-2.6.31.orig/drivers/input/misc/Kconfig 2009-10-30 12:50:24.000000000 +0100
++++ linux-2.6.31/drivers/input/misc/Kconfig 2009-10-30 13:20:50.000000000 +0100
@@ -269,4 +269,14 @@
To compile this driver as a module, choose M here: the
@@ -19,8 +19,8 @@ Index: linux-2.6.31/drivers/input/misc/Kconfig
endif
Index: linux-2.6.31/drivers/input/misc/Makefile
===================================================================
---- linux-2.6.31.orig/drivers/input/misc/Makefile 2009-10-19 16:32:13.000000000 +0200
-+++ linux-2.6.31/drivers/input/misc/Makefile 2009-10-19 16:49:22.000000000 +0200
+--- linux-2.6.31.orig/drivers/input/misc/Makefile 2009-10-30 12:50:24.000000000 +0100
++++ linux-2.6.31/drivers/input/misc/Makefile 2009-10-30 13:20:50.000000000 +0100
@@ -26,3 +26,4 @@
obj-$(CONFIG_INPUT_UINPUT) += uinput.o
obj-$(CONFIG_INPUT_WISTRON_BTNS) += wistron_btns.o
@@ -29,8 +29,8 @@ Index: linux-2.6.31/drivers/input/misc/Makefile
Index: linux-2.6.31/drivers/input/misc/capsense-btns.c
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
-+++ linux-2.6.31/drivers/input/misc/capsense-btns.c 2009-10-19 16:49:22.000000000 +0200
-@@ -0,0 +1,440 @@
++++ linux-2.6.31/drivers/input/misc/capsense-btns.c 2009-10-30 13:21:11.000000000 +0100
+@@ -0,0 +1,443 @@
+/*
+ * CAPSENSE Interface driver
+ *
@@ -185,9 +185,12 @@ Index: linux-2.6.31/drivers/input/misc/capsense-btns.c
+ changed = capsense->key_state ^ new_state;
+ for (i = 0; i < ARRAY_SIZE(input_keymap); i++)
+ if (changed & (1 << i))
++ {
++ input_event(dev->input, EV_MSC, MSC_SCAN, i);
+ input_report_key(dev->input, input_keymap[i], (new_state & (1 << i)));
++ input_sync(dev->input);
++ }
+ capsense->key_state = new_state;
-+ input_sync(dev->input);
+}
+
+
@@ -474,7 +477,7 @@ Index: linux-2.6.31/drivers/input/misc/capsense-btns.c
Index: linux-2.6.31/drivers/input/misc/capsense-procfs.c
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
-+++ linux-2.6.31/drivers/input/misc/capsense-procfs.c 2009-10-19 16:50:35.000000000 +0200
++++ linux-2.6.31/drivers/input/misc/capsense-procfs.c 2009-10-30 13:20:03.000000000 +0100
@@ -0,0 +1,380 @@
+/*
+ * CAPSENSE Interface driver
More information about the Openembedded-commits
mailing list