rtlinux/comedi

Hi,

I'm trying to compile and run the rtlinux/comedi sample code which I found in the comedi mail archive:
https://cvs.comedi.org/pipermail/comedi/2002-May/003066.html

I can compile but I get a segmentation fault from insmod when I try to load the rt_module.o.  
By commenting out code I found that the segmentation fault occurs on the first comedilib API call:

tmp =comedi_find_subdevice_by_type(DEFAULT_COMEDI_MINOR, COMEDI_SUBD_AI,0);

from the init_module routine.

I have a NI 6052e card configured for /dev/comedi0 which I've successfully tested with some of the (user space) 
demo programs provided with comedilib.

What did I do wrong?  How do I resolve this?

I'm using RTLinux-3.1, comedi-0.7.65, comedilib-0.7.19.

Thanks,
Evan

Received on 2002-10-03Z14:45:34