This file describes the installation and configuration for PCIS-DASK Linux Driver


STEP 1: UNPACK
==============

Decompress the Pdask-Lx.tgz :
     tar xvzf Pdask-Lx.tgz

This will extract the 'pci-dask_322' directory with the following subdirectories:
----------------------------------------------------------------------
drivers/ contains the device modules, configuration file and
         installation script
lib/	 contains the shared library - libpci_dask.so 
util/    contains the configuration utility and un-installation
         script 
samples/ contains some sample programs for ADLink DAQ devices 
docs/	 documentation


* The drivers are compiled as kernel modules and now work for 
  kernel versions 2.4.2.

STEP 2: RESERVE MEMORY
======================

*** Note: If your DO NOT perform any continuous operation, ***
***       you can skip this section and jump to STEP 3.    ***

For contiguous memory allocation, we reserve memory in higher memory space.
And to reserve higher memory for drivers, user should pass a command line
argument to the kernel. User can either use "append=" in /etc/lilo.conf or
add commandline arguments to the Lilo interactive prompt at boot time.
If you add "append=" in /etc/lilo.conf, you should execute /sbin/lilo to 
update the setting.

For example, if you have a 64MB RAM and reserve 4MB memory for devices:

In lilo.conf:
  boot=/dev/hda
  map=/boot/map
  install=/boot/boot.b
  prompt
  timeout=50
  default=linux

  image=/boot/vmlinuz-2.4.2
	  label=linux
	  read-only
	  root=/dev/hda9
	  append="mem=60M"

Or, Lilo interactive prompt:
	LILO: linux mem=60M



STEP 3: CONFIGURE AND INSTALL DEVICE
===================================

Because of the PCI-bus architecture, the NuDAQ PCI devices can be detected
automatically. All user has to do is inserting modules and making nodes for
the devices.

You can finish these manually, or ultilize the applets we provide.

   · pci-dask_322/util/dask_conf           for driver configuration 
   · pci-dask_322/drivers/dask_inst.pl     for driver installation

To configure drivers, execute the utility:

   pci-dask_322/util/dask_conf

The detailed description of dask_conf can be found in Chapter 3 of 
User Guide.

To make driver installation, execute the script as follows: 

   pci-dask_322/drivers/dask_inst.pl

STEP 4: INSTALL LIBRARY
=======================

The library is provided as a shared library. The library is compatible with GLIBC 2.2. To install the library, type the following command:

   cp <InstallDir>/pci-dask_322/lib/libpci_dask.so /usr/lib

In addition, dask_inst.pl also involves the installation for the library.
