Re: das16 and 8255 support

On Thu, 2003-03-20 at 10:45, Frank Mori Hess wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> On Wednesday 19 March 2003 01:16 pm, Karen Daniels wrote:
> > Hello --
> >
> > I have successfully been using the das16 driver with my Kiethley Metrabyte
> > card, and now wish to begin using the digital I/O features as well.
> >
> > I have recompiled the modules to include 8255 support and am installing the
> > module 8255.o before I install das16.o. Nonetheless, after issuing the
> > comedi_config command I still get the error message "8255 support not
> > configured -- disabling subdevice"
> 
> You are still using the old (compiled without 8255 support) das16 driver.  
> Try make clean, make, make install, modprobe das16 -r,(lsmod and make sure 
> das16 got unloaded), modprobe das16
> 

This has solved the problem of recognizing the 8255, but using dio.c to
toggle a pin which corresonds to one of the 4 digital channels provides
no discernible output. 

Does the following output from the "info" program mean that the
comedi_dio_read and comedi_dio_write routines are not supported? (I
interpreted the 24 channels to mean pins, but the first digital input
channel is actually at pin #25, so I'm worried).

subdevice 4:
  type: 5 (digital I/O)
  number of channels: 24
  max data value: 1
  ranges:
    all chans: [0,5]
  command:
    not supported

Perhaps this is related to the fact that subdevices 2 and 3 refer to the
digital input and output separately, and so I'm not actually accessing
them at all via subdevice 4? If I choose subdevice 2 or 3, then I get
the message "is not a digital I/O subdevice"


Thanks,
Karen Daniels

Received on 2003-03-20Z22:22:51