RE: NI PCI-6514 I/O card

Hi,

In the meantime I received the card, and installed comedi and comedilib.
The drivers load fine without errors:

#lsmod
Module                  Size  Used by    Not tainted
ni_pcimio              28512   0
ni_pcidio               4576   0
8255                    2144   0  [ni_pcimio ni_pcidio]
mite                    2548   0  [ni_pcimio ni_pcidio]
comedi                 18000   0  [ni_pcimio ni_pcidio 8255]
...

I have made the device files /dev/comedi[0-15] with make dev:

#ls /dev/comedi*
crw-rw-rw-    1 root     root      98,   0 2004-04-13 12:53 /dev/comedi0
crw-rw-rw-    1 root     root      98,   1 2004-04-13 12:53 /dev/comedi1
...

and adapted /etc/modules.conf.local:

alias char-major-98 comedi
alias char-major-98-0 ni_pcidio
post-install ni_pcidio
PATH=/sbin:/usr/sbin:/usr/local/sbin:$PATH;comedi_config /dev/comedi0
ni_pcidio


This is what dmesg gives after some playing with ni_pcimi0 and
ni_pcidi0, this is clearly not OK:

> comedi: version 0.7.68 - David Schleef <ds_at_schleef.org>
> Available NI device IDs: 0x7088
> comedi0: nidio:no device found
> Available NI device IDs: 0x7088
> comedi0: nidio:no device found
> Available NI device IDs: 0x7088
> comedi: valid board names for ni_pcidio driver are:
>  ni_pcidio
> comedi: valid board names for 8255 driver are:
>  8255
> comedi0: ni_pcimio:no device found
> Available NI device IDs: 0x7088
> comedi0: ni_pcimio:no device found
> Available NI device IDs: 0x7088
> comedi0: ni_pcimio:no device found
> Available NI device IDs: 0x7088
> comedi0: nidio:no device found
> Available NI device IDs: 0x7088

Now, whichever tool I use in the demo directory, or when I use comedi_config, I get errors, mostly opening /dev/comedi0 related:

# comedi_config/comedi_config -v /dev/comedi0 ni_pcidio
configuring driver=ni_pcidio 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
Configure failed!: Input/output error
Check kernel log for more information
Possible reasons for failure:
  Driver not found

Does anyone know what I am doing wrong, do I have to adapth the drivers
to support my PCI-6514 card, or should this work out of the box?

Thanks,
Leen

On Sat, 2004-04-10 at 01:10, Alessandro (Alex) Cerruti wrote:
> Most NI digital input/output cards are supported under the ni_pcidio driver.
> 
> Alex
> 
> -----Original Message-----
> From: comedi-admin_at_comedi.org [mailto:comedi-admin_at_comedi.org] On Behalf Of
> Leen Toelen
> Sent: Wednesday, April 07, 2004 4:32 AM
> To: comedi_at_comedi.org
> Subject: NI PCI-6514 I/O card
> 
> Hi all,
> 
> I am planning on buying a NI PCI-6514 I/O card for use on Linux. This card
> is not mentioned on the supported cards list at comedi.org, but it is
> still fairly new. Does anyone know whether this chipset is supported with
> the normal ni comedi driver, or is it a totally new architecture?
> 
> Specification at: http://www.ni.com/pdf/manuals/370817b.pdf
> 
> Best regards,
> Leen Toelen
> 
> 
> confidentiality notice:
> The information contained in this e-mail is confidential and may be the
> subject of 
> legal professional privilege. It is intended for the authorized use of the
> individual 
> or entity addressed. If the receiver or reader of this message is not the
> intended 
> recipient,  you are hereby notified that any disclosure, copying,
> distribution or 
> use of the contents of this message is prohibited. 
> If this email is received in error, please accept our apologies, delete all
> copies 
> from your system, and notify us at cropdesign_at_cropdesign.com
> 
> 
> 
> _______________________________________________
> comedi mailing list
> comedi_at_comedi.org
> https://cvs.comedi.org/cgi-bin/mailman/listinfo/comedi


confidentiality notice:
The information contained in this e-mail is confidential and may be the subject of 
legal professional privilege. It is intended for the authorized use of the individual 
or entity addressed. If the receiver or reader of this message is not the intended 
recipient,  you are hereby notified that any disclosure, copying, distribution or 
use of the contents of this message is prohibited. 
If this email is received in error, please accept our apologies, delete all copies 
from your system, and notify us at cropdesign_at_cropdesign.com

Received on 2004-04-13Z11:11:54