PCL 730 driver

Hello all.

I am writing a comedi driver for pcl-730 Advantech card. It's a 32 digital 
inputs (16 isolated and 16 non isolated) and 32 digital outputs (16 
isolated and 16 non isolated) card.

I write the driver beginning with pcm3770, as was suggested by a post in 
this mailing list. Now, when a finish the driver, I need to test that all 
is correct.  I configure de driver using the following instructions as a root:

modprobe pcl730
comedi_config /dev/comedi0 pcl730 0x210

(the card was configured to base address 0x210).

To test the driver I use the example monitor program, available in the 
comedi examples directory. Without connect anything (that is, if I not 
connect any input or output in the card), the program print always 0 for 
digital output, and for some digital input print 0 and for other print 1. I 
think this can be an error.

Now, if I connect some inputs to 0 volt or to 5 volt, using the 27-d cable 
and a protoboard, dc power supply, etc, the information printed by the 
program doesn't change.

I am not sure what is the problem, this seem like the inputs of the card 
are not detected properly. Also, if a change the output of the card, I 
can't detect its by a multimeter.

Please, can someone help me with this error?

Fran.

Received on 2003-08-06Z10:29:34