- From: <vgarrin_at_free.fr>
- Date: Tue, 13 Feb 2007 08:30:46 +0100
Hello, First, I don't really know wether this is really an RTAI or Comedi question, it looks closer to comedi. I have successfully installed rtai 3.4 , comedi 0.7.73 and comedilib 0.7.22 on a 2.6.17.1 linux. (comedi has been compiled with rtai) I have configured Ni labpc 1200 card by using comedi_config I am quite confused concerning the way cmd works and the interrupt handler utilization with RTAI. My understanding is that interrupts related to my cards are handled by linux since cat /proc/interrupts shows me an entry for ni_labpc. But in order to have something running with comedi_command and read, I must add the TRIG_RT flag. Without that flag call to "read" hangs. I have read docs, but can't find really up 2 date explanations. and also have a quick look at some code in rt.c since comedi_request_irq looks to be defined there, but this seems to use request_irq, not rt_request_irq ???? Any help will be greatly appreciated.... My question is can i have interrupts from my card handled as real-time interrupts by RTAI ? Thanks for your support, ---- cat /proc/interrupts tells me : ... 5: 0 XT-PIC ni_labpc ... This stays to 0 (read hangs ?) But cat /proc/rtai/hal tells me: ... ** Real-time IRQs used by RTAI: none ...
Received on 2007-02-13Z07:30:46