Re: Advantech PCL 818L and asynchronous aquisition problem

On Fri, 23.04.04, Wiktor Grebla <greblus_at_poczta.onet.pl> wrote:

> comedi_config /dev/comedi0 0x210,7,1,0,1,1 pcl818l

Are you sure your card is actually set to IRQ 7 with the jumpers on the
board?

> No luck, then I thought about RTAI, and prepared following packages, 
> this time based again on Slackware almost vanilla 2.4.22 kernel, 
> rtai-3.0r3 (rthal5 patch), comedi and comedilib from CVS (2004/04/20).

Actually the command support for 818 has only recently been re-enabled in
CVS (Apr 11).
https://cvs.comedi.org/cgi-bin/viewcvs.cgi/comedi/comedi/drivers/pcl818.c

Unless you really need hard realtime there is no need for RTAI (but it
shouldn't interfere).

> I was thinking about removing rtc to release IRQ 8 for DMA mode 3, but 
> DMA mode 1 should work, isnt it?

Yes it should. I've used the comedi driver on both an 818 and 818H in DMA
mode without problems. And rtc isn't going to do you any good because that
code has been disabled in the driver.

> I'll be really greatfull for any help and suggestions.

Try to check /proc/interrupts (and/or insert debugging statements into the
interrupt handler (e.g. re-enable line 776 of pcl818.c)

Post the info here (after re-compiling and re-running the command) and we'll
see where it leads :)

good luck
Nils

Received on 2004-04-24Z09:31:54