- From: Evan Carey <ecarey_at_zyvex.com>
- Date: Thu, 5 Dec 2002 17:02:25 -0600
Hi,
Thanks David. I also to added the ID to the ni_pci_table just above the
ni_boards.
Also, when I configure the device with:
/usr/sbin/comedi_config /dev/comedi1 ni_pcimio
I get:
comedi1: ni_pcimio: pxi-6713PCI: Found IRQ 15 for device 00:10.0
PCI: The same IRQ used for device 00:07.2
PCI: The same IRQ used for device 00:14.0
MITE:0xd8008000 mapped to cc890000 DAQ:0xd800a000 mapped to cc892000
( irq = 15 )
I'm assuming that's bad? I'm able to run demo/info on the device and I
get back useful information but I can't seem to get demo/outp to work.
I am able to get two other cards I have (/dev/comedi0 and /dev/comedi2)
working fine. The docs only mention setting the IRQ for IDE cards. Can
I do it for PCI cards too?
Thanks,
Evan
-----Original Message-----
From: David Schleef [mailto:ds_at_comedi.org] On Behalf Of David Schleef
Sent: Thursday, December 05, 2002 1:15 PM
To: Evan Carey
Cc: comedi_at_comedi.org
Subject: Re: PXI-6713 ID is 0x2b80
On Thu, Dec 05, 2002 at 10:31:17AM -0600, Evan Carey wrote:
> Hi all,
>
> How does one go about adding a card to ni_pcimio.c. I've got a
PXI-6713
> card (as apposed to a PCI-6713). Is it a big deal to add it? I was
> hoping it would be similar to the PCI version and would only need to
be
> added to the ni_boards array. What are (or how do I learn) the
minimum
> set of ni_board datamembers that must be set when adding the PXI-6713
> element to the ni_boards array?
They probably are identical. It's just a matter of copying the
entry.
dave...
Index: ni_pcimio.c
===================================================================
RCS file: /var/cvs/comedi/comedi/drivers/ni_pcimio.c,v
retrieving revision 1.83
diff -u -r1.83 ni_pcimio.c
--- ni_pcimio.c 24 Nov 2002 15:40:15 -0000 1.83
+++ ni_pcimio.c 5 Dec 2002 19:13:58 -0000
_at__at_ -505,6 +505,16 _at__at_
ao_671x: 1,
caldac: {mb88341,mb88341},/* XXX */
},
+ { device_id: 0x2b80,
+ name: "pxi-6713",
+ n_adchan: 0, /* no analog input */
+ n_aochan: 8,
+ aobits: 12,
+ ao_unipolar: 0,
+ ao_fifo_depth: 16384,
+ ao_671x: 1,
+ caldac: {mb88341,mb88341},/* XXX */
+ },
#if 0
{ device_id: 0x1880,
name: "pci-6731",
Received on 2002-12-05Z23:02:25