|
6. Install the driver. On a RedHat-like
system, installing is simply done by issuing a su followed by make
install This will perform the following tasks: The
modules
/lib/modules/`uname -r`/kernel/drivers/pcmcia/lapcan_cs.o
i and /lib/modules/`uname -r`/kernel/drivers/char/kvpcican.o
will be copied.
If you need the modules somewhere else, please edit the installscript_pcican.sh or
installscript_lapcan.sh. For PCIcan. The lines: alias pcican kvpcican
install kvpcican /usr/sbin/pcican.sh start
remove kvpcican /usr/sbin/pcican.sh stop will be added to
/etc/modules.conf and the file pcican/pcican.sh will be copied to /usr/sbin/.
This is a script that creates the device nodes for PCIcan and is
invoked when the PCIcan driver is loaded/unloaded with modprobe. For
LAPcan. The file config/can is copied to /etc/pcmcia/. This
script handles the device nodes for LAPcan when the card is
inserted/removed. The following lines are then added to /etc/pcmcia/config device
"lapcan_cs" class "can" module "lapcan_cs"
card "Kvaser LAPcan" manfid 0x01ee, 0x001d bind "lapcan_cs"
card "Kvaser LAPcan II" manfid 0x01ee, 0x0073 bind "lapcan_cs"
This states that the driver lapcan_cs.o shall be loaded when cards with
the "manfid" of LAPcan/LAPcan II are inserted and the
"can" script shall be run. |