Patchwork [3/3] Enabled kernel module for eGalax touch screen.

login
register
mail settings
Submitter Zhai, Edwin
Date Sept. 27, 2011, 1:04 a.m.
Message ID <f320b31bdc3dbba74e4b5d711e288042fee99a10.1317084972.git.edwin.zhai@intel.com>
Download mbox | patch
Permalink /patch/12175/
State New, archived
Headers show

Comments

Zhai, Edwin - Sept. 27, 2011, 1:04 a.m.
From: Zhai Edwin <edwin.zhai@intel.com>

Signed-off-by: Zhai Edwin <edwin.zhai@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

Patch

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 ?= ""