|

楼主 |
发表于 2003-5-20 16:40:37
|
显示全部楼层
# XFree86 4 configuration created by redhat-config-xfree86
Section "ServerLayout"
Identifier "Default Layout"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "DevInputMice" "AlwaysCore"
EndSection
Section "Files"
# RgbPath is 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 "dbe"
Load "extmod"
Load "fbdevhw"
Load "glx"
Load "record"
Load "freetype"
Load "type1"
EndSection
Section "InputDevice"
# 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"
# Or if you just want both to be control, use:
# Option "XkbOptions" "ctrl:nocaps"
#
Identifier "Keyboard0"
Driver "keyboard"
Option "XkbRules" "xfree86"
Option "XkbModel" "jp106"
Option "XkbLayout" "jp"
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option " rotocol" "IMPS/2"
Option "Device" "/dev/psaux"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "no"
EndSection
Section "InputDevice"
# If the normal CorePointer mouse is not a USB mouse then
# this input device can be used in AlwaysCore mode to let you
# also use USB mice at the same time.
Identifier "DevInputMice"
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 "Unknown monitor"
HorizSync 31.5 - 37.9
VertRefresh 50.0 - 70.0
Option "dpms"
EndSection
Section "Device"
Identifier "Videocard0"
Driver "i810"
VendorName "Videocard vendor"
BoardName "Intel 830"
VideoRam 32768
EndSection
Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 16
SubSection "Display"
Depth 16
Modes "800x600" "640x480"
EndSubSection
EndSection
Section "DRI"
Group 0
Mode 0666
EndSection
上面是我现在的etc/X11/XF86Config
复制的时候大小写没有错。看了一下备份在fat32里面的文件,是一样的。
下面这个是当时我参照的安装说明,就在那个压缩包里,不是很明白。我把当时的顺序说一下吧。
Note: Red Hat was used by Intel because the wide variety of Linux distributions available precludes exhaustive testing. The driver file is not specific to Red Hat, just these instructions; please modify as needed for your system.
1。Install Linux
2。Log in as root or as a superuser
3。Install kernel headers
a.For Red Hat 7.3, this is on CD2, /RedHat/RPMS/kernel-source-2.4.18-3.i386.rpm
b.Alternately, load your kernel config file, save the config, then run “make dep”
4。Extract the downloaded file:
tar –zxvf 20030106-i386-Linux.tar.gz
5。Ensure X Windows is not running
6。cd dripkg
7。./install.sh
8。Follow the prompts; most users should be able to press “Enter” at each prompt
9。Make a backup copy of your XF86Config-4 (or just ‘XF86Config’) file
10。Modify the XF86Config-4 file by one of three methods:
a.Use a text editor to modify section “Device” – modify “Driver” entry to read “i810”
b.OR run ‘Xconfigurator,’ selecting “Intel 830” from the list
c.OR run ‘X –configure’ the edit ~/XF86Config.new
1.Immediately after the "Monitor" line in the "Screen" section, add 'DefaultDepth 16'
2.At the end of the file (if not already there), add:
Section "DRI"
Mode 0666
EndSection
3.Make the new config file the default by copying it to XF86Config-4:
cp ~/XF86Config.new /etc/X11/XF86Config-4
11。Log out of root or superuser
12。startx
前3步我没有管他。
我当时在linux9的图形界面下。压缩包下载到了/tmp里面,解压到了/tmp/dripkg.
用Ctrl+Shift+f2进入黑底的命令符文本界面,执行了上面的6,7部。
运行./install.sh的时候,系统提示我没有退出图形界面,要我退出视窗界面,或者让他装完了以后重起。当时我试了试还是不知道怎么彻底退出图形界面(现在还是不知),就继续下一步了。
然后系统提醒我最好备份FX86Config。于是暂时退出,将其备份后重新开始安装。
继续下一步以后,好像就提示kernel什么的有错,当时也不知怎么办,就一直继续到底。最后好像是说安装结束,但我直接无法切换到视窗界面。
于是重起后,就成了现在的样子。
有办法解决吗? |
|