#!/bin/sh # # Install Intel X11 Drivers for onboard SVGA controllers # # http://www.Linux-1U.net/MotherBoard/Intel.X11.Patch.uhow2.txt # # # 17-Jul-00 amo Date-of-Birth # # # Where to find the Intel X11 driver patches # ------------------------------------------ # # mount 166.90.172.6:/usr2 /mnt/test #Dir="/mnt/test/Src/Intel" Dir="/mnt/test/Downloads/X11/Intel" # # Dir="/usr2/Src/Intel" # # # Change when ready to install # ---------------------------- # Test="--test" # Test="" # # # Which linux distribution are yoou running # Distro="redhat" #Distro="OpenLinux" # # end of user defined changes # # =========================================================== # # Install the package # -------------------- # docmd() { cmd="$1" # echo "$cmd" $cmd # } # docmd # # ----------------------------------------------------- # # Install the Intel patches for the onboard SVGA i810 chipset # ----------------------------------------------------------- # # Install the kernel modules # docmd "rpm -Uvh $Test $Dir/I810Gtt-0.2-4.src.rpm" # # # Install the X11 server # docmd "rpm -Uvh $Test $Dir/XFCom_i810-1.2-3.i386.rpm" # ls -la /usr/X11R6/bin/XFCom_i810 # # # ls -la /dev/gart docmd "mknod /dev/gart c 174 0" # # make sure agpgart.o is listed in /etc/conf.modules or equivalent # # alias char-major-10-175 agpgart # # # /dev/agpgarti810" - not needed docmd "ls -l /dev/gart /dev/agpgart" # docmd "depmod -a" # # # Make sure your symlink is correct: # ---------------------------------- # if [ ! -f X.org ] ; then docmd "cd /usr/X11R6/bin ; mv X X.org" fi # if [ ! -f X ] ; then docmd "ln -s XFCom_i810 X" fi # # # Now copy over the X11 Config file # --------------------------------- docmd "cp $Dir/XF86Config.Distribution /etc/X11" # # # Check the X server is ble to display say 1024x768 resolution # ------------------------------------------------------------ docmd "XFCom_i810 -probeonly" # # docmd "echo 'if it says cannot find device: /dev/agpgart'" docmd "echo '....you need to compile/install agpgart.o...'" docmd "echo '\t mkdir /tmp/i810'" docmd "echo '\t cd /tmp/i810 ; tar zxvf $Dir/Old/I810Gtt-0.1-6.src.tar.gz'" docmd "echo '\t make ; make install'" docmd "echo '\t insmod agpgart.o'" docmd "echo '\t XFCom_i810 -probeonly'" # # # # end of file