为了我有个地方保存这个配置文件,也为了想入门的兄弟有个例子,我把我的配置文件放上来。随时更新。
注,这个配置文件以桌面用途为主。
软件:FreeBSD 6.1 RELEASE
硬件:ACER TM 230, Celeron 1.7G + i845GL
/boot/loader.conf
splash_bmp_load="YES"
vesa_load="YES"
loader_logo="beastie"
loader_color="YES"
apm_load="YES"
cpufreq_load="YES"
agp_load="YES"
drm_load="YES"
i915_load="YES"
snd_ich_load="YES"
/etc/rc.conf
apm_enable="YES"
check_quotas="NO"
font8x14="NO"
font8x16="swiss-8x16"
font8x8="swiss-8x8"
keymap="us.iso"
linux_enable="YES"
usbd_enable="YES"
moused_nondefault_enable="YES"
moused_enable="YES"
moused_type="auto"
gdm_enable="YES"
/etc/X11/xorg.conf
Section "ServerLayout"
Identifier "Acer TM230"
Screen 0 "LaptopScreen" 0 0
InputDevice "LaptopKeyboard" "CoreKeyboard"
InputDevice "LaptopMouse" "CorePointer"
EndSection
Section "Files"
RgbPath "/usr/X11R6/lib/X11/rgb"
ModulePath "/usr/X11R6/lib/modules"
FontPath "/usr/X11R6/lib/X11/fonts/misc/"
FontPath "/usr/X11R6/lib/X11/fonts/TTF/"
FontPath "/usr/X11R6/lib/X11/fonts/Type1/"
FontPath "/usr/X11R6/lib/X11/fonts/CID/"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi/"
EndSection
Section "Module"
Load "dbe"
Load "glx"
Load "dri"
Load "extmod"
Load "record"
Load "xtrap"
Load "freetype"
Load "type1"
#Load "xtt"
#Load "speedo"
EndSection
Section "InputDevice"
Identifier "LaptopKeyboard"
Driver "kbd"
Option "XkbModel" "pc104"
Option "XkbLayout" "us"
EndSection
Section "InputDevice"
Identifier "LaptopMouse"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/sysmouse"
EndSection
Section "Monitor"
Identifier "LaptopMonitor"
HorizSync 31.5 - 48.5
VertRefresh 50.0 - 70.0
#VendorName "Monitor Vendor"
#ModelName "Monitor Model"
EndSection
Section "Device"
### Available Driver options are:-
### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
### [arg]: arg optional
#Option "NoAccel" # [<bool>]
#Option "SWcursor" # [<bool>]
#Option "ColorKey" # <i>
#Option "CacheLines" # <i>
#Option "Dac6Bit" # [<bool>]
#Option "DRI" # [<bool>]
#Option "NoDDC" # [<bool>]
#Option "ShowCache" # [<bool>]
#Option "XvMCSurfaces" # <i>
#Option "PageFlip" # [<bool>]
Identifier "LaptopCard"
Driver "i810"
VendorName "Intel Corporation"
BoardName "82845G/GL[Brookdale-G]/GE Chipset Integrated Graphics Device"
#BusID "PCI:0:2:0"
Option "DRI" "True"
EndSection
Section "Screen"
Identifier "LaptopScreen"
Device "LaptopCard"
Monitor "LaptopMonitor"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 16
Modes "1024x768"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1024x768"
EndSubSection
EndSection
Section "DRI"
Mode 0666
EndSection