[oe-commits] Denis 'Gnutoo' Carikli : xserver-xorg-conf: improved buglabs's bug device' s xorg.conf

git version control git at git.openembedded.org
Thu Dec 17 23:34:34 UTC 2009


Module: openembedded.git
Branch: org.openembedded.dev
Commit: d4c00c4ffd291e70dd6d44372a84ec42e6e6ec1e
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=d4c00c4ffd291e70dd6d44372a84ec42e6e6ec1e

Author: Denis 'Gnutoo' Carikli <GNUtoo at no-log.org>
Date:   Thu Dec 17 23:46:04 2009 +0100

xserver-xorg-conf: improved buglabs's bug device's xorg.conf

*each screen has now its respective tslib input device
*added usb keyboard support

---

 .../xorg-xserver/xserver-xorg-conf/bug/xorg.conf   |   16 +++++++++++++---
 1 files changed, 13 insertions(+), 3 deletions(-)

diff --git a/recipes/xorg-xserver/xserver-xorg-conf/bug/xorg.conf b/recipes/xorg-xserver/xserver-xorg-conf/bug/xorg.conf
index 8b6cd94..cf684ec 100644
--- a/recipes/xorg-xserver/xserver-xorg-conf/bug/xorg.conf
+++ b/recipes/xorg-xserver/xserver-xorg-conf/bug/xorg.conf
@@ -2,9 +2,10 @@
 # Initial version of X11 configuration for BugLabs BUG device.
 #
 # Up to 2 LCD modules are supported (as DISPLAY=0.0/0.1).
-# Touchscreen on first screen works properly (req tslib 0.0.6 driver).
+# Touchscreen on both screen works properly (req tslib 0.0.6 driver).
 #
-# By default software starts on 0.0 only.
+# Mouse is not supported yet because the evdev driver need a precise
+# dev node and evdev dev nodes are somewhat random
 #
 
 Section "Monitor"
@@ -45,19 +46,28 @@ Section "ServerLayout"
         Identifier      "Layout"
         Screen  "fbdev Screen 1"
         Screen  "fbdev Screen 2" Below "fbdev Screen 1"
-	InputDevice "ts4" "CorePointer"
+        InputDevice "ts4"
+        InputDevice "ts5"
+        InputDevice "Keyboard"
 EndSection
 
 Section "InputDevice"
     Identifier "ts5"
     Driver "tslib"
     Option "Device" "/dev/input/bmi_lcd_ts5"
+    Option "ScreenNumber"  "1"
 EndSection
 
 Section "InputDevice"
     Identifier "ts4"
     Driver "tslib"
     Option "Device" "/dev/input/bmi_lcd_ts4"
+    Option "ScreenNumber"  "0"
+EndSection
+
+Section "InputDevice"
+	Identifier  "Keyboard"
+	Driver      "kbd"
 EndSection
 
 Section "ServerFlags"





More information about the Openembedded-commits mailing list