# File generated by XFdrake.

# **********************************************************************
# Refer to the XF86Config man page for details about the format of
# this file.
# **********************************************************************

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.
    FontPath "unix/:-1"
EndSection

Section "ServerFlags"
    #DontZap # disable <Crtl><Alt><BS> (server abort)
    #DontZoom # disable <Crtl><Alt><KP_+>/<KP_-> (resolution switching)
    AllowMouseOpenFail # allows the server to start up even if the mouse doesn't work
    #Option "Xinerama" "on"
EndSection

Section "Module"
    Load "dbe" # Double-Buffering Extension
    Load "v4l" # Video for Linux
    Load "extmod"
    Load "type1"
    Load "freetype"
    Load "glx" # 3D layer
    Load "dri" # direct rendering
EndSection

Section "DRI"
    Mode 0666
EndSection

Section "InputDevice"
    Identifier "Keyboard1"
    Driver "Keyboard"
    Option "XkbModel" "pc105"
    Option "XkbLayout" "en_US"
    Option "XkbOptions" ""
EndSection

Section "InputDevice"
    Identifier "synaptics"
    Driver "synaptics"
    Option "Protocol" "auto-dev"
    Option "Device" "/dev/psaux"
    Option "MaxSpeed" "0.12"
    Option "MinSpeed" "0.06"
    Option "BottomEdge" "4200"
    Option "SHMConfig" "on"
    # Option	"Repeater"	"/dev/ps2mouse"
    Option "LeftEdge" "1700"
    Option "FingerLow" "25"
    Option "MaxTapTime" "180"
    Option "MaxTapMove" "220"
    Option "FingerHigh" "30"
    Option "VertScrollDelta" "100"
    Option "TopEdge" "1700"
    Option "RightEdge" "5300"
    Option "AccelFactor" "0.0010"
EndSection

Section "InputDevice"
    Identifier "Mouse1"
    Driver "mouse"
    Option "Protocol" "IMPS/2"
    Option "Device" "/dev/input/mice"
    Option "ZAxisMapping" "4 5"
EndSection

Section "Monitor"
    Identifier "laptopmonitor"
    VendorName "Dell"
    ModelName "Dell 1400x1050 Laptop Display Panel"
    HorizSync 31.5-90.0
    VertRefresh 59.0-75.0
    
    # Sony Vaio C1(X,XS,VE,VN)?
    # 1024x480 @ 85.6 Hz, 48 kHz hsync
    ModeLine "1024x480"    65.00 1024 1032 1176 1344   480  488  494  563 -hsync -vsync
    
    # TV fullscreen mode or DVD fullscreen output.
    # 768x576 @ 79 Hz, 50 kHz hsync
    ModeLine "768x576"     50.00  768  832  846 1000   576  590  595  630
    
    # 768x576 @ 100 Hz, 61.6 kHz hsync
    ModeLine "768x576"     63.07  768  800  960 1024   576  578  590  616
EndSection

Section "Monitor"
    Identifier "external"
    HorizSync 30-80
    VertRefresh 56-76
EndSection

Section "Device"
    Identifier "device1"
    VendorName "ATI"
    BoardName "ATI Radeon"
    Driver "radeon"
    Screen 0
    BusID "PCI:01:00:0"
    Option "DPMS"
EndSection

Section "Device"
    Identifier "device2"
    VendorName "ATI"
    BoardName "ATI Radeon"
    Driver "radeon"
    Screen 1
    BusID "PCI:01:00:0"
    Option "DPMS"
EndSection

Section "Screen"
    Identifier "laptoplcd"
    Device "device1"
    Monitor "laptopmonitor"
    DefaultColorDepth 16
    
    Subsection "Display"
        Depth 8
        Virtual 1024 768
    EndSubsection
    
    Subsection "Display"
        Depth 15
        Virtual 1024 768
    EndSubsection
    
    Subsection "Display"
        Depth 16
        #Modes "1280x1024"
        Modes "1024x768"
    EndSubsection
    
    Subsection "Display"
        Depth 24
        Virtual 1024 768
    EndSubsection
EndSection

Section "Screen"
    Identifier "screen2"
    Device "device2"
    Monitor "external"
    DefaultColorDepth 16
    
    Subsection "Display"
        Depth 16
        Modes "1280x1024"
    EndSubsection
EndSection

Section "ServerLayout"
    Identifier "layout1"
    InputDevice "Keyboard1" "CoreKeyboard"
    InputDevice "synaptics" "CorePointer"
    InputDevice "Mouse1" "AlwaysCore"
    Screen 0 "laptoplcd"
    Screen 1 "screen2" LeftOf "screen1"
EndSection
