Re: Crash during a comedi call from a kernel module

On Tue, Feb 18, 2003 at 11:20:10AM -0800, Nicolas Cottaris wrote:
> Hello,
> 
> PLEASE HELP:
> 
> I'm trying to run an rtai/comedi module. The module compliles with no
> problems but when I insmod it it crahes on the first comedilib API call
> from the init_module routine. The next two commands are consecutive in my
> init_module:
> 
> rt_printk("In init_comedi\n");
> AnalogInputSubDevice = comedi_find_subdevice_by_type(COMEDI_DEVICE_MINOR, COMEDI_SUBD_AI,0);

Do you have a

  COMEDI_DEVICE_MINOR = comedi_open("/dev/comedi0");

somewhere?



dave...

Received on 2003-02-18Z21:55:43