- From: Ricky <rfan99_at_hotmail.com>
- Date: Thu, 30 May 2002 14:32:22 -0400
Hi, everybody
I have a NI DAQCard-AI-16E-4 pcmcia DAQ card in my laptop, she is working fine under windows 2000 (at least, she is able to pick up the correct analog signal). Now, I am trying to develop firmware under linux. I am using Red Hat 7.2. I installed both comedi-0.7.59.tgz and comedlib-0.7.18.tgz. I got no problem for driver installation (at least no error message). My kernel version is 2.4.7-10.
When I type "cardctl ident 0" in console, I got:
product info: "National Instruments", "DAQCard-AI-16E-4"
manfid : 0x010b, 0x010c
When I type "modprobe -v ni_mio_cs in console, I got:
/sbin/insmod /lib/modules/2.4.7-10/misc/comedi.o
Using /lib/modules/2.4.7-10/misc/comedi.o
/sbin/insmod /lib/modules/2.4.7-10/pcmcia/ni_mio_cs.o
Using /lib/modules/2.4.7-10/pcmcia/ni_mio_cs.o
When I type "lsmod" in console, I got:
Modules Size Used by
ni_mio_cs 18912 0 (unused)
comedi 19152 0 [ni_mio_cs]
ds 7056 2 [ni_mio_cs]
pcmica 41600 0 [ni_mio_cs ds yenta_socket]
:
:
When I type "comedi_config -v /dev/comedi0 ni_mio_cs" in console, I got:
configuring driver=ni_mio_cs 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,
When I type "cat /proc/comedi" in console, I got:
comedi version 0.7.59
format string: "%2d: %-20s %-20s %4d",i,driver_name,board_name,n,n_subdevics
0: ni_mio_cs BUG 0
If I execute the "./info" demo, I got:
overall info:
version code: 0x00073b
driver_name: ni_mio_cs
board name: BUG
number of subdevice: 0
If I execute the "./tut1" demo, I got:
134525048
How come I got zero subdevice and "BUG" as my board name, also, I do not understand why I got "134525048" from "tut1", Did I make any mistake during the driver installation, do i need any special parameter setting in the comedi_config? Does NI DAQCard-AI-16E-4 take any interrupt?
If anyone have idea or solution, please advice.
Regards
Ricky
Received on 2002-05-30Z17:32:22