summaryrefslogtreecommitdiff
path: root/recipes/xorg-xserver/xserver-xorg-conf
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <marcin@juszkiewicz.com.pl>2009-11-16 14:51:56 +0100
committerMarcin Juszkiewicz <marcin@juszkiewicz.com.pl>2009-11-16 14:52:19 +0100
commitd20b32225e301d40d609106d1c055ffc84527fed (patch)
treea33edcbf0552c9d5825223512004437d78ada93b /recipes/xorg-xserver/xserver-xorg-conf
parented895c630f648d7c2aa261777c21088be7b2020a (diff)
xserver-xorg-conf: added BUG support
Diffstat (limited to 'recipes/xorg-xserver/xserver-xorg-conf')
-rw-r--r--recipes/xorg-xserver/xserver-xorg-conf/bug/xorg.conf65
1 files changed, 65 insertions, 0 deletions
diff --git a/recipes/xorg-xserver/xserver-xorg-conf/bug/xorg.conf b/recipes/xorg-xserver/xserver-xorg-conf/bug/xorg.conf
new file mode 100644
index 0000000000..8b6cd94ab6
--- /dev/null
+++ b/recipes/xorg-xserver/xserver-xorg-conf/bug/xorg.conf
@@ -0,0 +1,65 @@
+#
+# 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).
+#
+# By default software starts on 0.0 only.
+#
+
+Section "Monitor"
+ Identifier "Monitor 1"
+EndSection
+
+Section "Monitor"
+ Identifier "Monitor 2"
+EndSection
+
+Section "Device"
+ Identifier "fbdev Device 2"
+ Driver "fbdev"
+ Option "fbdev" "/dev/fb2"
+ Option "shadowfb" "true"
+EndSection
+
+Section "Device"
+ Identifier "fbdev Device 1"
+ Driver "fbdev"
+ Option "fbdev" "/dev/fb1"
+ Option "shadowfb" "true"
+EndSection
+
+Section "Screen"
+ Identifier "fbdev Screen 2"
+ Device "fbdev Device 2"
+ Monitor "Monitor 2"
+EndSection
+
+Section "Screen"
+ Identifier "fbdev Screen 1"
+ Device "fbdev Device 1"
+ Monitor "Monitor 1"
+EndSection
+
+Section "ServerLayout"
+ Identifier "Layout"
+ Screen "fbdev Screen 1"
+ Screen "fbdev Screen 2" Below "fbdev Screen 1"
+ InputDevice "ts4" "CorePointer"
+EndSection
+
+Section "InputDevice"
+ Identifier "ts5"
+ Driver "tslib"
+ Option "Device" "/dev/input/bmi_lcd_ts5"
+EndSection
+
+Section "InputDevice"
+ Identifier "ts4"
+ Driver "tslib"
+ Option "Device" "/dev/input/bmi_lcd_ts4"
+EndSection
+
+Section "ServerFlags"
+ Option "AutoAddDevices" "false"
+EndSection