Installation guide

Solaris Installation
CAN-API Installation
Manual • Doc. No.: C.2001.21 / Rev. 3.0 •
© 2000-2007 esd gmbh
Page 85 of 112
4. Installing the CAN Driver
In order to install the driver the script
install
has to be executed as superuser. It copies the
driver files into the target directory, installs and starts the driver. From now on the driver will be
automatically loaded and started with every system start.
After it has been successfully installed, you can access the CAN bus via the NTCAN-API
(including ‘
ntcan.o
’ into the application).
5. Checking the Installation
5.1 For CAN-PCI Modules Only:
If the installation script has been executed correctly, the driver is started and automatically loaded
with every system start.
By entering
"modinfo
|
grep d3x"
into the root you can check whether the driver is
loaded or not. An output similar to the following has to appear:
205 f5d11000 34d9 132 1 c331 (CAN-PCI/331 driver v1.3.3)
5.2 For All Modules:
You can check whether the installation was successful by reading the driver boot message in the
following file:
/var/adm/messages
6. Unloading the CAN driver
Unloading the CAN driver is. For example, necessary after an update of the local firmware for
resetting the processor. For the CAN-ISA/331 module this can be achieved by the following
command, which has to be executed as a superuser:
rem_drv c331i