# XF86Config auto-generated by XF86Setup
#
# Copyright (c) 1996 by The XFree86 Project, Inc.

#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the "Software"),
# to deal in the Software without restriction, including without limitation
# the rights to use, copy, modify, merge, publish, distribute, sublicense,
# and/or sell copies of the Software, and to permit persons to whom the
# Software is furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included in
# all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
# THE XFREE86 PROJECT BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
# WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF
# OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.
#
# Except as contained in this notice, the name of the XFree86 Project shall
# not be used in advertising or otherwise to promote the sale, use or other
# dealings in this Software without prior written authorization from the
# XFree86 Project.
#

# See 'man XF86Config' for info on the format of this file

# This XF86Config file is designed for use with the Linux framebuffer console.
# This generic interface should work with nearly all video cards (although
# not every card will support every resolution).  To use the Linux framebuffer
# console, you need to enable these kernel options:
# Using 'make menuconfig', in 'console drivers', enable:
#   [*] VGA text console
#   [*] Video mode selection support
#   [*] Support for frame buffer devices (EXPERIMENTAL)
#   [*] VESA VGA graphics console
#   [*] Advanced low level driver options
#   <*> 8 bpp packed pixels support 
#   <*> 16 bpp packed pixels support 
#   <*> 24 bpp packed pixels support 
#   <*> 32 bpp packed pixels support 
#   <*> VGA characters/attributes support
#   [*] Select compiled-in fonts
#   [*]   VGA 8x8 font
#   [*]   VGA 8x16 font
# If you have a Matrox or ATI Mach64, you might try enabling the options having
# to do with those cards as well.  However, if the card is VESA compliant, you
# don't really need to (and it might cause problems, possibly)
#
# To get the kernel to start in VESA framebuffer mode, you need to pass it
# a vga= init string at boot time.  For example, if you use LILO you'll 
# probably find a vga=normal string in your /etc/lilo.conf.  If you edit that
# to one of the values in this table:
#
#   Colours   640x480 800x600 1024x768 1280x1024 1600x1200
#  --------+---------------------------------------------
#  256     |   769     771      773      775       796
#  32,768  |   784     787      790      793       797
#  65,536  |   785     788      791      794       798
#  16.8M   |   786     789      792      795       799
#
#  ...such as this for 1024x768x64k:
#  vga = 791
#  and then reinstall LILO by running 'lilo' as root, then at the next boot
#  Linux should start in a VESA framebuffer console mode.
#
# For more information on how to activate the Linux frame buffer, see
# /usr/src/linux/Documentation/fb/vesafb.txt, and the mini HOWTO 'Vesafb'.
# This can be found at ftp://ftp.cdrom.com/pub/linux/slackware/docs/mini/Vesafb
#
# Enjoy! :)
# -- volkerdi@slackware.com
#   

Section "Files"
   RgbPath    "/usr/X11R6/etc/rgb"
   FontPath   "/usr/X11R6/lib/X11/fonts/misc:unscaled"
   FontPath   "/usr/X11R6/lib/X11/fonts/75dpi:unscaled"
   FontPath   "/usr/X11R6/lib/X11/fonts/100dpi:unscaled"
   FontPath   "/usr/X11R6/lib/X11/fonts/Type1"
   FontPath   "/usr/X11R6/lib/X11/fonts/Speedo"
EndSection

Section "ServerFlags"
EndSection

Section "Keyboard"
   Protocol        "Standard"
   AutoRepeat      500 30
   #LeftAlt         Meta
   #RightAlt        Meta
   #ScrollLock      Compose
   #RightCtl        Control
   XkbDisable
   XkbKeyMap       "xfree86(us)"
   #XkbKeycodes     "xfree86"
   #XkbTypes        "default"
   #XkbCompat       "default"
   #XkbSymbols      "us(pc101)"
   #XkbGeometry     "pc"
   #XkbRules        "xfree86"
   #XkbModel        "pc104"
   #XkbLayout       "us"
EndSection

Section "Pointer"
# The available mouse protocols types that you can set below are: 
#    Auto BusMouse GlidePoint GlidePointPS/2 IntelliMouse IMPS/2
#    Logitech Microsoft MMHitTab MMSeries Mouseman MouseManPlusPS/2
#    MouseSystems NetMousePS/2 NetScrollPS/2 OSMouse PS/2 SysMouse
#    ThinkingMouse ThinkingMousePS/2 Xqueue
   Protocol        "Microsoft"
# On Linux, /dev/mouse is usually a link to the real mouse device.  This is
# generally the PS/2 mouse device /dev/psaux, or one of the serial ports
# such as /dev/ttyS0 or /dev/ttyS1.  If /dev/mouse isn't working, you can try
# relinking it to one of the other mouse devices, or using one of these
# devices directly.  If your mouse needs a kernel module, you might also look
# at /etc/rc.d/rc.modules to make sure it's getting loaded at boot time.
#   Device          "/dev/mouse"
#   Device          "/dev/psaux"
   Device          "/dev/ttyS0"
#   Device          "/dev/ttyS1"
   Emulate3Timeout 50
   Resolution      100
   Buttons         3
   Emulate3Buttons
EndSection

Section "Monitor"
   Identifier      "Primary Monitor"
   VendorName      "Unknown"
   ModelName       "Unknown"
   HorizSync       31.5-48.5
   VertRefresh     55-90
EndSection

Section "Device"
   Identifier      "Primary Card"
EndSection

Section "Screen"
   Driver          "FBDev"
   Device          "Primary Card"
   Monitor         "Primary Monitor"
   SubSection "Display"
# This must match the display depth you're using for your framebuffer console.
# If it doesn't, you'll get this error when you try to run 'startx':
#   Fatal server error:
#   fbdevScreenInit: unable to set screen params (Invalid argument)
# If that happens, try one of the other color depth choices.
# Uncommment one of the choices below:
#      Depth        8
      Depth        16
#      Depth        24
#      Depth        32
      Modes        "default"
   EndSubSection
EndSection

