[linux-yocto] [PATCH] meta: minnow: Enable INPUT_EVDEV

Darren Hart dvhart at linux.intel.com
Tue Jul 2 12:19:27 PDT 2013


Enable INPUT_EVDEV for the GPIO buttons to work through the event
system. Minor refactoring.

Signed-off-by: Darren Hart <dvhart at linux.intel.com>
---
 meta/cfg/kernel-cache/bsp/minnow/minnow-dev.cfg |    1 +
 meta/cfg/kernel-cache/bsp/minnow/minnow.cfg     |    8 ++++++--
 2 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/meta/cfg/kernel-cache/bsp/minnow/minnow-dev.cfg b/meta/cfg/kernel-cache/bsp/minnow/minnow-dev.cfg
index 5698f5e..7d900f4 100644
--- a/meta/cfg/kernel-cache/bsp/minnow/minnow-dev.cfg
+++ b/meta/cfg/kernel-cache/bsp/minnow/minnow-dev.cfg
@@ -1 +1,2 @@
 CONFIG_DYNAMIC_DEBUG=y
+CONFIG_DEBUG_GPIO=y
diff --git a/meta/cfg/kernel-cache/bsp/minnow/minnow.cfg b/meta/cfg/kernel-cache/bsp/minnow/minnow.cfg
index a6457d9..c64d0dd 100644
--- a/meta/cfg/kernel-cache/bsp/minnow/minnow.cfg
+++ b/meta/cfg/kernel-cache/bsp/minnow/minnow.cfg
@@ -66,12 +66,16 @@ CONFIG_LPC_SCH=y
 CONFIG_GPIO_SCH=y
 CONFIG_GPIO_PCH=y
 
+# Input device support
 #CONFIG_INPUT_POLLDEV=m
+
+# Userland interfaces
+CONFIG_INPUT_EVDEV=y
+
+# Input Device Drivers
 #CONFIG_KEYBOARD_GPIO=m
 CONFIG_KEYBOARD_GPIO_POLLED=y
 
-CONFIG_DEBUG_GPIO=y
-
 # Ensure the performance govenor is the default for optimal boot time
 # (Leave it to userspace to change it after boot)
 # CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND is not set
-- 
1.7.9.5




More information about the linux-yocto mailing list