DVI/VGA-Output with MBP
From Mactel-Linux
This Config enables dual-headed DVI Output to a Viewsonic VP201b
# lithlad xorg config
Section "InputDevice"
Identifier "internalkeyboard"
Driver "keyboard"
Option "XkbDisable"
EndSection
Section "InputDevice"
Identifier "internalmouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "auto"
Option "Emulate3Buttons" "true"
Option "ZAxisMapping" "4 5"
Option "TapButton1" "0"
EndSection
Section "InputDevice"
Identifier "mx510"
Driver "mouse"
Option "Device" "/dev/input/mice"
Option "Buttons" "10" # adding this enables the extra buttons on the MX510
Option "ZAxisMapping" "9 10" # adding this maps wheel scrolling events to mouse buttons 9 & 10
EndSection
# $ xmodmap -e "pointer = 1 2 3 6 7 8 9 10 4 5"
Section "Monitor"
Identifier "lcd"
Option "DPMS"
EndSection
Section "Monitor"
Identifier "viewsonic" #vp201b
HorizSync 30-92
VertRefresh 50-85
Option "DPMS"
EndSection
Section "Device"
Identifier "ATI Technologies, Inc. FireGL Mobility T2 (M10 NT)"
Driver "fglrx"
BusID "PCI:1:0:0"
Option "backingstore" "true"
Option "RenderAccel" "true"
Option "DesktopSetup" "0x00000100" # clone
Option "MonitorLayout" "LVDS,CRT"
Option "MetaModes" "1600x1200-1024x768 1600x1200-1280x1024 1600x1200-1600x1200"
EndSection
Section "Device"
Identifier "ati2"
Driver "fglrx"
BusID "PCI:1:0:0"
Screen 1
EndSection
Section "Screen"
Identifier "internalscreen"
Device "ATI Technologies, Inc. FireGL Mobility T2 (M10 NT)"
Monitor "lcd"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1440x900" "1024x768"
EndSubSection
EndSection
Section "Screen"
Identifier "externalscreen"
Device "ati2"
Monitor "viewsonic"
DefaultDepth 24
SubSection "Display"
Depth 24
# Modes "1600x1200"
ViewPort 0 0
EndSubSection
EndSection
Section "ServerLayout"
Identifier "Default Layout"
Screen "internalscreen" 0 0
Screen "externalscreen" RightOf "internalscreen"
InputDevice "internalkeyboard"
InputDevice "internalmouse"
EndSection
Section "ServerFlags"
# 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><Fn> VT switch sequence
# (where n is 1 through 12). This allows clients to receive these key
# events.
# Option "DontVTSwitch"
# 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 "DontZoom"
# 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"
# Set the basic blanking screen saver timeout.
Option "blank time" "10" # 10 minutes
# Set the DPMS timeouts. These are set here because they are global
# rather than screen-specific. These settings alone don't enable DPMS.
# It is enabled per-screen (or per-monitor), and even then only when
# the driver supports it.
Option "standby time" "20"
Option "suspend time" "25"
Option "off time" "60"
# On some platform the server needs to estimate the sizes of PCI
# memory and pio ranges. This is done by assuming that PCI ranges
# don't overlap. Some broken BIOSes tend to set ranges of inactive
# devices wrong. Here one can adjust how aggressive the assumptions
# should be. Default is 0.
# Option "EstimateSizesAggresively" "0"
Option "AllowMouseOpenFail" "true"
EndSection
Section "Files"
RgbPath "/usr/lib/X11/rgb"
FontPath "/usr/share/fonts/local/"
FontPath "/usr/share/fonts/misc/"
FontPath "/usr/share/fonts/75dpi/:unscaled"
FontPath "/usr/share/fonts/100dpi/:unscaled"
FontPath "/usr/share/fonts/Type1/"
FontPath "/usr/share/fonts/TTF/"
FontPath "/usr/share/fonts/CID/"
FontPath "/usr/share/fonts/Speedo/"
FontPath "/usr/share/fonts/75dpi/"
FontPath "/usr/share/fonts/100dpi/"
# FontPath "/usr/share/fonts/artwiz"
FontPath "/usr/share/fonts/artwiz-aleczapka-en"
EndSection
Section "Module"
Load "i2c"
Load "dcc"
Load "GLCore"
Load "dbe"
Load "vbe"
Load "extmod"
SubSection "extmod"
Option "omit xfree86-dga"
EndSubSection
Load "type1"
Load "freetype"
Load "dri"
Load "glx"
Load "int10"
Load "bitmap"
EndSection
Section "DRI"
Mode 0666
EndSection
# eof

