aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2007-12-17 22:24:17 +0000
committerJohn Crispin <blogic@openwrt.org>2007-12-17 22:24:17 +0000
commitd6ff64c32375a3f28717dd2ed6e61d3058be6f62 (patch)
tree5c210cf61efa2c3c3191a3c0a70136b9db71ce43 /target/linux
parenta66d1b5f4846c6465ba324be8f7b21131e3867f8 (diff)
downloadmaster-187ad058-d6ff64c32375a3f28717dd2ed6e61d3058be6f62.tar.gz
master-187ad058-d6ff64c32375a3f28717dd2ed6e61d3058be6f62.tar.bz2
master-187ad058-d6ff64c32375a3f28717dd2ed6e61d3058be6f62.zip
added olpc xorg config
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9791 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux')
-rw-r--r--target/linux/olpc/base-files/etc/X11/xorg.conf71
1 files changed, 71 insertions, 0 deletions
diff --git a/target/linux/olpc/base-files/etc/X11/xorg.conf b/target/linux/olpc/base-files/etc/X11/xorg.conf
new file mode 100644
index 0000000000..d98a8f87a5
--- /dev/null
+++ b/target/linux/olpc/base-files/etc/X11/xorg.conf
@@ -0,0 +1,71 @@
+# xorg configuration
+
+Section "ServerLayout"
+ Identifier "Default Layout"
+ Screen 0 "Screen0" 0 0
+ InputDevice "Mouse0" "CorePointer"
+ InputDevice "Keyboard0" "CoreKeyboard"
+EndSection
+
+Section "Files"
+ FontPath "/usr/lib/X11/fonts/misc"
+EndSection
+
+Section "Module"
+ Load "dbe"
+ Load "extmod"
+ Load "fbdevhw"
+# Load "glx"
+ Load "record"
+ Load "freetype"
+ Load "type1"
+EndSection
+
+Section "InputDevice"
+ Identifier "Keyboard0"
+ Driver "keyboard"
+ Option "XkbModel" "pc105"
+ Option "XkbLayout" "us"
+EndSection
+
+Section "InputDevice"
+ Identifier "Mouse0"
+ Driver "mouse"
+ Option "Protocol" "PS/2"
+ Option "Device" "/dev/psaux"
+ Option "ZAxisMapping" "4 5"
+ Option "Emulate3Buttons" "yes"
+EndSection
+
+Section "Monitor"
+ Identifier "Monitor0"
+ VendorName "Monitor Vendor"
+ ModelName "OWRT"
+ Option "dpms"
+EndSection
+
+Section "Device"
+ Identifier "FBDev"
+ Driver "fbdev"
+ #Option "shadowfb" "off"
+ VideoRam 4096
+EndSection
+
+Section "Screen"
+ Identifier "Screen0"
+ Device "FBDev"
+ Monitor "Monitor0"
+ DefaultDepth 16
+
+ SubSection "Display"
+ Depth 16
+ Modes "1200x900-75"
+ EndSubsection
+
+EndSection
+
+Section "DRI"
+ Group 0
+ Mode 0666
+EndSection
+