
Section "ServerLayout"
#	Screen         "Screen at Device1" 0 0
	Identifier     "Default Layout"
	Screen         "Screen at Device0" 0 0
	InputDevice    "mouse0" "CorePointer"
	InputDevice    "Keyboard1" "CoreKeyboard"
	Option         "AIGLX" "true"
EndSection

Section "Files"
	FontPath     "unix/:-1"
EndSection

Section "Module"
    Load  "dbe"
    Load  "glx"
    Load  "dri"
    Load  "type1"
    Load  "freetype"
    SubSection "extmod"
	Option      "omit xfree86-dga"
    EndSubSection
    Load	"i2c"
    Load	"xglx"
EndSection

Section "InputDevice"
	Identifier  "Keyboard1"
	Driver      "kbd"
	Option	    "AutoRepeat" "250 30"
	Option	    "XkbModel" "pc105"
	Option	    "XkbVariant" ",winkeys"
	Option	    "XkbLayout" "us,ru"
	Option	    "XkbOptions" "grp:ctrl_shift_toggle"
EndSection

Section "InputDevice"
	Identifier  "mouse0"
	Driver      "mouse"
	Option	    "Device" "/dev/input/mice"
	#"ImPS/2 Generic Wheel Mouse"
	Option	    "Protocol" "IMPS/2"
	Option	    "ZAxisMapping" "4 5"
EndSection

Section "Monitor"
	Identifier   "Monitor at Device0|0"
	DisplaySize  320	240
EndSection

Section "Device"
	Identifier  "Device0|0"
	Driver      "ati"
#	Driver      "radeon"
#	Driver      "fglrx"
	BusID 	"PCI:1:0:0"
	Option "XAANoOffscreenPixmaps"
	Option "DPMS"         "on"
	Option "AGPMode"      "8"
	Option "AGPFastWrite" "on"
	Option "RenderAccel" "true"
	Option "AllowGLXWithComposite" "true"
EndSection

Section "Screen"
	Identifier "Screen at Device0"
	Device     "Device0|0"
	Monitor    "Monitor at Device0|0"
	DefaultDepth     16
	SubSection "Display"
		Depth     8
		Modes    "1024x768" "1024x736" "1024x600" "960x720" "848x480" "832x624" "800x600" "720x576" "640x480"
	EndSubSection
	SubSection "Display"
		Depth     16
		Modes    "1024x768" "1024x736" "1024x600" "960x720" "848x480" "832x624" "800x600" "720x576" "640x480"
	EndSubSection
	SubSection "Display"
		Depth     24
		Modes    "1024x768" "1024x736" "1024x600" "960x720" "848x480" "832x624" "800x600" "720x576" "640x480"
	EndSubSection
	SubSection "Display"
		Depth     32
		Modes    "1024x768" "1024x736" "1024x600" "960x720" "848x480" "832x624" "800x600" "720x576" "640x480"
	EndSubSection
EndSection

Section "DRI"
	Mode         0666
EndSection

Section "ServerFlags"
    AllowMouseOpenFail
EndSection

Section "Extensions"
    Option "Composite" "Enable"
EndSection
