ATI Technologies Radeon Mobility M7 LW [Radeon Mobility 7500] xorg.conf

Sunday, 08/02/2009 ≅20:06 ©brainycat
# File generated by xf86config.

#
# Copyright (c) 1999 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.
#

# **********************************************************************
# 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.
# **********************************************************************
Section "Module"
    Load       "glx"
    Load       "dri"
    Load       "dbe"
    Load       "GLcore"
    Load       "extmod"
    Load       "vbe"
    SubSection  "extmod"
      Option    "omit xfree86-dga"   # don't initialise the DGA extension
    EndSubSection
    Load        "type1"
    Load        "freetype"
    #Load        "speedo"
EndSection

# **********************************************************************
# Files section.  This allows default font and rgb paths to be set
# **********************************************************************
Section "Files"
    RgbPath	"/usr/share/X11/rgb"
    FontPath   "/usr/share/fonts/misc/"
    FontPath   "/usr/share/fonts/TTF/"
    FontPath   "/usr/share/fonts/TTF-RTM/ttf/"
    FontPath   "/usr/share/fonts/TTF-RTM/freetype/"
    FontPath   "/usr/share/fonts/Type1/"
    FontPath   "/usr/share/fonts/Speedo/"
    FontPath   "/usr/share/fonts/75dpi/:unscaled"
    FontPath   "/usr/share/fonts/100dpi/:unscaled"
    FontPath   "/usr/share/fonts/75dpi/"
    FontPath   "/usr/share/fonts/100dpi/"
    FontPath   "/usr/share/fonts/cyrillic/"
#    FontPath   "/usr/share/fonts/local/"
#    FontPath   "/usr/share/fonts/CID/"
#    FontPath   "/usr/share/fonts/OTF/"
    ModulePath "/usr/lib/xorg/modules"
EndSection

# **********************************************************************
# Server flags section.
# **********************************************************************
Section "ServerFlags"
    Option      "blank time"    "10"    # 10 minutes
    Option      "standby time"  "20"
    Option      "suspend time"  "30"
    Option      "off time"      "60"
EndSection

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

# **********************************************************************
# Core keyboard's InputDevice section
# **********************************************************************
Section "InputDevice"
    Identifier	"Keyboard1"
    Driver	"kbd"
    Option     "AutoRepeat"    "500 500"
    Option     "XkbModel"      "pc102"
    Option     "XkbRules"      "xorg"
    Option     "XkbLayout"     "us"
#    Option     "XkbOptions"    "ctrl:swapcaps"
#    Option     "XkbOptions"    ""
EndSection

# **********************************************************************
# Core Pointer's InputDevice section
# **********************************************************************
Section "InputDevice"
    Identifier	"Mouse1"
    Driver	"mouse"
    Option "Protocol"    "auto"
    Option "Buttons"     "5"
    Option "ZAxisMapping"  "4 5"
    Option "CorePointer"
    Option "SendCoreEvents" "true"
EndSection

Section "InputDevice"
	Identifier "Touchpad"
	Driver "synaptics"
	Option "SHMConfig" "true"
	Option "Protocol" "auto-dev"
	Option "LeftEdge" "1900"
	Option "RightEdge" "5400"
	Option "TopEdge" "1900"
	Option "BottomEdge" "4000"
	Option "FingerLow" "40"
	Option "FingerHigh" "50"
	Option "MaxTapTime" "180"
	Option "MaxTapMove" "220"
	Option "MaxDoubleTapTime" "180"
	Option "ClickTime" "50"
	Option "EmulateMidButtonTime" "75"
	Option "VertScrollDelta" "70"
	Option "HorizScrollDelta" "0"
	Option "MinSpeed" "0.03"
	Option "MaxSpeed" "0.12"
	Option "AccelFactor" "0.03"
	Option "EdgeMotionMinZ" "30"
	Option "EdgeMotionMaxZ" "160"
	Option "EdgeMotionMinSpeed" "0"
	Option "EdgeMotionMaxSpeed" "0"
	Option "EdgeMotionUseAlways" "0"
	Option "UpDownScrolling" "1"
	Option "TouchpadOff" "0"
	Option "GuestMouseOff" "0"
	Option "LockedDrags" "0"
	Option "RTCornerButton" "0"
	Option "RBCornerButton" "0"
	Option "LTCornerButton" "0"
	Option "LBCornerButton" "0"
	Option "TapButton1" "1"
	Option "TapButton2" "2"
	Option "TapButton3" "3"
	Option "CircularScrolling" "0"
	Option "CircScrollDelta" "0"
	Option "CircScrollTrigger" "0"
	Option "CircularPad" "0"
EndSection

# **********************************************************************
# Monitor section
# **********************************************************************
Section "Monitor"
    Identifier  "My Monitor"
    HorizSync   31.5 - 50.0
    VertRefresh 40-90
    DisplaySize 370 277
EndSection

# **********************************************************************
# Graphics device section
# **********************************************************************
Section "Device"
# I never got DRI working.
# I believe it won't happen at 24bpp on this system
# and since I don't need 3D at all I'm not worried about it.
# However, after adding all these options I found in various configs from
# teh interwebz I now have bizarre artifacts left over from dropdowns and
# popups, especially in Firefox. Therefore I'm commenting them out.
	Identifier	"Radeon DRI"
	Vendorname	"ATI Technologies Inc Radeon Mobility M7 LW [Radeon Mobility 7500]"
	Driver		"ati"
	BusID		"PCI:1:0:0"
	Screen		0
	Option		"DepthBits" "24"
	Option		"UseInternalAGPGART" "no"
	Option		"GARTSize" "128"
	Option		"AGPSize" "128"
	Option		"AGPMode" "4"
	Option		"AccelMethod" "EXA"
	Option		"AGPFastWrite" "True"
	Option		"EnablePageFlip" "true"
	Option		"ColorTiling" "on"
	# Option		"XAANoOffscreenPixmaps" "on"
	# Option		"EnableDepthMoves" "true"
	# Option		"BackingStore" "on"
	# Option		"DMAForXv" "true"
	# Option		"LVDSBiosNativeMode" "false"
	# Option		"AccelDFS" "true"
	# Option		"TripleBuffer" "true"
	# Option		"DynamicClocks" "on"
	# Option	        "DisableGLXRootClipping" "on"
        # Option          "AddARGBGLXVisuals" "on"
        # Option          "AllowGLXWithComposite" "on"
	# Option		"SubPixelOrder" "NONE"
EndSection

Section "Extensions"
	Option  "Composite" "Enable"
EndSection
Section "DRI"
	Mode 0666
EndSection

Section "ServerLayout"
	Identifier	"Default Layout"
	screen		0 "Screen 0" 0 0
	Inputdevice	"Mouse1"
	Inputdevice	"Touchpad"
	Option "AIGLX"  "true"
EndSection

# **********************************************************************
# Screen sections
# **********************************************************************
Section "Screen"
    Identifier  "Screen 0"
    Device      "Radeon DRI"
    Monitor     "My Monitor"
    DefaultDepth 24
    Subsection "Display"
        Depth       8
        Modes "1024x768" "800x600" "640x480"
    EndSubsection
    Subsection "Display"
        Depth       16
        Modes "1024x768" "800x600" "640x480"
    EndSubsection
    Subsection "Display"
        Depth       24
        Modes "1400x1200 1400x1050 1024x768" "800x600" "640x480"
	#Virtual 1024 768
    EndSubsection
    Subsection "Display"
        Depth       32
        Modes "1024x768" "800x600" "640x480"
    EndSubsection
EndSection

# **********************************************************************
# ServerLayout sections.
# **********************************************************************
Section "ServerLayout"
    Identifier  "Simple Layout"
    Screen "Screen 0"
    InputDevice "Mouse1" "CorePointer"
    InputDevice "Keyboard1" "CoreKeyboard"
EndSection