Re: Fwd: Re: shared interrupts

You're right, RTXI is doing read/write from its out RT task.  You should be 
able to get to the code from http://www.rtxi.org.

I'm not sure my problem is even related to interrupts but I thought it was as 
all of a sudden I started getting the shared interrupt warning.  When I dug 
into it a little deeper I found out that some of the files for comedi on one 
computer were different to the other (same daq card/driver in both).  One 
simply has the rt_printk and the other does not.

I'll post again with a more specific question but right now my symptom is that 
comedi_find_subdevice_by_type is returning an error code.  I'll dig deeper.

-Farhan

On Mon, 23 Jan 2006 08:01 pm, you wrote:
> Ok, it won't actually fail.  But the interrupts will be non-realtime and
> thus will be useless for realtime control.
>
> Are you sure RTXI uses interrutps?  It might just use the periodic task to
> do comedi_data_read() calls.
>
> Anyway.. I wanted to get the code to this RTXI but am having trouble
> actually finding it.  Where did you download it from?
>
> -Calin
>
> On Mon, 23 Jan 2006, Farhan Rizwi wrote:
> > Well it doesn't fail for me. However, I haven't traced through the code
> > the code to figure out what exactly is happening as its not my
> > application.  I'm not querying comedi directly but instead am using a
> > package named RTXI
> >
> > ----------  Forwarded Message  ----------
> >
> > Subject: Re: shared interrupts
> > Date: Mon, 23 Jan 2006 04:52 am
> > From: "Calin A. Culianu" <calin_at_ajvar.org>
> > To: Farhan Rizwi <farhan.rizwi_at_unswalumni.com>
> > Cc: comedi_at_comedi.org
> >
> > I thought comedi wouldn't let you use a driver in RT if the interrupt is
> > shared?  It basically fails and prints a message to the kernel log to
> > that effect.
> >
> > However, I am not sure why that decision was made.  It normally is
> > possible to share linux interrupts with RT interrupts if the drivers are
> > written in such a way so as to support pending the interrupt to linux
> > when it is not for them.  I just assume it's because the comedi drivers
> > don't support this pending feature.
> >
> > On Fri, 20 Jan 2006, Farhan Rizwi wrote:
> >> Hi,
> >>
> >> Are shared interrupts bad for RT?  When executing comedi_config, my ni
> >> driver is assigned irq 5 which is shared with yenta plus some human
> >> interface stuff, it warns. However, my application RTXI runs just fine?
> >>
> >> Thanks for any info
> >>
> >> -Farhan
> >>
> >> _______________________________________________
> >> comedi mailing list
> >> comedi_at_comedi.org
> >> https://cvs.comedi.org/cgi-bin/mailman/listinfo/comedi
> >
> > -------------------------------------------------------
> >
> > _______________________________________________
> > comedi mailing list
> > comedi_at_comedi.org
> > https://cvs.comedi.org/cgi-bin/mailman/listinfo/comedi

Received on 2006-01-23Z22:52:08