blob: fbf19872e6b32bf9c2be46dbc5e73c422faf62bd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
|
# enable serial console on ttyS2
ln -sf /lib/systemd/system/serial-getty@.service \
/etc/systemd/system/getty.target.wants/serial-getty@ttyS2.service
# enable serial console for runin too
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
|