- From: Alexander Stapff <alexander_at_bytec-gmbh.de>
- Date: Thu, 23 Oct 2003 18:44:27 +0200
Hi, I am new to comedi and experimenting with the pcl818 driver right now, as I am planning to add PCM-3718HG support after understanding what is going on. My problem is, that the driver doesn't seem to use an IRQ or DMA transfer. I tested both of the following configuration lines in modules.conf (BTW: the card is jumpered correctly): 1. /usr/sbin/comedi_config /dev/comedi0 pcm3718 0x300,0,3,1,1 2. /usr/sbin/comedi_config /dev/comedi0 pcm3718 0x300,7,3,1,1 The driver reports in the first case ioport=0x300, dma_irq=8, dma=3, 8 chans DIFF DAC und in the second case an added irq=7. Adding some printk() to the pcl818_attach() function I could also verify, that the "true" part of "if (!comedi_request_irq(RTC_IRQ, interrupt_pcl818_ai_mode13_dma_rtc, 0, "pcl818 DMA (RTC)", dev))" is executed. (I compiled the kernel with "Enhanced Real Time Clock Support" as a module and the module isn't loaded.) But adding some more printk() to the driver I noticed, that, during analog input, always the pcl818_ai_insn_read() function is called and never the more "advanced" functions. I tested this with the comedilib demo programms and with a programm I wrote myself. As I am new to comedi, I'm sure that I am missing something but I can't figure out what is going wrong. So any help would be appreciated. Thanks for your help, Alexander
Received on 2003-10-23Z15:44:27