Configuring X on an ATest board
Jump to navigation
Jump to search
Attempting to run build 303 (and possibly others) on an ATest board will result in a loop of failed X server invocations. You can fix this by configuring a custom xorg.conf file. Put a file similar to the following one in /etc/X11/xorg.conf.
Section "ServerLayout" Identifier "Default Layout" Screen 0 "Screen0" 0 0 InputDevice "Keyboard0" "CoreKeyboard" EndSection Section "ServerFlags" Option "AllowMouseOpenFail" "yes" EndSection Section "InputDevice" Identifier "Keyboard0" Driver "kbd" Option "XkbModel" "pc105" Option "XkbLayout" "us" EndSection Section "Device" Identifier "Videocard0" Driver "fbdev" EndSection Section "Modes" Identifier "Modes[0]" Modeline "1280x1024" 108.00 1280 1328 1440 1688 1024 1025 1028 1066 EndSection Section "Monitor" DisplaySize 338 270 Identifier "Monitor[0]" VendorName "NEC" ModelName "NEC LCD1770GX" HorizSync 30-81 VertRefresh 43-75 UseModes "Modes[0]" Option "DPMS" EndSection Section "Screen" Identifier "Screen0" Device "Videocard0" Monitor "Monitor[0]" DefaultDepth 16 SubSection "Display" Viewport 0 0 Depth 16 Modes "1280x1024" EndSubSection EndSection
Then in order to prohibit the configuration script from overwriting the file run the following command:
touch /.olpc-configured