Comedi and LXRT

Hi All,
I'm working in implementing an approach as discussed in the comedi_lxrt
section of rtai, where Paolo discusses using
rt_comedi_register_callback.  I have a routine I ported over from a
kernel module that uses a callback to detect an asynch signal coming in
on the printer port, going through comedi_parport.

I have removed the standard lp and parport modules, so that
comedi_config /dev/comedi1 comedi_parport 0x0378,7 functions properly,
and shows up correctly if I look in the output of dmesg.  However, when
I attempt to perform comedi_open, the result comes back NULL, and I
cannot continue.  If I look at the output of dmesg, I see:
BAD: null rt_fun_ext[9]
BAD: null rt_fun_ext[9]

I've worked off of the testa.c example found under the newlxrt section
of the rtai tree.

Any ideas as to why the comedi_open is failing?

Many thanks in advance!
John

-- 
John Sims
Coherent Imaging Systems
7348 South Alton Way
Suite H
Centennial, CO  80112
303.768.9005 (Office)
303.768.0009 (Fax)

Received on 2003-02-11Z00:14:18