RE: pci 6025E and 8255 support

Some things I forgot, You will have to do a rmmod of all the current modules
and reload them, the 8255 line with it compiled correctly on an lsmod should
look something like this:

8255                    3776   0 [ni_pcimio]

and yes it will be device 3, with 24 IO points.

-----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:51:13