Re: no pcmcia support

Ian Abbott wrote:
> It looks like it failed to autoload the rtai modules, probably because
> they are not in "/lib/modules/`uname -r`".  I guess they are in
> "/usr/realtime/modules".  I don't know what the RTAI project recommend
> for getting the modules to load on demand.

This is the script I made to get the kernel ready for my compiled 
Simulink/RTAI-Lab models; first I load the RTAI and Comedi modules, then 
the NI drivers I need, and finally the drivers are configured. You might 
not need all of it, but it is a start.


# RLINSMOD - RTAI-Lab insmod.
#
# Inserts RTAI-Lab and Comedi modules in kernel and
# configures the drivers.
#
# Version 1.0 - January, 2006 - Arno H.A. Stienen
#

/sbin/insmod /usr/realtime/modules/rtai_hal.o
/sbin/insmod /usr/realtime/modules/rtai_lxrt.o
/sbin/insmod /usr/realtime/modules/rtai_fifos.o
/sbin/insmod /usr/realtime/modules/rtai_sem.o
/sbin/insmod /usr/realtime/modules/rtai_mbx.o
/sbin/insmod /usr/realtime/modules/rtai_msg.o
/sbin/insmod /usr/realtime/modules/rtai_netrpc.o
/sbin/insmod /usr/realtime/modules/rtai_shm.o
/sbin/modprobe comedi
/sbin/modprobe kcomedilib
/sbin/insmod /usr/realtime/modules/rtai_comedi.o

/sbin/modprobe ni_670x
/sbin/modprobe ni_pcimio
/sbin/modprobe ni_660x

/usr/local/sbin/comedi_config /dev/comedi0 ni_670x
/usr/local/sbin/comedi_config /dev/comedi1 ni_pcimio
/usr/local/sbin/comedi_config /dev/comedi2 ni_660x



I hope this is useful in some way for you.

Kind regards,
Arno Stienen.
-- 
   ____
  /  |_| <<< IR. ARNO H.A. STIENEN >>>
|_ O  | Biomechanical Engineering | http://www.bw.ctw.utwente.nl
|_|__/  a.h.a.stienen_at_utwente.nl  | +31-(0)53-489-4778
UTwente "There are alternatives: Wouter Bos!"

Received on 2006-08-22Z16:38:59