[OE-core] [PATCH 3/3] Enabled kernel module for eGalax touch screen.

edwin.zhai at intel.com edwin.zhai at intel.com
Tue Sep 27 01:04:01 UTC 2011


From: Zhai Edwin <edwin.zhai at intel.com>

Signed-off-by: Zhai Edwin <edwin.zhai at intel.com>
---
 meta-pegasus/conf/machine/pegasus.conf             |    2 +-
 .../recipes-kernel/linux/linux-yocto/pegasus.cfg   |    4 ++++
 .../linux/linux-yocto_2.6.37.bbappend              |   12 ++++++++++++
 3 files changed, 17 insertions(+), 1 deletions(-)
 create mode 100644 meta-pegasus/recipes-kernel/linux/linux-yocto/pegasus.cfg
 create mode 100644 meta-pegasus/recipes-kernel/linux/linux-yocto_2.6.37.bbappend

diff --git a/meta-pegasus/conf/machine/pegasus.conf b/meta-pegasus/conf/machine/pegasus.conf
index 8a4335e..5da6655 100644
--- a/meta-pegasus/conf/machine/pegasus.conf
+++ b/meta-pegasus/conf/machine/pegasus.conf
@@ -9,7 +9,7 @@ SYSLINUX_OPTS = "serial 0 115200"
 SERIAL_CONSOLE = "115200 ttyS0"
 APPEND += "console=ttyS0,115200 console=tty0" 
 
-#PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto"
+PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto"
 
 #PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto-dev"
 
diff --git a/meta-pegasus/recipes-kernel/linux/linux-yocto/pegasus.cfg b/meta-pegasus/recipes-kernel/linux/linux-yocto/pegasus.cfg
new file mode 100644
index 0000000..d115d06
--- /dev/null
+++ b/meta-pegasus/recipes-kernel/linux/linux-yocto/pegasus.cfg
@@ -0,0 +1,4 @@
+# Pegasus touchscreen
+CONFIG_HIDRAW=y
+CONFIG_USB_HID=y
+CONFIG_HID_PID=y
diff --git a/meta-pegasus/recipes-kernel/linux/linux-yocto_2.6.37.bbappend b/meta-pegasus/recipes-kernel/linux/linux-yocto_2.6.37.bbappend
new file mode 100644
index 0000000..3e965dd
--- /dev/null
+++ b/meta-pegasus/recipes-kernel/linux/linux-yocto_2.6.37.bbappend
@@ -0,0 +1,12 @@
+FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
+KMACHINE_pegasus = "yocto/standard/common-pc/atom-pc"
+COMPATIBLE_MACHINE_pegasus = "pegasus"
+
+# The n450 is a single core hypterthreaded CPU
+KERNEL_FEATURES_append_pegasus += " cfg/smp.scc"
+
+SRC_URI += "file://pegasus.cfg"
+
+# We use the atom-pc machine SRCREV and the default meta SRCREV
+#SRCREV_machine_pn-linux-yocto-stable_pegasus = ""
+#SRCREV_meta_pn-linux-yocto-stable_pegasus ?= ""
-- 
1.7.1





More information about the Openembedded-core mailing list