- From: Rafael Vidal Aroca <rafaelaroca_at_uol.com.br>
- Date: Thu, 20 Apr 2006 23:03:51 -0300
Hi guys, i'm trying to use a National Instuments Board with comedi,
but i'm not managing to make it work.
Here is what happens:
sh-2.05b# lspci
00:00.0 Host bridge: ALi Corporation M1531 [Aladdin IV] (rev b3)
00:02.0 ISA bridge: ALi Corporation M1533 PCI to ISA Bridge [Aladdin IV]
(rev c3)
00:03.0 PCI bridge: Digital Equipment Corporation DECchip 21150 (rev 06)
00:04.0 FireWire (IEEE 1394): Texas Instruments PCILynx/PCILynx2 IEEE
1394 Link Layer Controller (rev 04)
00:05.0 Ethernet controller: Digital Equipment Corporation DECchip
21142/43 (rev 41)
00:06.0 VGA compatible controller: S3 Inc. ViRGE/MX (rev 06)
00:0c.0 Non-VGA unclassified device: ALi Corporation M7101 Power
Management Controller [PMU]
sh-2.05b# cat /proc/pci
PCI devices found:
Bus 0, device 0, function 0:
Host bridge: ALi Corporation M1531 [Aladdin IV] (rev 179).
Master Capable. Latency=32.
Bus 0, device 2, function 0:
ISA bridge: ALi Corporation M1533 PCI to ISA Bridge [Aladdin IV]
(rev 195).
Bus 0, device 3, function 0:
PCI bridge: Digital Equipment Corporation DECchip 21150 (rev 6).
Master Capable. Latency=64. Min Gnt=4.
Bus 0, device 4, function 0:
FireWire (IEEE 1394): Texas Instruments PCILynx/PCILynx2 IEEE 1394
Link Layer Controller (rev 4).
IRQ 10.
Master Capable. Latency=64. Min Gnt=3.Max Lat=32.
Non-prefetchable 32 bit memory at 0xf4020000 [0xf4020fff].
Non-prefetchable 32 bit memory at 0xf4010000 [0xf401ffff].
Non-prefetchable 32 bit memory at 0xf4000000 [0xf400ffff].
Bus 0, device 5, function 0:
Ethernet controller: Digital Equipment Corporation DECchip 21142/43
(rev 65).
IRQ 10.
Master Capable. Latency=165. Min Gnt=20.Max Lat=40.
I/O at 0x1000 [0x107f].
Non-prefetchable 32 bit memory at 0xf4021000 [0xf40213ff].
Bus 0, device 6, function 0:
VGA compatible controller: S3 Inc. ViRGE/MX (rev 6).
Master Capable. Latency=64. Min Gnt=4.Max Lat=255.
Non-prefetchable 32 bit memory at 0xf0000000 [0xf3ffffff].
Bus 0, device 12, function 0:
Non-VGA unclassified device: ALi Corporation M7101 PMU (rev 0).
I/O at 0x8000 [0x803f].
I/O at 0x8040 [0x805f].
sh-2.05b# ./comedi_config /dev/comedi1 ni_pcimio
Configure failed!: Input/output error
Check kernel log for more information
Possible reasons for failure:
Driver not found
sh-2.05b# dmesg
comedi1: ni_pcimio:no device found
Available NI device IDs:
/dev/comedi0 seems to work:
from dmesg:
comedi0: comedi_test: 1000000 microvolt, 100000 microsecond waveform
attached
sh-2.05b# lsmod
Module Size Used by Tainted: PF
hello 368 0 (unused)
ni_pcimio 33280 0 (unused)
8255 2208 0 [ni_pcimio]
mite 2500 0 [ni_pcimio]
comedi_test 3324 0
comedi 15376 6 [ni_pcimio 8255 comedi_test]
Finally, the board is a compactpci national instruments ni pxi-6031e
multifunction i/o, connected to an industrial pc from inova computers.
Seems that lspci does not find the board. Is it correct?
thanks for your attention
Rafael
Received on 2006-04-21Z01:03:51