|
发表于 2002-12-14 00:34:43
|
显示全部楼层
这是Redhat 8.0的/etc/X11/XF86Config文件,请以自己的系统文件来更改,不要复制这个文件,因为机器环境不同。比如显示器,鼠 标,键盘等。。只能在你的系统上更改这个文件。仔细看一下,对于新手弟。本帖只做参考。
有些系统可能没有/etc/X11/XF86Config这个文件,比如Mandrake和Redhat 8.0以前的版本;红旗等发行版,我们可以更改/etc/X11/XF86Config-4文件。
具体问题,具体分析。这个文件大体在哪个发行版都差不多。试着改一下就行了。。
如果安装驱动成功了,但不能进入桌面,那就要把这个文件发上来,然后大家才能提供帮助。
# File generated by anaconda.
#
Section "ServerLayout"
#
Identifier "Anaconda Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
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.
# Multiple FontPath entries are allowed (they are concatenated together)
# By default, Red Hat 6.0 and later now use a font server independent of
# the X server to render fonts.
RgbPath "/usr/X11R6/lib/X11/rgb"
如果汉化就把路径加在这里,如果不汉化,就不要加了
FontPath "unix/:7100"
EndSection
Section "Module"
#Load "type1"
Load "xtt" 如果汉化了,在加上这一句没有汉化就不要加了
#Load "dbe"在这句的前面,要加一个#号
Load "extmod"
Load "fbdevhw"
#Load "dri"在这句的前面,要加一个#号
Load "glx"
Load "record"
#Load "freetype" 如果汉化了,也在这句的前面,要加一个#号;没有用汉化,就不要加#号了
EndSection
Section "InputDevice"
# Option "AutoRepeat" "500 5"
# when using XQUEUE, comment out the above line, and uncomment the
# following line
# Option "rotocol" "Xqueue"
# Specify which keyboard LEDs can be user-controlled (eg, with xset(1))
# Option "Xleds" "1 2 3"
# To disable the XKEYBOARD extension, uncomment XkbDisable.
# Option "XkbDisable"
# To customise the XKB settings to suit your keyboard, modify the
# lines below (which are the defaults). For example, for a non-U.S.
# keyboard, you will probably want to use:
# Option "XkbModel" "pc102"
# If you have a US Microsoft Natural keyboard, you can use:
# Option "XkbModel" "microsoft"
#
# Then to change the language, change the Layout setting.
# For example, a german layout can be obtained with:
# Option "XkbLayout" "de"
# or:
# Option "XkbLayout" "de"
# Option "XkbVariant" "nodeadkeys"
#
# If you'd like to switch the positions of your capslock and
# control keys, use:
# Option "XkbOptions" "ctrl:swapcaps"
#Option "XkbOptions" ""
Identifier "Keyboard0"
Driver "keyboard"
Option "XkbRules" "xfree86"
Option "XkbModel" "pc105"
Option "XkbLayout" "us" #Option "XkbVariant" ""
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "rotocol" "IMPS/2"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "no"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Monitor Model"
HorizSync 30.0 - 71.0
VertRefresh 50.0 - 160.0
Option "dpms"
EndSection
Section "Device"
# no known options
#BusID
Identifier "NVIDIA GeForce 2 MX (generic)"
Driver "nvidia"在这里,要把nv改成nvidia
VendorName "NVIDIA GeForce 2 MX (generic)"
BoardName "NVIDIA GeForce 2 MX (generic)"
EndSection
Section "Screen"
Identifier "Screen0"
Device "NVIDIA GeForce 2 MX (generic)"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1024x768" "800x600" "640x480"
EndSubSection
EndSection
Section "DRI"
Mode 0666
EndSection |
|