# Copied from
# $XFree86: xc/programs/Xserver/hw/xfree86/XF86Conf.cpp,v 3.29.2.2 1998/11/04 15:19:01 hohndel Exp $
# and stripped down for the lizard
#
# Copyright (c) 1994 by The XFree86 Project, Inc.
# and copyright (c) 1999 Caldera.

Section "Files"

RgbPath		"/lizard/share/apps/lizard/rgb"
FontPath 	"/usr/X11R6/lib/X11/fonts/TrueType"
FontPath	"/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
FontPath	"/usr/X11R6/lib/X11/fonts/Type1/"
FontPath	"/usr/X11R6/lib/X11/fonts/misc/"


EndSection

Section "ServerFlags"

    DontZap

# should the lizard allow switching to other VTs?
#    DontZoom

DisableVidModeExtension

# lizard needs this:
#	DisableModInDev
AllowNonLocalModInDev

# lizard needs to start up without a mouse
AllowMouseOpenFail

EndSection

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

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

Section "Keyboard"

    Protocol	"Standard"
    XkbRules    "xfree86"
    XkbModel    "pc101"
    XkbLayout   "us"

# when using XQUEUE, comment out the above line, and uncomment the
# following line

#    Protocol	"Xqueue"

    AutoRepeat	500 5

EndSection


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

Section "Pointer"

    Protocol	"PS/2"
    ZAxisMapping 4 5
    Device	"/tmp/lizard-mouse-link"

EndSection

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

# Any number of monitor sections may be present

Section "Monitor"

    Identifier	"Generic Monitor"
    VendorName	"Unknown"
    ModelName	"Unknown"

# 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.

    HorizSync   31.5  # typical for a single frequency fixed-sync monitor

#    HorizSync	30-64         # multisync
#    HorizSync	31.5, 35.2    # multiple fixed sync frequencies
#    HorizSync	15-25, 30-50  # multiple ranges of sync frequencies

# 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.

    VertRefresh 60  # typical for a single frequency fixed-sync monitor

#    VertRefresh	50-100        # multisync
#    VertRefresh	60, 65        # multiple fixed sync frequencies
#    VertRefresh	40-50, 80-100 # multiple ranges of sync frequencies

# Modes can be specified in two formats.  A compact one-line format, or
# a multi-line format.

# A generic VGA 640x480 mode (hsync = 31.5kHz, refresh = 60Hz)
# These two are equivalent

#    ModeLine "640x480" 25.175 640 664 760 800 480 491 493 525

    Mode "640x480"
        DotClock	25.175
        HTimings	640 664 760 800
        VTimings	480 491 493 525
    EndMode

EndSection

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

# Any number of graphics device sections may be present

Section "Device"
    Identifier	"Generic VGA"
    VendorName	"Unknown"
    BoardName	"Unknown"
    Chipset	"generic"
#    VideoRam	256
    Clocks	25.175
EndSection

Section "Device"
    # SVGA server auto-detected chipset
    Identifier	"Generic SVGA"
    VendorName	"Unknown"
    BoardName	"Unknown"
EndSection

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

# The 16-colour VGA server

Section "Screen"
    Driver	"vga16"
    Device	"Generic VGA"
    Monitor	"Generic Monitor"
    Subsection "Display"
        Modes	    "640x480"
    EndSubsection
EndSection

# The colour SVGA server

Section "Screen"
    Driver	"svga"
    Device	"Generic SVGA"
    Monitor	"Generic Monitor"
    Subsection "Display"
        Depth	    24
        Modes	    "640x480"
    EndSubsection
    Subsection "Display"
        Depth	    8
        Modes	    "640x480"
    EndSubsection
    Subsection "Display"
        Depth	    16
        Modes	    "640x480"
    EndSubsection
EndSection


# The accellerated servers

Section "Screen"
    Driver	"accel"
    Device	"Generic SVGA"
    Monitor	"Generic Monitor"
    Subsection "Display"
        Depth	    24
        Modes	    "640x480"
    EndSubsection
    Subsection "Display"
        Depth	    8
        Modes	    "640x480"
    EndSubsection
    Subsection "Display"
        Depth	    16
        Modes	    "640x480"
    EndSubsection
EndSection


# The framebuffer server

Section "Screen"
    Driver	"fbdev"
    Device      "Generic SVGA"
    Monitor	"Generic Monitor"
    DefaultColorDepth 16
    Subsection "Display"
        Depth	    24
        Modes	    "default"
    EndSubsection
    Subsection "Display"
        Depth	    8
        Modes	    "default"
    EndSubsection
    Subsection "Display"
        Depth	    16
        Modes	    "default"
    EndSubsection
EndSection

