[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: XFree 4.0.2 ATI driver



 ... this is the config file.

 Sergio

#
# XF86Config for XFree86 version 4
# http://www.dcs.qmw.ac.uk/~sb/PowerBook/
#
# Core Keyboard at input1
# USB  Keyboard not defined
# Core Pointer  at input3 (/dev/input/mouse0)
# USB  Pointer  at input0 (/dev/input/mouse1)
# Core Screen   uses fbdev
#

# **********************************************************************
# Refer to the XF86Config(4/5) man page for details about the format
of 
# this file.
# **********************************************************************

# **********************************************************************
# Module section -- this  section  is used to specify
# which dynamically loadable modules to load.
# **********************************************************************
#
# To see what font  and  extension  modules  are  available,
# check the contents of the following directories:
#
# /usr/X11R6/lib/modules/fonts
# /usr/X11R6/lib/modules/extensions
# **********************************************************************

Section "Module"

	Load  "bitmap"   # Font Module: Bitmap Font (loaded automatically)
	Load  "freetype" # Font Module:
	Load  "speedo"   # Font Module:
	Load  "type1"    # Font Module: Type 1 Font Rasteriser

	Load  "dbe"      # Server Extension: Double Buffer
        Load  "extmod"   # Server Extension: Miscellaneous (important)
	Load  "GLcore"   # Server Extension: OpenGL ?
	Load  "glx"      # Server Extension: OpenGL Renderer
	Load  "pex5"     # Server Extension:
	Load  "record"   # Server Extension:
	Load  "xie"      # Server Extension: XIE

EndSection

# **********************************************************************
# Files section.  This allows default font and rgb paths to be set
# **********************************************************************

Section "Files"
# The location of the RGB database.  Note, this is the name of the
# file minus the extension (like ".txt" or ".db").  There is normally
# no need to change the default.

    RgbPath	"/usr/X11R6/lib/X11/rgb"

# Multiple FontPath entries are allowed (which are concatenated together),
# as well as specifying multiple comma-separated entries in one FontPath
# command (or a combination of both methods)
#
# If you don't have a floating point coprocessor and emacs, Mosaic or other
# programs take long to start up, try moving the Type1 and Speedo directory
# to the end of this list (or comment them out).

    FontPath    "unix/:-1"   # Local Font Server
#   FontPath	"/usr/X11R6/lib/X11/fonts/local/"
    FontPath	"/usr/X11R6/lib/X11/fonts/misc/"
    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/CID/"
    FontPath	"/usr/X11R6/lib/X11/fonts/Speedo/"
    FontPath	"/usr/X11R6/lib/X11/fonts/75dpi/"
    FontPath	"/usr/X11R6/lib/X11/fonts/100dpi/"
#   FontPath    "/usr/X11R6/lib/X11/fonts/freefont/"
#   FontPath    "/usr/X11R6/lib/X11/fonts/sharefont/"
    ModulePath	"/usr/X11R6/lib/modules"   # Module Search Path

EndSection

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

Section "ServerFlags"
#    Option      "blank time"    "5"
#    Option      "standby time"  "6"
#    Option      "suspend time"  "9"
#    Option      "off time"      "10"


# 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

#    Option "NoTrapSignals"

# Uncomment this to disable the <Crtl><Alt><BS> server abort sequence
# This allows clients to receive this key event.

#    Option "DontZap"

# Uncomment this to disable the <Crtl><Alt><KP_+>/<KP_-> mode switching
# sequences.  This allows clients to receive these key events.

#    Option "Dont Zoom"

# Uncomment this to disable tuning with the xvidtune client. With
# it the client can still run and fetch card and monitor attributes,
# but it will not be allowed to change them. If it tries it will
# receive a protocol error.

#    Option "DisableVidModeExtension"

# Uncomment this to enable the use of a non-local xvidtune client. 

#    Option "AllowNonLocalXvidtune"

# Uncomment this to disable dynamically modifying the input device
# (mouse and keyboard) settings. 

#    Option "DisableModInDev"

# Uncomment this to enable the use of a non-local client to
# change the keyboard or mouse settings (currently only xset).

#    Option "AllowNonLocalModInDev"

EndSection

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

# **********************************************************************
# Core keyboard's InputDevice section
# **********************************************************************

Section "InputDevice"
	Identifier  "Keyboard1"
	Driver      "keyboard"
#        Option      "XkbDisable"
#       Option "AutoRepeat" "500 5"
#       Option "XkbRules"   "xfree86"
	Option "XkbModel"   "macintosh"  # Mac style keyboard layout
#       Option "XkbModel"   "pc105"      # PC  style keyboard layout
	Option "XkbLayout"  "us"
EndSection

# **********************************************************************
# Core Pointer's InputDevice section
# **********************************************************************

# ADB Mouse (TrackPad)
Section "InputDevice"
	Identifier  "Mouse1"
	Driver      "mouse"
	Option      "Protocol" "IMPS/2"
	Option      "Device" "/dev/input/mice"
EndSection

# USB Mouse (external)
Section "InputDevice"
        Identifier  "Mouse2"
        Driver      "mouse"
        Option      "Protocol" "IMPS/2"
        Option      "Device" "/dev/input/mouse1"
        Option      "Buttons" "5"
        Option      "ZAxisMapping" "4 5"
EndSection

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

Section "Monitor"
	Identifier   "Monitor 1"
	VendorName   "Apple Computer"
	ModelName    "Lombard LCD"
        HorizSync    30-85
        VertRefresh  50-100
        Option       "dpms"

# The Mode can be obtained via "fbset -x"

EndSection

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

# Any number of graphics device sections may be present

Section "Device"
	Identifier  "ATY Mach64"
	Driver      "fbdev"
        #Option     "HWcursor"
        Option      "UseFBDev"
	BusID       "PCI:0:17:0"
EndSection

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

# Any number of screen sections may be present.  Each describes
# the configuration of a single screen.  A single specific screen section
# may be specified from the X server command line with the "-screen"
# option.

Section "Screen"
	Identifier "Screen 1"
	Device     "ATY Mach64"
	Monitor    "Monitor 1"
        DefaultDepth     24 
	SubSection "Display"
		Depth     1
		Modes "1024x768"
	EndSubSection
	SubSection "Display"
		Depth     4
		Modes "1024x768"
	EndSubSection
	SubSection "Display"
		Depth     8
		Modes "1024x768"
	EndSubSection
	SubSection "Display"
		Depth     15
		Modes "1024x768"
	EndSubSection
	SubSection "Display"
		Depth     16
		Modes "1024x768"
	EndSubSection
	SubSection "Display"
		Depth     24
		Modes "1024x768"
	EndSubSection
EndSection

# **********************************************************************
# ServerLayout sections.
# **********************************************************************

# Any number of ServerLayout sections may be present.  Each describes
# the way multiple screens are organised.  A specific ServerLayout
# section may be specified from the X server command line with the
# "-layout" option.  In the absence of this, the first section is used.
# When now ServerLayout section is present, the first Screen section
# is used alone.

Section "ServerLayout"
	Identifier     "Basic Layout"
	Screen         "Screen 1"
	InputDevice    "Mouse1" "CorePointer"
        InputDevice    "Mouse2" "SendCoreEvents"
	InputDevice    "Keyboard1" "CoreKeyboard"
EndSection



Reply to: