使用FreeBSD 4.9自带的XFree86 4.3无法正常配置出R40e继承的ATI Radeon显卡, 因此, 进入ports安装x11-server/XFree86-4-Server-snap, 安装后就可以正常配置显卡了, 配置文件如下:
Section "Module"
Load "dbe" # Double buffer extension
SubSection "extmod"
Option "omit xfree86-dga" # don't initialise the DGA extension
EndSubSection
Load "type1"
Load "speedo"
# Load "freetype"
Load "xtt"
Load "glx"
Load "dri"
EndSection
Section "Files"
RgbPath "/usr/X11R6/lib/X11/rgb"
FontPath "/dtroot/local/share/fonts/TTF/"
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/Speedo/"
FontPath "/usr/X11R6/lib/X11/fonts/Type1/"
# FontPath "/usr/X11R6/lib/X11/fonts/TrueType/"
# FontPath "/usr/X11R6/lib/X11/fonts/freefont/"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi/"
# ModulePath "/usr/X11R6/lib/modules"
EndSection
Section "ServerFlags"
EndSection
Section "InputDevice"
Identifier "Thinkpad Keyboard"
Driver "Keyboard"
Option "CoreKeyboard"
Option "AutoRepeat" "500 30"
Option "XkbRules" "xfree86"
Option "XkbModel" "pc101"
Option "XkbLayout" "us"
EndSection
# **********************************************************************
# Core Pointer's InputDevice section
# **********************************************************************
Section "InputDevice"
Identifier "USBMouse"
Driver "mouse"
Option "Protocol" "Auto"
Option "Device" "/dev/ums0"
Option "Emulate3Buttons" "true"
Option "ZAxisMapping" "4 5"
EndSection
Section "InputDevice"
Identifier "Touchpad"
Driver "mouse"
Option "Protocol" "Auto"
Option "Device" "/dev/mouse"
Option "Emulate3Buttons" "true"
Option "ZAxisMapping" "4 5"
EndSection
Section "Monitor"
Identifier "My Monitor"
Option "DPMS"
# HorizSync 31.5
# HorizSync 30-64 # multisync
# HorizSync 31.5, 35.2 # multiple fixed sync frequencies
# HorizSync 15-25, 30-50 # multiple ranges of sync frequencies
# VertRefresh 50-70
EndSection
Section "Device"
Identifier "ATI Radeon"
Driver "radeon"
VideoRam 16384
Option "EnablePageFlip" "true"
EndSection
Section "Screen"
Identifier "Thinkpad LCD"
Device "ATI Radeon"
Monitor "My Monitor"
DefaultDepth 24
Subsection "Display"
Depth 8
Modes "1280x1024" "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 16
Modes "1280x1024" "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 24
Modes "1024x768" "800x600"
ViewPort 0 0
EndSubsection
EndSection
Section "ServerLayout"
Identifier "Thinkpad X"
Screen "Thinkpad LCD"
InputDevice "Touchpad" "CorePointer"
InputDevice "Thinkpad Keyboard" "CoreKeyboard"
EndSection
Section "DRI"
Mode 0666
EndSection