ADLINK cPCI-3538 User Manual
Page 33
 
Installation
• 27
have a different directory name. Please link to /usr/src/linux name.
Installation for cPCI-3544 Linux Driver
1. UNPACK
Decompress the pci3544.tgz (pci3544.tgz is located in 
“X:\SerialComm \cPCI-3544 \Linux” directory; X is the CD-ROM.)) : 
tar xvzf pci3544.tgz
This will extract the 'cPCI_3544' directory in the Linux. 
There are two subdirectories as follows: 
drivers/ contains the device module and the installation script 
util/ the utility for the 422/485 mode setting 
2. INSTALL
DEVICE
Because of the cPCI-bus architecture, the cPCI-3544 devices can 
be detected automatically. All that is required of the user is to insert 
modules and to make nodes for the devices. 
This can be done manually, or use our installation script below for 
driver installation. 
 
 ./<InstallDir>/pci_3544/drivers/3544_inst.pl 
 
Execute the installation script without any parameters, the usage is 
displayed as follows: 
=============================================
Usage:
 3544_inst.pl -cards num_of_3544 -tty TTY_MAJOR -cua 
CALLOUT_MAJOR -path installed_dir 
 
num_of_3544: number of pci3544 installed 
TTY_MAJOR: the Major number for serial ports of cPCI-3544i 
(optional) 
CALLOUT_MAJOR: the Major number for cPCI-3544 callout ports 
(optional) 
installed_dir: the dir. cPCI-3544 installed (optional) 
============================================= 
The optional parameter '-tty' and '-cua' are used to indicate the 
major number for TTY serial ports and Callout ports. The user can 
assign the major number for TTY and Callout ports, or use the 
default setting (70/71) for these ports. 
To install the driver for three cPCI-3544 cards, execute the script as 
follows: 
 ./3544_inst.pl -cards 3 -tty 70 -cua 71 -path <installed dir.>