Re: Fwd: Re: shared interrupts

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-23Z09:01:17