×÷ÕߣºÛ§ÏþìÇ
ͼÐλ¯µÄ½çÃæÄÜÈÃÎÒÃÇ·½±ãµØÏíÓÃLinuxµÄÇ¿´ó¹¦ÄÜ£¬¶øÇÒÏÖÔÚLinuxµÄͼÐλ¯½çÃæÒѾԽÀ´Ô½ÍêÉÆ¡£LinuxÖо³£Ê¹ÓõÄͼÐÎÏÔʾϵͳÊÇX£Window£¬µ«ÊÇÓÉÓÚÆäÓë³£¼ûµÄMS WindowsϵͳÓкܴóµÄ²îÒ죬ËùÒÔÔÚʹÓÃʱ³£»áÓöµ½Ò»Ð©ÎÊÌ⣬±ÈÈçÎÞ·¨Çý¶¯ÏÔ¿¨¡¢ÏÔʾÆ÷²ÎÊý´íÎó¡¢»¨ÆÁºÍͼÐνçÃæÎÞ·¨Æô¶¯µÈ¡£
Òò´Ë£¬±¾ÎĽ«ÔÚ¼ò½éX-WindowµÄ»ù´¡ÉÏ£¬½éÉÜÈçºÎ°²×°³£¼ûÏÔ¿¨ºÍÉù¿¨µÄÇý¶¯³ÌÐò¡¢Ïà¹ØµÄÅäÖÃÎļþ£¬ÒÔ¼°²ÎÊýµ÷ÕûµÈÄÚÈÝ¡£
X-Window¸ÅÊö
X£WindowÊÇÒ»Ì×ÏÔʾϵͳ£¬°üÀ¨Server¶ËºÍClient¶Ë£¬ËûÃÇÖ®¼äʹÓÃXÐÒ黥ÏàͨÐÅ¡£Xµ®ÉúÓÚ1984Ä꣬Ôڽ϶̵Äʱ¼äÄÚËü¾Í·¢²¼µ½ÁË11¸ö°æ±¾--X11¡£X11¾¹ý¶àÄêµÄ·¢Õ¹£¬ÏÖÔÚÒѾ·¢²¼µ½X11R6¡£
X Client½«Ï£ÍûÏÔʾµÄͼÐη¢Ë͵½X Server£¬X Server½«Í¼ÐÎÏÔʾÔÚÏÔʾÆ÷ÉÏ£¬Í¬Ê±ÎªX ClientÌṩÊó±ê¡¢¼üÅ̵ÄÊäÈë·þÎñ¡£ÒòΪC/S½á¹¹£¬¿ÉÒÔ½«XµÄServerºÍClient·Ö±ðÔËÐÐÔÚÁ½Ì¨¼ÆËã»úÉÏ£¬ÉõÖÁ¿ÉÒÔ°²×°Ò»Ð©Èí¼þ£¬ÈÃWindows×÷ΪX Server£¬ÈÃLinux×÷ΪClient£¬½«KDE»òGNOMEµÈ×ÀÃæ»·¾³ÏÔʾµ½WindowsÖ÷»úÉÏÀ´¡£
ͼ1ËùʾÈÃWindows×÷ΪX Server
ʹÓÃXmanager 1.3.9£¬ÔÚWindows XPÉÏÔËÐÐX Server£¬È»ºóÔËÐÐһ̨LinuxÖ÷»úϵÄstartkde£¬½«KDE×ÀÃæ»·¾³ÏÔʾÔÚWindows XPÏ¡£
ʹÓÃstartxÃüÁî¿ÉÒÔÆô¶¯X-Windowϵͳ¡£Êµ¼ÊÉÏ£¬ÊÇÔÚһ̨¼ÆËã»úÉÏͬʱÔËÐÐServerºÍClient£¬ÔÚÔËÐÐstartxÖ®ºó£¬Ê×ÏÈÆô¶¯µÄÊÇXFree86£¬ËüÊÇLinuxƽ̨ÉÏ×î³£ÓõÄX Server¶Ë£»È»ºó£¬ÓÖÔËÐÐXµÄClient³ÌÐò£¬Èçstartkde£¨KDEµÄÆô¶¯½Å±¾£©»ògnome-session£¨GNOMEµÄÆô¶¯½Å±¾£©¡£
ËüÃÇÀûÓÃXÐÒéÁ¬½Ó±¾»úµÄX Server£¬½«Í¼ÐÎÏÔʾ³öÀ´¡£
·çÓêÎÞ×è ÓÚ 2005-10-17 00:30:38·¢±í:
2.ÉèÖÃOSSÉù¿¨Çý¶¯
(1)´Óhttp://www.opensound.com/download.cgiÑ¡ÔñÏÂÔØOSSµÄ°æ±¾£¬ÈçÕë¶Ô2.4Äں˵ÄÇý¶¯£¬»òÕßÕë¶Ô2.6Äں˵ÄÇý¶¯¡£
ÒÔÏÂÊÇ2.4ÄÚºËÇý¶¯µÄÏÂÔصØÖ·ftp://www.se.opensound.com/pub/oss/linux/oss3991e-linux-x86-v24.tar.gz¡£
(2)°²×°Çý¶¯³ÌÐò£º
# tar zxvf oss3991e-linux-x86-v24.tar.gz
#./oss-install
½«»á×Ô¶¯°²×°ÆäÖаüº¬µÄÇý¶¯³ÌÐò¡£°²×°Çý¶¯Ä£¿éÇ°£¬ÇëʹÓÃÃüÁîmodprobe -r»òrmmod°ÑÔÓеÄÇý¶¯³ÌÐòжÔØ¡£
ÒÔÉÏΪLinuxÉù¿¨Çý¶¯µÄ´óÖ°²×°¹ý³Ì¡£ÒòΪLinuxϵÄÉù¿¨Öڶ࣬²»¿ÉÄÜÓÐÒ»¸ö¹Ì¶¨µÄ°²×°²½Ö裬µ«´óÖµIJ½ÖèÊÇ£¬ÏȱàÒë³öÕë¶ÔÄ¿Ç°Äں˰汾µÄÇý¶¯Ä£¿é£¬È»ºóÔÙʹÓÃinsmod»òmodprobe¼ÓÔØÉÏÈ¥£¬¸ü¶àµÄÊÇͨ¹ý/etc/modules.confÎļþ×Ô¶¯¼ÓÔØ¡£
Àí½â/etc/modules.confÎļþºÜÖØÒª£¬ÕâÊÇ´ó¶àÊýLinuxϵͳ¼ÓÔØÄ£¿éµÄÎļþ£¬ÓÐЩLinuxÊÇ/etc/conf.modulesÎļþ¡£Èç¹ûÉù¿¨ÊǷǼ´²å¼´Óõģ¬¿ÉÒÔÔÚ/etc/modules.confÎļþÖÐʹÓÃoptions snd-card-0 io=0x300 irq=5À´ÉèÖÃI/O×ÊÔ´¼°ÖжϺš£
·çÓêÎÞ×è ÓÚ 2005-10-17 00:30:17·¢±í:
(2)ÏÂÔØÇý¶¯³ÌÐò
´Óhttp://www.alsa-project.org/alsa/ftp/driver/ÏÂÔØÇý¶¯³ÌÐòalsa-dirver-1.0.6rc1.tar.bz2£»´Óhttp://www.alsa-project.org/alsa/ftp/lib/ÏÂÔØ¿âÎļþalsa-lib-1.0.6rc1.tar.bz2£»´Óhttp://www.alsa-project.org/alsa/ftp/utils/ÏÂÔع¤¾ßalsa-utils-1.0.6rc1.tar.bz2¡£
(3)°²×°Çý¶¯
# cd /usr/src
# mkdir alsa
# cd alsa
# cp alsa* ./
# tar -xjvf alsa-driver-1.0.6rc1.tar.bz2
# cd alsa-driver-1.0.6rc1
# ./configure --with-cards=emu10k1 --with-sequencer=yes;
# make
# make install
# chmod a+rw /dev/dsp /dev/mixer /dev/sequencer /dev/midi
°²×°lib°üºÍutils°ü£º
# cd ..
# tar -jxvf alsa-lib-1.0.6rc1.tar.bz2
# cd alsa-lib-1.0.6rc1
# ./configure
# make
# make install
# cd ..
# tar -jxvf alsa-utils-1.0.6rc1.tar.bz2
# cd alsa-utils-1.0.6rc1
# ./configure
# make
# make install
£¨4£©¸ü¸ÄÅäÖÃÎļþ
# vi /etc/modules.conf
alias char-major-116 snd
alias snd-card-0 snd-emu10k1
# module options should go here
alias char-major-14 soundcore
alias sound-slot-0 snd-card-0
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss
µ«ÊÇ£¬ALSAÇý¶¯ºóµÄÉù¿¨Ä¬ÈÏÊDz»·¢ÉùµÄ£¬¿ÉÒÔÓÃALSA mixerÀ´¿ªÆô¡£Ö±½ÓÔËÐÐÒÔÏÂÃüÁî¿ÉÒÔÈ«²¿¿ªÆôËùÓеÄÒôÁ¿£º
#./audunmute
Ò²¿ÉÒÔʹÓÃÒÔÏÂÃüÁîÀ´ÉèÖÃÒôÁ¿µÄ´óС£º
# amixer -c 0 sset 'Master',0 100%,100% unmute
# amixer -c 0 sset 'PCM ',0 100% unmute
¿ÉÒÔ±à¼/etc/modules.confÎļþ£¬Ìí¼ÓÈçÏÂÒ»ÐÐÈÃÉù¿¨Ã¿´ÎÆô¶¯Ê±µ÷ÕûÒôÁ¿Îª100%£º
post-install snd-card-0 amixer -c 0 sset 'Master',
0 100%,100% unmute && amixer -c 0 sset 'PCM ',
0 100% unmute
·çÓêÎÞ×è ÓÚ 2005-10-17 00:29:58·¢±í:
Linux¡°ÍòÄÜÉù¿¨Çý¶¯¡±°²×°
¼ÆËã»úÖеÄÉù¿¨Ç§²îÍò±ð£¬³ýÁËIntel¡¢VIAµÈ´ó³§µÄÉù¿¨Í⣬´ó¶àÊýÉù¿¨¶¼Ã»ÓÐרÃÅдLinuxϵÄÉù¿¨Çý¶¯³ÌÐò¡£ÄÇôÔõÑùÔÚLinuxÖÐʹÓÃÕÒ²»µ½Çý¶¯³ÌÐòµÄÉù¿¨ÄØ£¿¿ÉÒÔÊÔÒ»ÊÔLinuxϵġ°ÍòÄÜÉù¿¨Çý¶¯¡±£¬Ëü¿ÉÒÔÇý¶¯´óÁ¿µÄÉù¿¨¡£
Ä¿Ç°Ö÷ÒªÓÐÁ½ÖÖÍòÄÜÉù¿¨Çý¶¯£ºÒ»ÖÖÊÇALSA£¨Advanced Linux Sound Architecture£©£¬Ëü²ÉÓÃGPL£¬Õë¶ÔLinuxϵͳԴ´úÂ빫¿ª£¬Ö÷Ò³ÊÇhttp://www.alsa-project.org/£»ÁíÒ»ÖÖÊÇOSS£¨Open Sound System£©£¬ËüÊÇÉÌÓÃÈí¼þ£¬Õë¶ÔÖ÷Á÷Unixϵͳ£¬LinuxÒ²ÔÚËüµÄÖ§³ÖÖ®ÁУ¬Ö÷Ò³ÊÇhttp://www.opensound.com/¡£
1.°²×°ALSAÇý¶¯³ÌÐò
(1)²éÕÒÉù¿¨ÐͺÅ
´Óhttp://www.alsa-project.org/alsa-doc/´¦²éÕÒÊÇ·ñÓÐʹÓõÄÉù¿¨Ðͺţ¬Èç¹ûÓÐÔòÒ»¶¨Òª´Ó´Ë´¦µã»÷ºóÃæ¡°details¡±Á´½ÓÀ´²éÕÒ°²×°·½·¨¡£ÕâÀïÒÔ°²×°´´ÐÂSoundblaster AudigyÉù¿¨µÄÇý¶¯ÎªÀý£¬ÆäËüµÄÉù¿¨Çë²é¿´detailsÖеľßÌå·½·¨¡£
ÔÚ°²×°Ö®Ç°ÐèÒª°²×°Äں˵ÄÔ´´úÂë°ü£¬¿ÉÒÔ´ÓRed Hat¹âÅÌÉÏ°²×°kernel-sourceXXX.rpm°ü£¬»òÕß´Ókernel.orgÍøÕ¾ÉÏÏÂÔص±Ç°ÏµÍ³°æ±¾µÄÔ´´úÂë°ü¡£
°²×°Ô´Âë°ü£º
# rpm -ivh kernel-soureXXX.rpm
»òÕß
# tar zxvf kernel-2.XXX.tar.gz
# cd /usr/src/linux2.XXX/ //µ½Ô´´úÂëµÄĿ¼ÖÐ
# cp /boot/config-2.XXX ./.config //½«µ±Ç°°æ±¾µÄÄÚºËÅäÖÃÎļþ¿½±´ÖÁÔ´ÂëĿ¼
·çÓêÎÞ×è ÓÚ 2005-10-17 00:29:32·¢±í:
Éù¿¨Çý¶¯³ÌÐò¸ÅÊö
LinuxÏÂÉù¿¨µÄÇý¶¯ÊÇ×÷ΪÆÕͨÄÚºËÄ£¿éÀ´¼ÓÔصģ¬ÏµÍ³ÄÚÖõÄÉù¿¨Çý¶¯ÔÚ/lib/modules/2.XXX/kernel/drivers/sound/Ŀ¼Ï¡£ÒÔÏÂÊÇϵͳÄÚÖõÄÉù¿¨Çý¶¯Ä£¿é£º
# ls /lib/modules/2.XXX/kernel/drivers/sound/
ac97_codec.o cs4232.o forte.o uart401.o
ac97.o cs4281 i810_audio.o via82cxxx_audio.o
ad1848.o cs46xx.o maestro3.o ymfpci.o
ad1889.o emu10k1 rme96xx.o
audigy es1370.o soundcore.o
cmpci.o es1371.o sound.o
½áºÏǰһƪËù½éÉܵÄÄÚÈÝ¿ÉÒÔÖªµÀ£¬ÏµÍ³ÔÚÆô¶¯Ê±»áͨ¹ýÒÔÏÂÁ½¸öÎļþÀ´¼ÓÔØÄ£¿é£º/etc/modules.confºÍ/etc/rc.d/rc.sysinit£¬Éù¿¨Ò²ÊÇÔÚÕâÀï¼ÓÔصġ£Èç¹ûа²×°ÁËÒ»¿éÉù¿¨£¬ÔÚRed Hat LinuxÖÐÔò¿ÉÒÔʹÓÃkudzuÃüÁîÀ´ËÑË÷Éù¿¨£¬²¢ÇÒ×Ô¶¯ÅäÖá£Èç¹ûϵͳÖÐûÓÐÄÚÖõÄÇý¶¯³ÌÐò£¬Ôò¿ÉÒÔ°´ÒÔϲ½ÖèÀ´°²×°£¨ÒÔVIAµÄ8237ÄÏÇż¯³ÉÉù¿¨ÎªÀý£©¡£
´ÓVIAµÄÍøÕ¾http://www.viaarena.com/?PageID=294ÉÏÏÂÔØ×îеÄÇý¶¯³ÌÐòLinuxAudiov230.gz¡£
½âѹËõ£º
# tar xzvf LinuxAudiov230.gz
±àÒësrc.rpm°ü£º
# rpmbuild --rebuild viaudiocombo-2.2-3.src.rpm
Èç¹ûûÓÐrpmbuildÃüÁîÔòÔËÐУº
# rpm --rebuild viaudiocombo-2.2-3.src.rpm
# cd /usr/src/RPM/RPMS/iX86 //ÕâÀïµÄX-Window¸ù¾Ý»úÆ÷Çé¿ö¶ø²»Í¬
# rpm -ivh --force viaudiocombo-2.2-3.iX86.rpm //°²×°±àÒëºÃµÄÇý¶¯³ÌÐò
IntelÖ÷°åµÄ¼¯³ÉÉù¿¨Ò»°ãʹÓõÄÊÇi810_audio.o×÷ΪÇý¶¯£¬Ä¿Ç°Ð°汾LinuxÄÚÖõÄÇý¶¯¿ÉÒÔÖ±½ÓÖ§³Ö¡£
·çÓêÎÞ×è ÓÚ 2005-10-17 00:20:33·¢±í:
³£¼ûÏÔ¿¨¹ÊÕϵĴ¦Àí
µ±ÎÞ·¨Æô¶¯X-Windowʱ£¬Ó¦¸Ã×Ðϸ²é¿´³ö´íÐÅÏ¢¡£ÒÔÏÂΪX-WindowÆô¶¯²»³É¹¦µÄ³£¼ûÔÒò¡£
1.µ±ÆÁĻΪȫºÚ»ò»¨ÆÁʱ£¬Ò»°ãÊÇÏÔʾÆ÷²ÎÊýÉèÖÃÓÐÎó¡£Ê×ÏÈÓ¦¸Ã°´¡°Ctrl£«Alt£«Backspace¡±£¬½áÊøX-Window¡£È»ºó²é¿´ÏÔʾÆ÷˵Ã÷Ê飬ÔÚ/etc/X11/XF86Config-4»òXF86ConfigÎļþÖУ¬½«Ë®Æ½ºÍ´¹Ö±Ë¢ÐÂÂʸijÉÕýÈ·µÄÖµ£¬»òÕßÔËÐÐredhat-config-xfree86ºÍXFree86-configure¡£
2.XF86ConfigÎļþË𻵻ò¶ªÊ§£¬ÔËÐÐredhat-config-xfree86»òXFree86 -configure¡£
3.ûÓпØÖÆ̨ËùÓÐȨ¡£±ÈÈ磬ÒÔshrekÓû§µÇ½£¬È»ºóÓÃÃüÁî¡°su - joan¡±Çл»ÎªÓû§joan£¬ÕâʱʹÓÃstartx¾Í»á³ö´í£¬ÌáʾûÓиÿØÖÆ̨µÄËùÓÐȨ¡£Õâʱ£¬¿ÉÒÔÓÃexitÍ˳öjoanµÄShell£¬È»ºóÔÙÔËÐÐstartx¡£
4.Ó²ÅÌûÓпռ䡣ÔÚʹÓÃKDE»òGNOMEʱ£¬Ã¿´ÎÆô¶¯X-Window¶¼ÒªÕ¼ÓÃÒ»¶¨¿Õ¼ä·ÅÁÙʱÎļþ£¬Èç¹û/tmp»òÖ÷Ŀ¼ÏÂÎÞ·¨Ð´ÈëÎļþ£¬ÕâʱX-Window¾Í»á³öÏÖһЩÆæ¹ÖµÄ´íÎó¡£
5.ÏÔ¿¨Çý¶¯ÓÐÎÊÌâ¡£ÏÂÔØ°²×°ÕýÈ·µÄÇý¶¯£¬ÔËÐÐredhat-config-xfree86»òXFree86 -configure¡£
6.xfs·þÎñûÓÐÆô¶¯¡£xfsÊÇ×ÖÌå·þÎñ£¬Ëü²»Æô¶¯ÔòX-WindowÎÞ·¨Æô¶¯¡£Ê¹ÓÃÏÂÃæÃüÁî¿ÉÒÔÆô¶¯¸Ã·þÎñ£º
# service xfs start
»òÕß
# /etc/rc.d/init.d/xfs start
Èç¹ûÏ£Íû¸Ã·þÎñÿ´Î×Ô¶¯Æô¶¯£¬ÔòʹÓÃÏÂÃæÃüÁ
££chkconfig xfs on
·çÓêÎÞ×è ÓÚ 2005-10-17 00:19:46·¢±í:
ATIϵÁбʼDZ¾Çý¶¯³ÌÐòÒªÉý¼¶XFree86¡£
Èç¹ûʵÔÚÕÒ²»µ½ÏÔ¿¨Çý¶¯³ÌÐò£¬¿ÉÒÔÊÔ×Å°´ÕÕÉÏÃæµÄ½éÉÜÉý¼¶XFree86µ½4.3»ò4.4¡£Ëü×Ô´øÓÐһЩÏÔ¿¨Çý¶¯³ÌÐò£¬ÈçATI M9000±Ê¼Ç±¾ÏÔ¿¨¡¢SISÏÔ¿¨µÈÇý¶¯³ÌÐò¡£
4.ÄÚºËÖ§³ÖÏÔʾģʽµ÷Õû
ÔÚÃüÁîÐнçÃæÏ£¬¿ÉÒÔµ÷ÕûÄں˵ÄÏÔʾģʽ£¬ÈÃËüʹÓýϸ߷ֱæÂÊ£¬ÉèÖ÷½·¨ÈçÏ¡£
£¨1£©Ê¹ÓÃGRUB×÷Ϊboot loader£¬ÔòÔËÐÐÃüÁ
# vi /boot/grub/grub.conf
ÔÚkernel /vmlinuz-2.4.21-4.EL ro root=LABEL=/ÐкóÌí¼Óvga=0x314¡£ÕâÊÇÉèÖÃÏÔʾģʽ£¬vgaÊÇKernelµÄ²ÎÊý£¬0x314±íʾµÄÊÇ16½øÖƵÄ314»»Ëã³É10½øÖÆΪ788£¬ËùÒÔvga£½788¸úÓëvga£½0x314ÊÇÒ»ÑùµÄ¡£ÎÒÃǰѸÃÐиÄΪÏÂÃæÒ»ÐУº
kernel /vmlinuz-2.4.21-4.EL ro root=LABEL=/ vga=0x314
Õâʱ»á·¢ÏÖLinuxÆô¶¯Ê±ÏÔʾһ¸öÆó¶ìͼ±ê£¬Ê¹ÓõÄÊÇ800¡Á600·Ö±æÂÊ£¬vga²ÎÊýº¬ÒâÈç±í1¡£
£¨2£©Ê¹ÓÃLILO×÷Ϊboot loader£¬ÔòÔÚ/etc/lilo.confÎļþÖн«append´¦¸ÄΪÈçÏÂÒ»ÐУº
append=" root=LABEL=/ vga£½0x314"
Ö®ºóÔËÐÐÏÂÃæÃüÁ
# lilo -v
ʹÓÃеÄÅäÖÃÎļþ¸üÐÂMBR¡£
·çÓêÎÞ×è ÓÚ 2005-10-17 00:19:11·¢±í:
°²×°Çý¶¯³ÌÐòºó£¬Èç¹ûÓÐÎÊÌâ¿ÉÒԲο¼¸Õ²Å°²×°Inter i865ÏÔʾÇý¶¯µÄ·½·¨£¬À´µ÷ÕûÏÔ¿¨µÄÇý¶¯ºÍ²ÎÊý£¬ÔËÐÐ redhat-config-xfree86¡¢XFree86 -configure»òÖ±½Ó¸ü¸Ä/etc/X11ϵÄXF86ConfigÎļþ¡£ÁíÍ⣬Èç¹ûÏ£ÍûÖ±½ÓµÃµ½nVIDIAµÄÇý¶¯³ÌÐò£¬²»Ïë×Ô¶¯°²×°£¬¿ÉÒÔÔËÐÐÒÔÏÂÃüÁ°üÖеÄÎļþ½â¿ª¡£
# ./ NVIDIA-Linux-x86-1.0-6106-pkg1.run -x
ÔÚ./NVIDIA-Linux-x86-1.0-6106-pkg1/usr/share/docĿ¼Ï£¬ÓÐÒ»¸öXF86Config.exampleµÄÎļþ£¬Èç¹ûÓöµ½XF86ConfigÎļþÅäÖÃÓÐÎÊÌ⣬¿ÉÒÔÖ±½Ó²é¿´¸ÃÎļþÖеÄÏÔ¿¨Çý¶¯²¿·ÖÄÚÈÝ¡£
2£®°²×°ATI 9800ÏÔ¿¨Çý¶¯
´ÓÏÂÃæµØÖ·http://www2.ati.com/drivers/linux/fglrx-4.3.0-3.11.1.i386.rpm¿ÉÒÔÏÂÔØATI 9800ÏÔ¿¨Çý¶¯fglrx-4.3.0-3.11.1.i386.rpmÎļþ£¬È»ºóÖ´ÐУº
# rpm -Uvh --force fglrx-4.3.0-3.11.1.i386.rpm //Ç¿ÖÆÉý¼¶/°²×°Çý¶¯³ÌÐò°ü
×¢Ò⣬Ҫ¿´¿´ÊÇ·ñÓдíÎó·¢Éú£¬Èç¹ûÓÐÇë×Ðϸ²é¿´³ö´íÐÅÏ¢¡£
# fglrxconfig //ʹÓÃATIµÄÅäÖù¤¾ßÅäÖÃÇý¶¯³ÌÐò
¸Ã³ÌÐò»áÌáÎÊһЩÎÊÌ⣬µ±Îʵ½ÊÇ·ñ´´½¨Ò»¸öXF86Config-4Îļþʱ£¬Òª»Ø´ð¡°y¡±£¬ÕâÑù¾Í¿ÉÒÔÉú³ÉеÄÅäÖÃÎļþ¡£
# startx //ÖØÐÂÆô¶¯X
# fglrxinfo //¿ÉÒԲ鿴Çý¶¯³ÌÐòÊÇ·ñ°²×°³É¹¦
3£®³£¼ûÏÔ¿¨Çý¶¯µÄÏÂÔصØÖ·
¡ônVIDIAÏÔ¿¨Çý¶¯³ÌÐòµØÖ·http://www.nvidia.com/object/linux.html¡£
¡ôATIÏÔ¿¨Çý¶¯³ÌÐòµØÖ·http://www.ati.com/support/driver.html£¨ATIÍøÕ¾·ÃÎÊËٶȽÏÂý£¬¿ÉÒÔ¶àÊÔ¼¸´Î£©¡£
¡ôVIAоƬ¼¯³ÉÏÔ¿¨Çý¶¯³ÌÐòhttp://www.viaarena.com/?PageID=296¡£
¡ôSISÏÔ¿¨Çý¶¯³ÌÐòµØÖ·http://www.mypcera.com/qu/2/soft1/xsis.rpm¡£
¡ôIntelоƬ×éÏÔ¿¨Çý¶¯³ÌÐòµØÖ·http://downloadfinder.intel.com/scripts-df/support_intel.asp?iid=HPAGE+ header_support_download&¡£
¡ôIntel±Ê¼Ç±¾Ñ¸³ÛÏÔʾÇý¶¯³ÌÐòµØÖ·http://downloadfinder.intel.com/scripts-df/filter_results.asp?strOSs=39&strTypes=DRV%2CARC&ProductID= 922&OSFullName= Linux*&submit=Go%21¡£
·çÓêÎÞ×è ÓÚ 2005-10-17 00:18:50·¢±í:
±ÈÈ磬±Ê¼Ç±¾µçÄÔÉϳ£ÓõÄIntel 815¼¯³ÉÏÔ¿¨µÄ°²×°£¬ÎÒÃÇͬÑù¿É´ÓIntelÍøÕ¾ÉÏÏÂÔØ815ÏÔ¿¨²¿·ÖµÄRPM°ü£¬ÍøַΪhttp://downloadfinder.intel.com/scripts-df/filter_results.asp?strOSs=39&strTypes= DRV%2CARC&ProductID=797&OSFullName= Linux*&submit=Go%21¡£
# rpm -ivh xfcom_i810-1.2-3.i386.rpm
È»ºóÖظ´ÒÔÉϵĵڶþÖÁµÚÈý²½£º
# redhat-config-xfree86 //Ñ¡ÔñÕýÈ·µÄÇý¶¯³ÌÐò
# startx //Æô¶¯X-Window
°²×°ÆäËüÏÔ¿¨µÄÇý¶¯
1. °²×°GeForce FX 6800ÏÔ¿¨Çý¶¯
Èç¹û¹ºÂòÁËGeForce FX 6800ÏÔ¿¨£¨°üº¬ÆäËünVIDIAÏÔ¿¨£©£¬Ï£ÍûÍæÍæ¸Õ¸Õ·¢²¼µÄDOOM3£¬½á¹ûÈ´·¢ÏÖX-WindowÎÞ·¨Æô¶¯£¬Õâʱ¿ÉÒÔÈ¥nVIDIAÍøÕ¾http://www.nvidia.com/object/linux.htmlÏÂÔØ×îеÄÏÔ¿¨Çý¶¯¡£
nVIDIAµÄLinuxÇý¶¯³ÌÐò×öµÃÏ൱¾«Ï¸£¬ÏÂÔغóµÃµ½ÎļþNVIDIA-Linux-x86-1.0-6106-pkg1.run£¬ÔËÐÐËü¾Í¿ÉÒÔ¿´µ½Ò»¸ötui£¨Îı¾Óû§½çÃ棩£º
# chmod 700 NVIDIA-Linux-x86-1.0-6106-pkg1.run //ÉèÖÃÖ´ÐÐȨÏÞ
# ./ NVIDIA-Linux-x86-1.0-6106-pkg1.run. //ÔËÐа²×°³ÌÐò
³ÌÐò½«»áÒ»²½²½Ìáʾ°²×°nVIDIAµÄÇý¶¯¡£¸ÃÇý¶¯°üº¬Á½²¿·Ö£ºÒ»²¿·ÖÊÇÄÚºËÇý¶¯£¬ÓÃÓÚÃüÁîÐнçÃæµÄÇý¶¯£¬ÔÚ°²×°Õⲿ·Öʱ£¬Èç¹û²»ÊÇËüÖ§³ÖµÄ¼¸ÖÖÄں˰汾ÐèÒª±àÒëÄںˣ»ÁíÒ»²¿·ÖÊÇÕë¶ÔXFree86µÄÇý¶¯¡£
ÔËÐÐÖг£³£³öÏֵĴíÎóÊÇÔÚ±àÒëÄÚºËʱÕÒ²»µ½Äں˵ÄÔ´Îļþ£¬ÓÃÒÔÏ·½·¨¿ÉÒÔ½â¾öÕâ¸öÎÊÌâ¡£ÏÈÏÂÔØ°²×°KernelµÄÔ´Îļþ£º
# rpm -ivh kernel-sourceXXX.rpm //ÔÚRed Hat°²×°¹âÅÌÉÏ
»òÕß
# tar zxvf linux-2.XXX.tar.gz //¿ÉÒÔ´ÓÍøÉÏÏÂÔØ£¬±ÈÈçkernel.org
Ö¸¶¨Ô´ÎļþλÖãº
# ./ NVIDIA-Linux-x86-1.0-6106-pkg1.run. --kernel-source-path=
·çÓêÎÞ×è ÓÚ 2005-10-17 00:18:20·¢±í:
ÕâÀïÊÇÉèÖÃÏÔʾģʽµÄµØ·½£¬°üÀ¨ÆÁÄ»µÄ·Ö±æÂʺÍÉ«ÉĬÈÏʹÓÃ×î¸ßµÄ·Ö±æÂÊ¡£Èç¹ûÏëʹÓýϵ͵ķֱæÂÊ£¬ÄÇô½«¸ß·Ö±æÂÊɾ³ý¾Í¿ÉÒÔÁË£¬ÔÚÕâ¸öÅäÖÃÎļþÖÐÏÔʾÆ÷»áʹÓá°1024¡Á768¡±·Ö±æÂÊ£¬É«ÉîÊÇ16λɫ¡£ÓйØXF86ConfigÎļþµÄÏê½â¿ÉÒԲο´ËüµÄman page£º
# man XF86Config
£¨3£©ÈÃXFree86×Ô¼ºÉú³ÉXF86ConfigÎļþ
ÔËÐÐÏÂÃæÃüÁ
# XFree86 -configure
XFree86½«×Ô¶¯Õì²âÏÔ¿¨¼°ÏÔʾÆ÷£¬ÔÚÓû§µÄÖ÷Ŀ¼ÏÂÉú³ÉÒ»¸öÃû½ÐXF86Config.newµÄÎļþ¡£¿ÉÒÔÓÃÒÔÏÂÃüÁî²âÊÔÕâ¸öÎļþÔËÐÐÊÇ·ñÕý³££º
# XFree86 -xf86config ~/XF86Config.new
Õâ¸ö´úÂëÊÇÖ¸¶¨X ServerʹÓà ~/XF86Config.new×÷ΪÅäÖÃÎļþ¡£
Èç¹ûÓа×É«XÐ͵Ĺâ±êÏÔʾ£¬¾Í¿ÉÒÔ°´¡°Ctrl£«Alt£«Backspace¡±½áÊøX¡£È»ºóÔËÐÐÏÂÃæµÄÃüÁÓÃеÄÅäÖÃÎļþÀ´Ì滻ϵͳÅäÖÃÎļþ¡£
# cp ~/XF86Config.new /etc/X11/XF86Config
3.Æô¶¯X£Window
ÔËÐÐstartx£¬Æô¶¯X£Window¡£ÕâÖÖ·½Ê½ÒÀÀµÓÚ¿ØÖÆ̨£¨tty£©£¬½«X£Window×÷Ϊµ±Ç°¿ØÖÆ̨µÄShell×Ó½ø³ÌÀ´ÔËÐС£
ÁíÒ»ÖÖ·½·¨ÊÇÔËÐÐ×ÀÃæ¹ÜÀí³ÌÐògdm£¨GNOME×ÀÃæ¹ÜÀí³ÌÐò£©¡¢kdm£¨KDEµÄ×ÀÃæ¹ÜÀí³ÌÐò£©»òxdm£¨XFree86µÄ×ÀÃæ¹ÜÀí³ÌÐò£©¡£ÕâÖÖ·½Ê½²»ÒÀÀµÓÚµ±Ç°µÄShell£¬¼´Ê¹µ±Ç°Shell¹Ø±Õ£¬X£WindowÒ»Ñù»á¼ÌÐøÔËÐС£
ÒÔÉÏÈý²½ÊÇLinuxÏ°²×°X-WindowÏÔ¿¨Çý¶¯³ÌÐòµÄͨ³£²½Ö裬¾ø´ó¶àÊýÏÔ¿¨¶¼¿ÉÒÔ¾¹ýÒÔÉϵIJ½ÖèÕý³£Ê¹Óã¬Ëù²»Í¬µÄÊÇÏÂÔصØÖ·ºÍ¾ßÌåµÄÇý¶¯³ÌÐòµÄÉú³É·½Ê½¿ÉÄܲ»Ò»Ñù¡£
·çÓêÎÞ×è ÓÚ 2005-10-17 00:17:59·¢±í:
ͼ2ÏÔʾΪʹÓÃredhat-config-xfree86¡£Õâ¸öÃüÁî¿ÉÒÔ×Ô¶¯Õì²âÏÔ¿¨¡¢ÅäÖ÷ֱæÂʺÍÉ«ÉÒÔ¼°Ñ¡ÔñAdvancedÒ³Ã棬Ȼºóµ¥»÷Video CardµÄConfigure°´Å¥£¬Ñ¡ÔñÕýÈ·µÄÏÔ¿¨¡£µ«ÊÇ£¬Èç¹ûÊÇRed Hat Linux 8.0֮ǰ°æ±¾£¬ÔòûÓÐÕâ¸öÃüÁӦ¸ÃÔËÐÐÏÂÃæ´úÂ룺
# Xconfigurator
ÕâÑù³ÌÐò»áÒ»²½²½ÌáʾѡÔñÕýÈ·µÄÇý¶¯³ÌÐò¡£
ÕâÁ½ÖÖ·½·¨¶¼»á½«½á¹ûдÈë/etc/X11/XF86ConfigÅäÖÃÎļþ¡£
£¨2£©Ö±½Ó¸ü¸ÄXFree86µÄÅäÖÃÎļþ
Ö±½Ó¸ü¸ÄXFree86µÄÅäÖÃÎļþÕâÖÖ·½·¨ÔÚLinuxϵͳÖбȽÏͨÓã¬ÔËÐÐÏÂÃæÃüÁ
# vi /etc/X11/XF86Config
»òÕß
XF86Config-4
ÔÚÆäÖÐÕÒµ½ÏÂÃæ´úÂ룬½«DriverºóÃæ¸ÄΪi810£¬±íʾʹÓÃi810_drv.oÇý¶¯³ÌÐò£º
Section "Device"
Identifier "Videocard0"
Driver "i810"
VendorName "Videocard vendor"
BoardName "Intel 865"
EndSection
¸ÃÅäÖÃÎļþÖÐÆäËüÐèҪעÒâµÄµØ·½ÈçÏ£º
Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Unknown monitor"
HorizSync 31.5 - 37.9
VertRefresh 50.0 - 70.0
Option "dpms"
EndSection
ÉÏÃæÕâ¸ö²¿·ÖÊÇÉèÖÃÏÔʾÆ÷µÄÀàÐÍ£¬²»ÖªµÀ×Ô¼ºµÄÏÔʾÆ÷½ÐʲôÃû×Öû¹Øϵ£¬µ«ÐèÒª½«ÏÔʾÆ÷µÄ´¹Ö±Ë¢ÐÂÂʺÍˮƽˢÐÂÂÊÕýÈ·ÉèÖã¬ÕâÁ½¸ö²ÎÊý¿ÉÒԲ鿴ÏÔʾÆ÷µÄ˵Ã÷Êé¡£ÒÔÉÏÊÇ15Ó¢´çÏÔʾÆ÷×î³£ÓõÄƵÂÊ£¬Èç¹ûÕâ¸ö²ÎÊýÉèÖôíÎó£¬ÏÔʾÆ÷¾Í»á»¨ÆÁ»òºÚÆÁ¡£
Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 16
SubSection "Display"
Depth 16
Modes "1024x768" "800x600" "640x480" //ĬÈÏ»áʹÓÃ×î¸ßµÄ·Ö±æÂÊ
EndSubSection
EndSection
·çÓêÎÞ×è ÓÚ 2005-10-17 00:17:35·¢±í:
°²×°Intel i865GоƬ×éÏÔ¿¨Çý¶¯
Intel i865GÊÇÒ»ÖֱȽÏеÄÏÔ¿¨Ð¾Æ¬×飬ËüÄÚÖÃÁËÏÔʾģ¿é£¬µ«ÊÇ°²×°½ÏÔçµÄLinux°æ±¾X£WindowÓпÉÄÜÎÞ·¨Æô¶¯¡£´¦ÀíÕâ¸öÎÊÌâµÄ·½·¨ÊÇ£¬Ò»ÖÖÊÇÖ±½ÓÉý¼¶µ½XFree86 4.3£»ÁíÒ»ÖÖÊÇͨ¹ýIntel¹Ù·½µÄÍøÕ¾http://downloadfinder. intel.com/scripts-df/support_ intel.asp?iid=HPAGE+header_support_download&ÏÂÔØÇý¶¯³ÌÐò¡£
ÔÚ¸ÃÁ´½ÓµÄÏÂÔØÒ³Ãæ¿ÉÒÔÑ¡ÔñÏÂÔØRPM°ü£¬Ò²¿ÉÒÔÑ¡ÔñÏÂÔØtar.gzµÄѹËõÎĵµ¡£¾¡¹ÜÕâÁ½Öֵݲװ·½Ê½ÂÔÓв»Í¬£¬µ«ÊǾ¹ýÒÔÏÂÈý²½»ù±¾ÉÏ¿ÉÒÔÈÃÏÔ¿¨ÔÚX-WindowÖÐÕý³£Ê¹Óá£
1.°²×°Çý¶¯³ÌÐò
£¨1£©Ñ¡ÔñÏÂÔØRPM°ü£º
# rpm -Uvh --force intelgraphics_ 20040607_i386.rpm
£¨2£©Ñ¡ÔñÏÂÔصÄÊÇtar.gzѹËõ°üÒªÖ´ÐÐÏÂÃæ´úÂ룺
# tar xzvf IntelGraphics_060704.tar.gz
# cd dripkg
# ./install.sh
Õâʱ³ÌÐò½«×Ô¶¯°²×°£¬°²×°³ÌÐò½«¸üÐÂ/usr/X11R6/modules/drivers/i810_drv.oµÄÇý¶¯³ÌÐò£¬Ê¹ÆäÖ§³ÖеÄi865GоƬ×éÖеÄÏÔ¿¨¡£
ͼ2 ʹÓÃredhat-config-xfree86
2.Ñ¡ÔñÇý¶¯³ÌÐò
ÓÐÈýÖÖ·½·¨¿ÉÒÔÑ¡ÔñÇý¶¯³ÌÐò£º
£¨1£©Èç¹ûÊÇRed HatϵͳÔò¿ÉÒÔÔËÐÐÏÂÃæ´úÂ룺
# redhat-config-xfree86
·çÓêÎÞ×è ÓÚ 2005-10-17 00:16:42·¢±í:
LinuxÉϾ³£Ê¹ÓõÄX
Server³ÌÐò¾ÍÊÇXFree86£¬ËüµÄÈÎÎñÊÇÇý¶¯ÏÔʾ¿¨¡¢ÏÔʾÆ÷¡¢Êó±ê¡¢¼üÅ̵ÈÉ豸£¬ÎªX ClientÌṩÏÔʾ¡¢ÊäÈë·þÎñµÈ¡£
XFree86µÄÖ÷ÒªÎļþĿ¼ÈçÏ£º
XFree86ÎļþËùÔÚµÄÖ÷ҪĿ¼Ϊ/usr/X11R6£»
XFree86µÄ¿ÉÖ´ÐгÌÐòÎļþĿ¼Ϊ/usr/X11R6/bin£»
XFree86×Ô´øµÄÇý¶¯³ÌÐòËùÔÚĿ¼Ϊ/usr/X11R6/lib/modules/drivers£»
XµÄÅäÖÃÎļþ¼°Æô¶¯½Å±¾ËùÔÚĿ¼Ϊ/etc/X11£»
XFree86µÄÆô¶¯ÅäÖÃÎļþĿ¼Ϊ/etc/X11/XF86Config»òXF86Config-4£¬Èç¹ûÕâÁ½¸öÎļþ¶¼´æÔÚ£¬XF86Config-4ÎļþÓÅÏÈ¡£
XFree86×Ô´øÁËһЩÉ豸µÄÇý¶¯£¬¾ßÌåλÖÃÔÚ/usr/X11R6/lib/modules/drivers£¬Èç¹û»úÆ÷ÏÔʾ¿¨Ì«Ð£¬ÎÞ·¨Ê¹ÓÃX£Window£¬±ÈÈçʹÓÃÁËIntelµÄ855GMоƬ×éÖм¯³ÉµÄÏÔ¿¨ÎÞ·¨Æô¶¯X£¬Ôò¿ÉÒÔ¿¼ÂÇÉý¼¶XFree86¡£
µ±Ç°XFree86³ÉÊìµÄ°æ±¾ÊÇ4.3£¬×îеİ汾4.4ÕýÔÚÍêÉÆÖ®ÖС£´ÓÒÔϵÄÁ´½ÓÖпɻñµÃ4.3°æµÄXFree86ËùÖ§³ÖµÄËùÓÐÏÔ¿¨Áбíhttp://xfree86.linuxforum.net/4.3.0/RELNOTES2.html#3¡£
XFree86¹Ù·½°æ±¾ÏÂÔØÍøÕ¾ÊÇhttp://www.xfree86.org/downloads.html £¬ÖйúµÄ¾µÏñÍøÕ¾ÊÇhttp://xfree86.linuxforum.net/downloads.html¡£
Ò²¿ÉÒÔ´ÓÖпƺìÆìÍøÕ¾http://www.redflag-linux.com/source/download/XFree86_driver4.3.tgzÏÂÔØ¡£
ÏÂÔغó°²×°tgz°ü£º
# tar zxvf XFree86_driver4.3.tgz
# sh install.sh