Re: info question

Thank you for your time in trying this out. I guess I'll look at the code of
the das08 drivers to try to find out what are they exactly doing.

kind regards

Jordi Vendrell



2006/8/19, walt <sartory_at_comcast.net>:
>
> Jordi,
>
> When I do comedi_config for a National Instruments card using the ISA card
> driver ni_atmio, and there is actually a card in the address I specify,
> then
> I get a message telling me which ni card was found at the address. [The
> same
> module supports many different ni cards.] If there is no card  at the
> address, I get an error message that no card was found at the address.
>
> However, I did now try comedi_config using the das08 driver using an
> address
> where nothing was installed, & I got no error message. [I don't have any
> card
> that matches the das08 driver.]
>
> So it appears that some comedi drivers examine the address to see what is
> there & others don't look at all, but just install the driver at the
> specified address without warning.
>
> So I was wrong in saying that no error message means the card has
> responded in
> some way to comedi_config. That is not true for all drivers, and it is not
> true for das08.
>
> Walt
>
> On Thursday 17 August 2006 11:48, you wrote:
> >  > > (1) Run isapnp if the card happens to be an ISA card with isapnp.
> >  > >
> > > > > (2) Run modprobe to load the kernel module for your card.
> > > >
> > > > I used insmod, which does the same (or so I hope :S)
> > >
> > > It should, but since you  are having problems, you should then run
> > > lsmod as root.
> > > That should list all modules loaded, including the one you want.
> >
> > lsmod listed the modules and they seem to be all there
> >
> > > > (3) Run comedi_config for your card.
> > >
> > > Now starts the fun .
> > > ./comedi_config -v /dev/comedi0 das08 0x300
> > > just says
> > > configuring driver=das08 768,0,0,0,0,0 .... (lots of 0s).....,0,0,
> > > comedi0: das08: 0x0300
> > > This would look normal if it wasn't for the fact that the card is NOT
> > > plugged. :(
> > > Just have it on the table.
> > > /proc/comedi also happily states that a das08 board (with 5
> subdevices)
> >
> > are
> >
> > > in their place.
> > > so do you have an idea of what das08 is comedi_config (and friends)
> >
> > talking
> >
> > > about?
> >
> > When I run comedi_config, & it runs correctly, I usually get NO OUTPUT
> AT
> > ALL.
> > The computer merely drops down to the next command line. So I think you
> are
> > seeing an comedi_config error message, but I cannot interpret it.
> > You might find some further information by doing
> > cat /var/log/messages.
> >
> > I got that by adding -v (verbose output). Wihtout it all it says is
> > comedi0: das08: 0x0300
> > Come to think of it I'm using comedi 0.7.60, so surely messages are
> > different
> >
> > one more thing (and I stop :)
> > can you tell me what appears in your /var/log/messages about your card
> so I
> > can compare?
> >
> > kind regards
> >
> >
> > Jordi Vendrell
>

Received on 2006-08-21Z10:59:46