Re: using comedi_config with a AT-MIO-16E-10

FWIW, I am running both an NI AT-MIO-16DE-10 & an AT-MIO-16XE-50 & the 
comedi_config statement for both requires an address assigned to the card, 
for example 

/usr/local/sbin/comedi_config /dev/comedi0 ni_atmio 0x200

ISA cards (which use ISAPNP -- plug&play) are different from PCI cards in this 
respect.

I am using SuSE rather than Redhat, so I don't know how Redhat configures PNP, 
but I have the PNP configure statement in /etc/isapnp.conf

That file assigns the address used by the ISA card.

Walt

On Friday 22 July 2005 14:41, Benjamin Michael Nelson wrote:
> I have been trying to get a NI AT-MIO-16E-10 card working on a linux box
> running redhat 9 (actually a Stanford version of Redhat) with a kernel
> 2.4.24-adeos. Comedi is already intalled and has been sucessfully used to
> drive other cards. However the person that installed it has left the lab.
> I modprobe ni_atmio and it seems to be inserted fine but when I try to
> config it I get an error:
> # /usr/local/sbin/comedi_config /dev/comedi0 ni_atmio
> Configure failed!: Input/output error
> Check kernel log for more information
> Possible reasons for failure:
>   Driver not found
> I have the mod inserted:
> ni_atmio               43328   0
> 8255                    4032   0  [ni_atmio]
> rtai_up                48725   0  [ni_atmio]
> comedi_fc               2108   0  [ni_atmio]
> comedi                 32640   0  [ni_atmio 8255 comedi_fc]
> rtai_hal               13676   2  [ni_atmio rtai_up comedi]
> adeos                  18688   0  [ni_atmio rtai_up comedi rtai_hal]`
>
> and I know that the machine is aware of the card because when I dmesg I
> get:
>
> isapnp: Scanning for PnP cards...
> isapnp: Card 'National Instruments, AT-MIO-16E-10'
> isapnp: 1 Plug & Play card detected total
>
> I am basing the config command off of one from the previous makefile for
> the other card (which I assume worked although that card in not in my
> machine so I cant actually test it) that command went like this:
>         sudo /sbin/modprobe ni_labpc
>         sudo /usr/local/sbin/comedi_config /dev/comedi0 pci-1200
> Does anyone know what could be wrong? Do I need arguements at the end of my
> config command? Thanks in advance,
> Benjie Nelson
> Telerobotics Lab
> Stanford University
>
>
>
>
> _______________________________________________
> comedi mailing list
> comedi_at_comedi.org
> https://cvs.comedi.org/cgi-bin/mailman/listinfo/comedi

Received on 2005-07-23Z04:41:24