Installation guide
Linux Installation
CAN-API Installation
Manual • Doc. No.: C.2001.21 / Rev. 3.0 •
© 2000-2007 esd gmbh
Page 69 of 112
4.1.2.2 Sequence of Installation
1. Unpacking the Archive
In order to unpack the tar-archive file or the tar-archive disk the following command has to be
called:
tar -xvf ican4-vx.y.z.tar
or
tar -xvf /dev/fd0
Note:
‘
ican4
’ has to be entered for the VME-CAN4 module. For other modules
the character combination shown in the following table has to be entered.
The same applies to the following commands.
CAN Module Entry Syntax
VME-CAN2
ican2
VME-CAN4
ican4
Table 14:
Input syntax for unpack the archive
2. Generating the ‘inodes’ (as Superuser)
For VME-CAN2:
cd /dev
mknod --mode=a+rw can0 c 50 0
mknod --mode=a+rw can1 c 50 1
For VME-CAN4 :
cd /dev
mknod --mode=a+rw can0 c 50 0
mknod --mode=a+rw can1 c 50 1
mknod --mode=a+rw can2 c 50 2
mknod --mode=a+rw can3 c 50 3
3. Loading the CAN Driver (as Superuser)
Example for VME-CAN4 (for other boards see table above):
insmod ican4
(3A. Unloading the CAN Driver
)
The CAN driver has to be unloaded, e.g., after an update of the local firmware in order to
reset the processor of the CAN module. The CAN driver of the VME-CAN4, e.g. can be
unloaded by the following command:
rmmod ican4










