On Sun, Nov 07, 2010 at 02:25:11PM +0100, Martin Jansa wrote:
> Would be nice if someone with udevd installed confirms that disabling
> AutoAddDevices is enough and send patch for xorg.conf.

Here is patch to test

-- 
Martin 'JaMa' Jansa     jabber: [email protected]
>From 746c43a86fa1b505c96820396cc6b35ef2a6c708 Mon Sep 17 00:00:00 2001
From: Martin Jansa <[email protected]>
Date: Sun, 7 Nov 2010 14:59:02 +0100
Subject: [PATCH] xserver-xorg-conf: om-gta0* enable right-click emulation and 
disable AutoAddDevices

---
 .../xserver-xorg-conf/om-gta01/xorg.conf           |    7 +++++--
 .../xserver-xorg-conf/om-gta02/xorg.conf           |    4 ++++
 recipes/xorg-xserver/xserver-xorg-conf_0.1.bb      |    2 +-
 3 files changed, 10 insertions(+), 3 deletions(-)

diff --git a/recipes/xorg-xserver/xserver-xorg-conf/om-gta01/xorg.conf 
b/recipes/xorg-xserver/xserver-xorg-conf/om-gta01/xorg.conf
index 83eaa0c..5e123ae 100644
--- a/recipes/xorg-xserver/xserver-xorg-conf/om-gta01/xorg.conf
+++ b/recipes/xorg-xserver/xserver-xorg-conf/om-gta01/xorg.conf
@@ -32,11 +32,14 @@ EndSection
 
 Section "InputDevice"
        Identifier      "Touchscreen"
-       Driver          "evdev"
+       Driver          "tslib"
        Option          "Device"        "/dev/input/event1"
-       Option          "SwapAxes" "True"
+       Option          "EmulateRightButton"    "True"
 EndSection
 
+Section "ServerFlags"
+       Option          "AutoAddDevices"        "False"
+EndSection
 
 Section "ServerLayout"
         Identifier      "Default Layout"
diff --git a/recipes/xorg-xserver/xserver-xorg-conf/om-gta02/xorg.conf 
b/recipes/xorg-xserver/xserver-xorg-conf/om-gta02/xorg.conf
index 673c7d0..b27d5cc 100644
--- a/recipes/xorg-xserver/xserver-xorg-conf/om-gta02/xorg.conf
+++ b/recipes/xorg-xserver/xserver-xorg-conf/om-gta02/xorg.conf
@@ -40,8 +40,12 @@ Section "InputDevice"
        Identifier      "Touchscreen"
        Driver          "tslib"
        Option          "Device"        "/dev/input/event1"
+       Option          "EmulateRightButton"    "True"
 EndSection
 
+Section "ServerFlags"
+        Option "AutoAddDevices" "False"
+EndSection
 
 Section "ServerLayout"
         Identifier      "Default Layout"
diff --git a/recipes/xorg-xserver/xserver-xorg-conf_0.1.bb 
b/recipes/xorg-xserver/xserver-xorg-conf_0.1.bb
index a224031..25a3867 100644
--- a/recipes/xorg-xserver/xserver-xorg-conf_0.1.bb
+++ b/recipes/xorg-xserver/xserver-xorg-conf_0.1.bb
@@ -1,5 +1,5 @@
 DESCRIPTION = "Machine specific xorg.conf files"
-PR = "r36"
+PR = "r37"
 
 SRC_URI = "file://xorg.conf"
 
-- 
1.7.3.2

_______________________________________________
Shr-User mailing list
[email protected]
http://lists.shr-project.org/mailman/listinfo/shr-user

Reply via email to