I' tried to create  user realtime task, and after all effort (and many related 
partial problems solved) I still cannot do blocking variant of 
rtdm_event_timedwait.
1) How can I recognize, that the function is called within proper context / ie. 
is there an rtdm equivalent to xnpod_unblockable_p?
2) Could be the problem elsewhere?
3) My General Standards PCI-24DSI-12 card is not supported by comedi. And I'm 
not familiar with it either. The original driver is not so complicated and the 
port looked as easy work ;-) But waiting inside ioctl or read handler for an 
interrupt is critical for proper functionality.
4) I realized when I make a realtime task (prio 1 ~ lowest, I hope) and in my 
main (nrt) task I call sleep(1), It will fall asleep forever (or maybe to some 
signal).
5) Is it possible to set some event or to send signal/message/... from rt to 
nrt and back?
6) Is there some easy-to-understand documentation? What I can or cannot...?
Petr Cervenka

>
>  Petr Cervenka wrote:
> > Hello,
> > I'm trying to port a  driver of a AD card to RTDM.
> 
> The discussion around blockable contexts made me forget to ask some
> question:
> 
> I heard rumours of some COMEDI (www.comedi.org) port over RTDM recently,
> don't know the current status. Anyway, have you considered that
> abstraction model for your driver? Is there already a COMEDI driver for
> your card in COMEDI? Maybe it's more useful then to through all efforts
> together and get a generic solution running.
> 
> Jan
> 
> 
> 


_______________________________________________
Xenomai-help mailing list
[email protected]
https://mail.gna.org/listinfo/xenomai-help

Reply via email to