Re: callback don't works with pcl818 driver (kernel space)

On Wednesday 14 September 2005 09:30 am, Pecenin wrote:
> > My best guess is that you forgot to tell comedi
> > which IRQ to use.
>
> No, I try:
> * comedi_config /dev/comedi0 pcl818 0x300,7,0,1
> and get:
> comedi0: pcm3718:  board=pcm3718, ioport=0x300, irq=7,
> 8chans DIFF DAC
>
> * comedi_config /dev/comedi0 pcl818 0x300,7,0,1,1
> * comedi_config /dev/comedi0 pcl818 0x300,7,1,1
> * comedi_config /dev/comedi0 pcl818 0x300,7,3,1
> all returns ok. Also irqs 4, 5 and 6 and other iobase
> address (acconding to jump on daq).
>

Just because comedi_config doesn't return an error doesn't mean the irq is 
right, or the base address, or the dma channel.  The isa bus is stupid, 
and it is mostly up to you to make sure there are no conflicts and 
everything is consistent.

-- 
Frank

Received on 2005-09-14Z22:20:44