Re: Newbie problems

On Sat, 2005-05-14 at 13:26 -0400, Frank Mori Hess wrote:
> On Friday 13 May 2005 01:46 pm, Bill Jennings` wrote:
> >
> > I got a clue:  I noticed that in the kernel log file the driver
> > initialization was indicating an iobase of 0.  I fiddled around with
> > adv_pci_dio.c and found that if I change the "PCI Region" for a 1760 to
> > 0 instead of 2, it gets a base address of 0xA000, the same as window.
> 
> Thanks, I've fixed that in cvs.
> 
> > Now, the output function works some of the time, even when it logs a
> > "mailbox request timeout", but the input still never works.  I fiddled
> > with the timing, added delays between the outb() calls, increased the
> > timeout from 250us to 25000us, and increased the retry count from 3 to
> > 10.
> 
> Would you try updating the adv_pci_dio.c file from the branch-0_7 branch of 
> cvs?
> 
> https://cvs.comedi.org/cgi-bin/viewcvs.cgi/comedi/comedi/drivers/adv_pci_dio.c?only_with_tag=branch-0_7&sortby=date
> 
> I've fixed a few things.
> 

Hot diggity!  That fixed it!  Looks like clearing the mbox before
sending a new command fixed the problem.

Thanks a million!  I'm cookin' with gas again!

Sincerely

Bill Jennings
Jennings Computing Services

Received on 2005-05-20Z18:43:19