
# File generated by XFdrake.
# **********************************************************************
# Refer to the XF86Config(4/5) man page for details about the format of
# this file.
# **********************************************************************
# **********************************************************************
# Any number of monitor sections may be present
# **********************************************************************

Section "ServerLayout"
	Identifier     "layout1"
	Screen         "screen1" 0 0
	InputDevice    "Mouse1" "CorePointer"
	InputDevice    "Keyboard1" "CoreKeyboard"
EndSection

Section "Files"

# Multiple FontPath entries are allowed (they are concatenated together)
# By default, Mandrake 6.0 and later now use a font server independent of
# the X server to render fonts.
	RgbPath      "/usr/X11R6/lib/X11/rgb"
	FontPath     "unix/:-1"
EndSection

Section "Module"

# This loads the DBE extension module.
	Load  "dbe"

# This loads the miscellaneous extensions module, and disables
# initialisation of the XFree86-DGA extension within that module.
    SubSection  "extmod"
      Option    "omit xfree86-dga"   # don't initialise the DGA extension
    EndSubSection

# This loads the Type1 and FreeType font modules
	Load  "type1"
	Load  "freetype"

# This loads the GLX module
    #Load        "radeon_dri"
    Load        "dri"   # libdri.a
    Load        "glx"   # libglx.a

EndSection

# **********************************************************************
# Server flags section.
# **********************************************************************

Section "ServerFlags"

    # Uncomment this to cause a core dump at the spot where a signal is
    # received.  This may leave the console in an unusable state, but may
    # provide a better stack trace in the core dump to aid in debugging
    #NoTrapSignals
    # Uncomment this to disable the <Crtl><Alt><BS> server abort sequence
    # This allows clients to receive this key event.
    #DontZap
    # Uncomment this to disable the <Crtl><Alt><KP_+>/<KP_-> mode switching
    # sequences.  This allows clients to receive these key events.
    #DontZoom
    # This  allows  the  server  to start up even if the
    # mouse device can't be opened/initialised.
	Option	    "allowmouseopenfail"
EndSection

# **********************************************************************
# Input devices
# **********************************************************************

# **********************************************************************
# Keyboard section
# **********************************************************************

Section "InputDevice"
	Identifier  "Keyboard1"
	Driver      "kbd"
	Option	    "AutoRepeat" "250 30"
	Option	    "XkbModel" "pc105"
	Option	    "XkbLayout" "us,ru"
	Option	    "XkbOptions" "grp:ctrl_toggle,grp:switch,grp_led:scroll"
EndSection

# **********************************************************************
# Pointer section
# **********************************************************************

Section "InputDevice"

#    Option "Emulate3Timeout"    "50"
#    Option "ChordMiddle"
	Identifier  "Mouse1"
	Driver      "mouse"
	Option	    "Protocol" "IMPS/2"
	Option	    "Device" "/dev/psaux"
#    Option "Emulate3Buttons"
	Option	    "ZAxisMapping" "4 5"
# ChordMiddle is an option for some 3-button Logitech mice
EndSection

# **********************************************************************
# Monitor section
# **********************************************************************

Section "Monitor"

# VertRefresh is in Hz unless units are specified.
# VertRefresh may be a comma separated list of discrete values, or a
# comma separated list of ranges of values.
# NOTE: THE VALUES HERE ARE EXAMPLES ONLY.  REFER TO YOUR MONITOR'S
# USER MANUAL FOR THE CORRECT NUMBERS.
# This is a set of extended mode timings typically used for laptop,
# TV fullscreen mode or DVD fullscreen output.
# These are available along with standard mode timings.
# Sony Vaio C1(X,XS,VE,VN)?
# 1024x480 @ 85.6 Hz, 48 kHz hsync
	Identifier   "Mitsubishi|Mitsubishi Diamond Pro 750SB"
	VendorName   "Mitsubishi"
	ModelName    "Diamond Pro 750SB"
	DisplaySize  315	236
	HorizSync    30.0 - 96.0
	VertRefresh  50.0 - 160.0
	ModeLine     "1024x480" 65.0 1024 1032 1176 1344 480 488 494 563 -hsync -vsync
	ModeLine     "768x576" 50.0 768 832 846 1000 576 590 595 630
	ModeLine     "768x576" 63.1 768 800 960 1024 576 578 590 616
	Option	    "DPMS"
# HorizSync is in kHz unless units are specified.
# HorizSync may be a comma separated list of discrete values, or a
# comma separated list of ranges of values.
# NOTE: THE VALUES HERE ARE EXAMPLES ONLY.  REFER TO YOUR MONITOR'S
# USER MANUAL FOR THE CORRECT NUMBERS.
EndSection

# **********************************************************************
# Graphics device section
# **********************************************************************

Section "Device"
	Identifier  "Generic VGA"
	Driver      "vga"
EndSection

Section "Device"

    #ChipId      0x4e44
	#ChipID 0x4E44
    # Clock lines
    # Uncomment following option if you see a big white block
    # instead of the cursor!
    #    Option      "sw_cursor"
	Identifier  "ATI Radeon 9600"
	Driver      "ati"
	#Driver      "radeon"
	VendorName  "ATI"
	BoardName   "Sapphere Radeon 9600 Pro"
	Option	    "DPMS" "on"
	Option		"AGPFastWrite"	"on"
	Option		"RenderAccel" "on"

	Option  "AGPMode"  "4"
EndSection

# **********************************************************************
# Screen sections
# **********************************************************************

Section "Screen"
	Identifier "screen1"
	Device     "ATI Radeon 9600"
	Monitor    "Mitsubishi|Mitsubishi Diamond Pro 750SB"
	DefaultDepth     24
	SubSection "Display"
		Viewport   0 0
		Depth     8
		Modes    "1600x1200" "1400x1050" "1280x864" "1152x864" "1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     16
		Modes    "1600x1200" "1400x1050" "1280x864" "1152x864" "1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     24
		Modes    "1600x1200" "1400x1050" "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480"
	EndSubSection
EndSection

# **********************************************************************
# DRI Section
# **********************************************************************

Section "DRI"
# Access to OpenGL ICD is allowed for all users:
	Mode 0666
# Access to OpenGL ICD is restricted to a specific user group:
#    Group -1    # dri
#	Group        0
EndSection


