- From: Frank Mori Hess <fmhess_at_users.sourceforge.net>
- Date: Fri, 24 Oct 2003 09:04:12 -0500
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Thursday 23 October 2003 11:44 am, Alexander Stapff wrote: > 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. The driver doesn't support commands. The irq/dma stuff in the driver is left over from before commands became the way to do asynchronous things. Noone has bothered to convert it to support commands yet. - -- Frank -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE/mTFf5vihyNWuA4URAnnXAKCduiwEgmH86KKsfLLY2+stZ0REvACeKbyL D0PD1BgJdH81itEG4dgPUl8= =Km/R -----END PGP SIGNATURE-----
Received on 2003-10-24Z13:04:12