- From: Ford, Ingi A <FordIA_at_navair.navy.mil>
- Date: Tue, 9 Sep 2003 08:34:05 -0400
I had the same problem, if your using the same codebase I was using, go to
comedi-0.7.67/comedi/drivers and open up the Makefile and find the DEFS=
line. add to that -DCONFIG_COMEDI_8255=1 so it should look like this now:
DEFS = -DHAVE_CONFIG_H -DCONFIG_COMEDI_8255=1
return to the comedi-0.7.67 directory and do a 'make clean' and a 'make
install' and that should fix it.
Ingi
-----Original Message-----
From: rhamelin_at_lycee-ledantec.ac-rennes.fr
[mailto:rhamelin_at_lycee-ledantec.ac-rennes.fr]
Sent: Tuesday, September 09, 2003 6:53
To: comedi_at_comedi.org
Subject: pci 6025E and 8255 support
Hello --
I have successfully been using the ni_pcimio driver with my 6025
card, and now wish to begin using the digital I/O features as well.
the following output from the "lsmod" program is:
-bash-2.05b# lsmod
Module Size Used by Not tainted
ni_pcimio 28544 0
mite 4684 0 [ni_pcimio]
8255 3520 0
comedi 23956 0 [ni_pcimio 8255]
the following output from the "info" program is:
-bash-2.05b# ./info
overall info:
version code: 0x010000
driver name: ni_pcimio
board name: pci-6025e
number of subdevices: 8
subdevice 0:
type: 1 (analog input)
number of channels: 16
max data value: 4095
ranges:
all chans: [-10,10] [-5,5] [-0.5,0.5] [-0.05,0.05]
command:
start: now|ext|int
scan_begin: timer|ext
convert: timer|ext
scan_end: count
stop: none|count
command fast 1chan:
start: now 0
scan_begin: timer 5000
convert: timer 5000
scan_end: count 1
stop: count 2
subdevice 1:
type: 2 (analog output)
number of channels: 2
max data value: 4095
ranges:
all chans: [-10,10]
command:
not supported
subdevice 2:
type: 5 (digital I/O)
number of channels: 8
max data value: 1
ranges:
all chans: [0,5]
command:
not supported
subdevice 3:
type: 0 (unused)
subdevice 4:
type: 6 (counter)
number of channels: 2
max data value: 1
ranges:
all chans: [0,1]
command:
not supported
subdevice 5:
type: 9 (calibration)
number of channels: 12
max data value: 255
ranges:
all chans: [0,1]
command:
not supported
subdevice 6:
type: 8 (memory)
number of channels: 512
max data value: 255
ranges:
all chans: [0,1]
command:
not supported
subdevice 7:
type: 5 (digital I/O)
number of channels: 10
max data value: 1
ranges:
all chans: [0,1]
command:
not supported
-bash-2.05b#
how can I gain access to the 8255 subdevice? Does it is subdevice 3 ?
Thanks,
Remi Hamelin
_______________________________________________
comedi mailing list
comedi_at_comedi.org
https://cvs.comedi.org/cgi-bin/mailman/listinfo/comedi
Received on 2003-09-09Z11:34:05