[OE-core] [PATCH 2/3] Config xorg.conf with eGalax touchscreen input driver

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


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

Signed-off-by: Zhai Edwin <edwin.zhai at intel.com>
---
 .../xserver-xf86-config/pegasus/xorg.conf          |   10 ++++++++++
 .../xorg-xserver/xserver-xf86-config_0.1.bbappend  |    2 ++
 2 files changed, 12 insertions(+), 0 deletions(-)

diff --git a/meta-pegasus/recipes-graphics/xorg-xserver/xserver-xf86-config/pegasus/xorg.conf b/meta-pegasus/recipes-graphics/xorg-xserver/xserver-xf86-config/pegasus/xorg.conf
index e18b911..634d9ad 100644
--- a/meta-pegasus/recipes-graphics/xorg-xserver/xserver-xf86-config/pegasus/xorg.conf
+++ b/meta-pegasus/recipes-graphics/xorg-xserver/xserver-xf86-config/pegasus/xorg.conf
@@ -18,9 +18,19 @@ EndSection
 Section "ServerLayout"
     Identifier    "Default Layout"
     Screen        "Default Screen"
+    InputDevice   "EETI" "SendCoreEvents"
 EndSection
 
 Section "ServerFlags"
     Option        "DontZap"  "0"
     Option	  "AutoAddDevices" "False"
 EndSection
+
+### eGalax Touch Configuration ###
+Section "InputDevice"
+        Identifier "EETI"
+        Driver "egalax"
+        Option "Device" "hidraws"
+        Option "Parameters" "/var/lib/eeti.param"
+        Option "ScreenNo" "0"
+EndSection
diff --git a/meta-pegasus/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend b/meta-pegasus/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend
index 4b8d0e6..fb6e1e2 100644
--- a/meta-pegasus/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend
+++ b/meta-pegasus/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend
@@ -1,3 +1,5 @@
 THISDIR := "${@os.path.dirname(bb.data.getVar('FILE', d, True))}"
 FILESPATH =. "${@base_set_filespath(["${THISDIR}/${PN}"], d)}:"
 
+RDEPENDS += "xf86-input-egalax"
+
-- 
1.7.1





More information about the Openembedded-core mailing list