Re: Comedi and LXRT

John Sims wrote:
> 
> 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?
> 

Extension of kcomedi calls in user space calls is an RTAI matter. It
seems that such an extension is missing. Have you installed the
comedi_lxrt user space extension module?

Paolo.

Received on 2003-02-11Z08:51:02