

                      CUSTOM DRIVERS


Kernel upgrades are common practice in the Linux world and can occur
when performing a system update of your Linux distribution.  As a last
resort, MIL provides a mechanism for relinking its drivers to the
newly installed kernel. In most cases, the new drivers should work
fine. However, if a problem should occur please contact your MIL
vendor.

Follow these instructions to update your drivers:

The official MIL drivers were compiled for kernel 3.8.0-29-generic
.  First make sure no
official drivers are available:

# ls /opt/matrox_imaging/drivers/modules/`uname -r`

If the directory does not exist, you can proceed.

On SuSE, to relink the MIL drivers you need to install the
kernel-source package.  Using Yast, select the package and install
it. Red Hat based distributions don't need to this step.

1. Prepare the kernel source tree.
# cd /usr/src
# mv linux linux.bak                 (backup the old symlink if it exists)
# ln -sf new-kernel-source linux     (symlink the new kernel source directory)
# cd linux
# make cloneconfig
# make modules_prepare

2. Now we're ready to compile and install the drivers.
# cd /opt/matrox_imaging/drivers/src
# make
# make install

At your next reboot, MIL will load your drivers from
/opt/matrox_imaging/drivers/modules/custom/`uname -r`.

