Patchwork [2/3] Config xorg.conf with eGalax touchscreen input driver

login
register
mail settings
Submitter Zhai, Edwin
Date Sept. 27, 2011, 1:04 a.m.
Message ID <0353223ac45e2a44a70cccfde18387b21aacfe28.1317084972.git.edwin.zhai@intel.com>
Download mbox | patch
Permalink /patch/12177/
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>
---
 .../xserver-xf86-config/pegasus/xorg.conf          |   10 ++++++++++
 .../xorg-xserver/xserver-xf86-config_0.1.bbappend  |    2 ++
 2 files changed, 12 insertions(+), 0 deletions(-)

Patch

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"
+