Agilent Technologies DC122 Graphics Tablet User Manual


 
Debian Sarge 3.1 2.6.8-3-686,
Debian 4.0 etch Kernel version 2.6.18-4-686,
Scientific Linux 4.4 Kernel version 2.6.9-11.EL)
The following tar files exist with the driver and library compiled with the GNU gcc version shown:
AcqirisLinux-3.1a-gcc-3.3.tar.gz - compiled under Suse 9.2 with GNU gcc 3.3.
AcqirisLinux-3.1a-gcc-3.4.tar.gz - compiled under SL 4.4 with GNU gcc 3.4.
AcqirisLinux-3.1a-gcc-4.1.tar.gz - compiled under Debian etch with GNU gcc 4.1.
The Kernel Driver source code is available for recompilation for users with other Linux systems.
The appropriate tar file should be copied to a local directory (e.g. your home directory) and then unpacked by using
the following command
tar xzf AcqirisLinux-3.1a-gcc-X.x.tar.gz
The resulting directory AcqirisLinux contains an install script drv-install and a graphical Demo program
demo/AcqirisDemo.
Before installing the driver you have to put the correct version of the Kernel mode driver into acqirisPCI.o. Type
cd AcqirisLinux/lib/modules
and either
cp acqrsPCI.o[.n] acqrsPCI.o (Linux kernel 2.4)
or
cp acqrsPCI.ko[.n] acqrsPCI.ko (Linux kernel 2.6)
where [.n] is the running version of the Linux kernel. This can be obtained by running the command
uname -r
The following versions exist:
acqrsPCI.o.2.4.21-4.EL for Red Hat Enterprise Linux version 3
acqrsPCI.ko.2.6.8-3-686 for Debian 3.1 'sarge'
acqrsPCI.ko.2.6.8-24-smp for Suse 9.2
acqrsPCI.ko.2.6.9-11.EL for Scientific Linux 4.4
acqrsPCI.ko.2.6.18-4-686 for Debian 4.0 'etch'
To install the driver and the load script to the system, you have to get super user privileges and execute the driver
install script by typing,
cd AcqirisLinux
./drv-install add
You can check that the driver is loaded properly with lsmod or dmesg. The drv-install script has the following
additional functionality:
drv-install rem to remove the driver and load script
drv-install res to restart the driver
If you intend to use an Averager, an Analyzer, or a 12-Bit Digitizer you must install the Firmware .bit files. You can
either copy them from the Firmware directory of the CD-ROM or download them from our WEB site. They should
be placed in the Firmware subdirectory of AcqirisLinux. In the case of the CD-ROM, this can be done by continuing
the above command sequence with the following:
cp /mnt/CDRom/Firmware/*.bit Firmware/
2.3.1. Kernel Mode Driver Compilation
For some special kernels, for example SMP, the kernel mode driver will have to be recompiled on the target system.
All files needed to compile a new kernel mode driver are in AcqirisLinux/linuxdriverpci for Kernel 2.4 or in
AcqirisLinux/linux2.6driverpci for Kernel 2.6
The makefile can be used for compilation under a standard compatible distribution. To compile the driver, the kernel
header files need to be installed. Furthermore, depending on the Linux distribution, the kernel source files may need
to be installed. The makefile will try to guess where they are located. If it fails, see instructions inside the makefile
itself to specify manually where these kernel header files are located.
To compile a new kernel under linux-2.4, issue the following commands:
cd linuxdriverpci
User Manual: Family of 10-bit Digitizers Page 21 of 55