summaryrefslogtreecommitdiff
path: root/recipes
diff options
context:
space:
mode:
authorMarco Cavallini <m.cavallini@koansoftware.com>2010-03-24 10:15:30 +0100
committerMarco Cavallini <m.cavallini@koansoftware.com>2010-03-24 10:15:30 +0100
commitd10047efbbde0632bad47ac6f09286c0bb95168c (patch)
tree78d2fa89ab2e07efe140301af2680610f5c24ab9 /recipes
parent38f67c00bb332f0f0c142dc02c8c3bdfefead0f7 (diff)
mh355/xorg.conf: added xorg.conf settings for machine mh355
Diffstat (limited to 'recipes')
-rw-r--r--recipes/xorg-xserver/xserver-xorg-conf/mh355/xorg.conf47
1 files changed, 47 insertions, 0 deletions
diff --git a/recipes/xorg-xserver/xserver-xorg-conf/mh355/xorg.conf b/recipes/xorg-xserver/xserver-xorg-conf/mh355/xorg.conf
new file mode 100644
index 0000000000..4c275c9dc4
--- /dev/null
+++ b/recipes/xorg-xserver/xserver-xorg-conf/mh355/xorg.conf
@@ -0,0 +1,47 @@
+#
+# X11 configuration for Microhard MH355 device
+# (C)2010 Koan sas - www.KoanSoftware.com
+#
+
+Section "Monitor"
+ Identifier "Display"
+EndSection
+
+Section "Device"
+ Identifier "fbdevice"
+ Driver "fbdev"
+ Option "fbdev" "/dev/fb0"
+ Option "shadowfb" "true"
+EndSection
+
+Section "Screen"
+ Identifier "fbscreen"
+ Device "fbdevice"
+ Monitor "Display"
+EndSection
+
+Section "InputDevice"
+ Identifier "mh355-ts"
+ Driver "evdev"
+ Option "SwapAxes" "1"
+ Option "Device" "/dev/input/touchscreen0"
+EndSection
+
+Section "InputDevice"
+ Identifier "Generic Mouse"
+ Driver "mouse"
+ Option "CorePointer"
+EndSection
+
+Section "ServerLayout"
+ Identifier "Layout"
+ Screen "fbscreen"
+ InputDevice "mh355-ts" "CorePointer"
+# Enable mouse only if necessary, it may interfere with touchscreen behaviour
+# InputDevice "Generic Mouse"
+EndSection
+
+Section "ServerFlags"
+ Option "AutoAddDevices" "false"
+EndSection
+