NI-6014

We have an NI-PCI-6014 we would like to run under Linux. I've seen the 
related archive thread
(Oliver Jespehs et al, Dec 2002) and made the additions to ni_pciomio.c 
as suggested but although the card seems to be recognised, it returns 0 
for sub-devices available and generally seems to be returning nulls or 
meaningless numbers.

Entry added to ni_pcimio.c,  end of static struct pci_device_id 
ni_pci_table[] __devinitdata = {

    { PCI_VENDOR_ID_NATINST, 0x28c0, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0 },   


Entry added to ni_pcimio.c, end of static ni_board ni_boards[]={}   

       {       device_id:      0x28c0,
        name:           "pci-6014",
        n_adchan:       16,
        adbits:         16,
        ai_fifo_depth:  512,
        alwaysdither:   1,
        gainlkup:       ai_gain_4,
        ai_speed:    5000,
        n_aochan:       2,
        aobits:         16,
        ao_fifo_depth:  0,
        ao_unipolar:    0,
        caldac:         {ad8804},
        has_8255:    0,
    },

% lsmod

Module                  Size  Used by
ni_pcimio              31968   0
mite                    3424   0 [ni_pcimio]
8255                    2480   0 [ni_pcimio]
rtai_lxrt              38576   0 (unused)
rtai_sched             41840   0 [rtai_lxrt]
comedi                 24176   0 [ni_pcimio 8255]
rtai                   33552   2 [ni_pcimio mite rtai_lxrt rtai_sched 
comedi]


% lspci
00:00.0 Host bridge: Intel Corporation 82815 815 Chipset Host Bridge and 
Memory
Controller Hub (rev 04)
00:02.0 VGA compatible controller: Intel Corporation 82815 CGC [Chipset 
Graphics Controller]  (rev 04)
00:1e.0 PCI bridge: Intel Corporation 82801BAM PCI (rev 05)
00:1f.0 ISA bridge: Intel Corporation 82801BA ISA Bridge (ICH2) (rev 05)
00:1f.1 IDE interface: Intel Corporation 82801BA IDE U100 (rev 05)
00:1f.2 USB Controller: Intel Corporation 82801BA(M) USB (Hub A) (rev 05)
00:1f.3 SMBus: Intel Corporation 82801BA(M) SMBus (rev 05)
00:1f.4 USB Controller: Intel Corporation 82801BA(M) USB (Hub B) (rev 05)
00:1f.5 Multimedia audio controller: Intel Corporation 82801BA(M) AC'97 
Audio (rev 05)
01:00.0 Class ff00: National Instruments: Unknown device 28c0
01:01.0 Ethernet controller: Accton Technology Corporation SMC2-1211TX 
(rev 10)
01:02.0 Serial controller: Moxa Technologies Co Ltd: Unknown device 1320 
(rev 02)
--------------------------------------------------------------------
  
Running dem/info /dev/comedi0 reports the device ok but shows 0 sub-devices.
Linux version 2.4.7-10, RTAI.

Any ideas folks?

Cheers for any help -Bob

Received on 2003-07-29Z21:08:36