- From: Daniel L Sandin <daniel.larsson_at_dynalyse.se>
- Date: Fri, 13 Dec 2002 08:55:47 +0100
> Hi, > > Thanks for your fast response, Frank. > > Sorry for the confusion. What I meant was the manual of the motherboard of > the PC (PC-620). In that manual, the DMA channel Nr. 1 is assigned to IBM > SDLC. The DMA switch on my measurement board is set to 1, which I thought > was a default position. I did not know that DMA Level was the same as DMA > Channel. Measurement Computing mentions that setting DMA Level to 3 can be > necessary for older types of computers (XT etc) for which the harddisk might > use > DMA Level 1. So, your question, Frank, led me to the trial of setting the > DMA Level of the cio-das16/330 to 3 and initializing the device setting the > DMA option to No. 3. A look in the /proc/dma shows that DMA 3 is assigned to > das16. Unfortunately, I get exactly the same result as previously mentioned. > > When I run example 'tut1' I get a value like 1.3 million something. I > suppose the output should be between 0 and 4096. How can it get bigger than > 4096? Pointer problem? The latter result was what I got when using comedi > 0.7.65. Now I have the 0.7.66-verison which gives the strange output. It > might be a coincidense. I did not note any errors or the like when I > compiled the new version. The Linux kernel is the 2.4.18 from kernel.org. > Maybe there is some important option I have disregarded when compiling the > kernel? > > The CPU (motherboard's) is an Intel PIII Coppermine, 800 MHz, 256kb Cache. > > If you have more hints in stock or anyone else, I would be most happy. > > /Daniel > > > ----- Original Message ----- > From: "Frank Mori Hess" <fmhess_at_users.sourceforge.net> > To: "Daniel L Sandin" <daniel.larsson_at_dynalyse.se>; <comedi_at_comedi.org> > Sent: Friday, December 13, 2002 00:30 > Subject: Re: Command_&_ciodas16/330_problem > > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On Thursday 12 December 2002 12:01 pm, Daniel L Sandin wrote: > > > > According to the PC-board's manual, DMA channels 0,5-7 are available, but > > What manual are you talking about? Das-16 boards can only be set to use dma > channels 1 or 3, and you will need a dma channel to run commands. > > - -- > Frank > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.0.6 (GNU/Linux) > Comment: For info see http://www.gnupg.org > > iD8DBQE9+RwL5vihyNWuA4URAkVxAJ9mRTmh+MNftK6ewrJTcpAb1rTzqwCgzY4+ > 65dYq5LGzU/MQ9jPaD76IlQ= > =XKoL > -----END PGP SIGNATURE----- > > _______________________________________________ > comedi mailing list > comedi_at_comedi.org > https://cvs.comedi.org/cgi-bin/mailman/listinfo/comedi > --- > [This E-mail scanned for viruses] > > >
Received on 2002-12-13Z07:55:47