Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/modules/xo1_75/kspost.50.xo1_75-tweaks.inc
diff options
context:
space:
mode:
Diffstat (limited to 'modules/xo1_75/kspost.50.xo1_75-tweaks.inc')
-rw-r--r--modules/xo1_75/kspost.50.xo1_75-tweaks.inc55
1 files changed, 55 insertions, 0 deletions
diff --git a/modules/xo1_75/kspost.50.xo1_75-tweaks.inc b/modules/xo1_75/kspost.50.xo1_75-tweaks.inc
index 6d435c9..fbf1987 100644
--- a/modules/xo1_75/kspost.50.xo1_75-tweaks.inc
+++ b/modules/xo1_75/kspost.50.xo1_75-tweaks.inc
@@ -6,3 +6,58 @@ ln -sf /lib/systemd/system/serial-getty@.service \
mkdir -p /etc/systemd/system/runin.target.wants
ln -sf /lib/systemd/system/serial-getty@.service \
/etc/systemd/system/runin.target.wants/serial-getty@ttyS2.service
+
+# FIXME fix dove driver for F18
+cat > /usr/share/olpc-utils/xorg.conf.d/xo1.75.conf <<EOF
+# This Monitor section is (partially?) unused (#10742)
+# as no Screen section is provided, X creates a default monitor.
+# but some of these options do seem to be picked up later?
+Section "Monitor"
+ Identifier "Monitor0"
+ Option "PanelSize" "1200x900"
+
+ # FIXME: http://dev.laptop.org/ticket/9331
+ DisplaySize 152 114
+EndSection
+
+Section "Device"
+ Identifier "Videocard0"
+ Option "UseFBDev" "true"
+ # ShadowFB triggers some segfaults
+ Option "ShadowFB" "false"
+ Option "fbdev" "/dev/fb0"
+ Driver "fbdev"
+EndSection
+
+Section "Module"
+ Disable "glx"
+EndSection
+
+Section "Extensions"
+ Option "Composite" "False"
+EndSection
+
+Section "Screen"
+ Identifier "Screen0"
+ Device "Videocard0"
+ Monitor "Monitor0"
+EndSection
+
+Section "ServerLayout"
+ Identifier "Layout0"
+ Screen "Screen0"
+ Option "Damage" "False"
+EndSection
+
+# Keep these in sync across models
+Section "Extensions"
+ Option "DPMS" "off"
+EndSection
+Section "ServerFlags"
+ Option "SuspendTime" "0"
+ Option "OffTime" "0"
+ Option "BlankTime" "0"
+ Option "StandbyTime" "0"
+ Option "DontZap" "true"
+EndSection
+EOF