Installation_m.txt Driver File Contents (CN700.zip)

==============================================================================
Copyright (C) VIA Technologies, Inc. and S3G Technologies, Inc. 2003

VIA/S3G CLE266 Installation Notes for Linux XFree86
John Sheng 02/15/2003
==============================================================================
This document will direct both special user and end-usr how to install 3D library.

1. For Special User (Directly install all the compatiable 3D library)
    1.1 Installation:
	# ./minstall
    1.2 Uninstallation:
	# ./muninstall
    
2. For Common End-User (User download and compile library source code by self)
    2.1 Install linux kernel version 2.4.18 as following steps
	2.1.1 #mv linux-2.4.18.tar.gz  /usr/src
	2.1.2 #cd /usr/src
	2.1.3 #rm -f linux (if ./linux exist then rename it)
	2.1.4 #mkdir linux-2.4.18
	2.1.5 #ln -s linux-2.4.18 linux
	2.1.6 #tar zxvpf linux-2.4.18.tar.gz 
	2.1.7 #cd linux;#make menuconfig
	2.1.8 #Choose CPU TYPE (Pentium/C3) and MTRR
	2.1.9 #Go to Charter Device
	2.1.10#Disable /dev/agpgart (AGP Support)
	2.1.11#Disable Direct Rendering Manager(DRM)
	2.1.12#edit /etc/lilo.conf, add the follow lines
		image=/boot/vmlinuz
		label=linux-2.4.18
		red-only
		root=/dev/hda(?) -> follow your previous setting
	2.1.13#cd /usr/src/linux-2.4.18
	2.1.14#make dep
	2.1.15#make bzImage
	2.1.16#make modules
	2.1.17#make modules_install
	2.1.18#make install
	2.1.19#lilo
	2.1.20#reboot and choose label linux-2.4.18 to start the new kernel

    2.2 Download XFree86 source tree from dri-sourceforge ftp site:
	2.2.1 Create a 'dri-cvs' Directory 
	      #mkdir dri-cvs
	2.2.2 #cd dri-cvs
	2.2.3 #cvs -d:pserver:anonymous@cvs.dri.sourceforge.net:/cvsroot/dri login
	      (hit ENTER when prompted for a password)
	2.2.4 #cvs -z3 -d:pserver:anonymous@cvs.dri.sourceforge.net:/cvsroot/dri co xc
    2.3 Merge DRI driver into source tree
	2.3.1 Copy DRI driver source code(//CLE/Linux/DRI on Perforce) to
	      /dri-cvs/xc/xc/lib/GL/mesa/src/drv/via
	2.3.2 #cd /dri-cvs/xc/xc/lib/GL/mesa/src/drv/via
	2.3.3 #dos2unix *
	2.3.4 Copy dri.c in DRI driver to /dri-cvs/xc/xc/programs/Xserver/GL/dri
	2.3.5 Copy dri_util.c in DRI driver to /dri-cvs/xc/xc/lib/GL/dri
	2.3.6 Copy glxcmds.c in DRI driver to /dri-cvs/xc/xc/lib/GL/glx
	2.3.7 Copy xf86dri.c in DRI driver to /dri-cvs/xc/xc/lib/GL/dri
    2.4 Make a build tree
	2.4.1 #cd ~/dri-cvs/ 
	2.4.2 #ln -s xc XFree40
	2.4.3 #mkdir build
	2.4.4 #cd build
	2.4.5 #lndir -silent -ignorelinks ../XFree40
    2.5 Edit file ~/dri-cvs/build/xc/config/cf/host.def 
	2.5.1 Search for string "DriDrivers"
	2.5.2 Add "via" into this define
	2.5.3 Add "#define DefaultGcc2i386Opt -g"
	2.5.3 Add "#define MesaUse3DNow NO"
    2.6 Compilation
	2.6.1 cd ~/dri-cvs/build/xc
	2.6.2 make World >& world.log &
	2.6.3 tail -f world.log (to monitor the compile progressing)
    2.7 Install Library
	2.7.1 Copy file ~/dri-cvs/build/xc/lib/GL/GL/libGL.so.1.2 to replace the
	      file in /usr/X11R6/lib/libGL.so.1.2
	2.7.2 Copy file ~/dri-cvs/build/xc/lib/GL/mesa/src/drv/via/via_dri.so
	      into folder /usr/X11R6/lib/modules/dri
	2.7.3 Copy file ~/dri-cvs/build/xc/programs/Xserver/GL/dri/libdri.a
	      into folder /usr/X11R6/lib/modules/extensions
	2.7.4 Make sure the following file is exist: /usr/lib/libglut.so.3.7.0
	      If file does not exist:
	      1) Download libglut.so.3.7.0 from http://dri.sourceforge.net/downloads.phtml 
	      2) Copy this file to /usr/lib/
	      3) Make a symbolic link
	    	    3.1)#cd /usr/lib
		    3.2)#ln -s libglut.so.3.7.0 libglut.so.3 
Download Driver Pack

How To Update Drivers Manually

After your driver has been downloaded, follow these simple steps to install it.

  • Expand the archive file (if the download file is in zip or rar format).

  • If the expanded file has an .exe extension, double click it and follow the installation instructions.

  • Otherwise, open Device Manager by right-clicking the Start menu and selecting Device Manager.

  • Find the device and model you want to update in the device list.

  • Double-click on it to open the Properties dialog box.

  • From the Properties dialog box, select the Driver tab.

  • Click the Update Driver button, then follow the instructions.

Very important: You must reboot your system to ensure that any driver updates have taken effect.

For more help, visit our Driver Support section for step-by-step videos on how to install drivers for every file type.

server: web2, load: 1.44