Re: Problem with a DT3001 board

On Mon, Feb 03, 2003 at 09:47:31PM +0100, H. Miton wrote:
> 
> We have installed Comedi-0.7.65 and Comedilib-0.7.19 in a PC P4 running
> with MANDRAKE 9.0 using a Kernel 2.4.19 We have also installed a DT3001
> board for which we have read in "drivers.txt" :
> 
> We have compiled it using the following instruction
> 
>      cc test2.c -o test2 -lcomedi
> 
> and we have run it.  The output is all cases like this :

This patch should fix it.  By the way, the output of comedi_test
is the preferred method of deminstrating driver bugs.



dave...


Index: dt3000.c
===================================================================
RCS file: /var/cvs/comedi/comedi/drivers/dt3000.c,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -r1.24 -r1.25
--- dt3000.c	21 Nov 2002 07:56:24 -0000	1.24
+++ dt3000.c	3 Feb 2003 18:14:25 -0000	1.25
_at__at_ -786,6 +786,7 _at__at_
 		return ret;
 
 	s=dev->subdevices;
+	dev->read_subdev = s;
 
 	/* ai subdevice */
 	s->type=COMEDI_SUBD_AI;

Received on 2003-02-03Z18:33:15