Problem with M.C./C.B. PCI-DAS1200 commands in realtime

	Hello all,
	Is anybody using commands in realtime with cb_pcidas driver?. It doesn't 
work in my computer. When I issue a certain comand with cmd.c it works fine. 
Then I do the same comand in realtime (RTAI on kernel 2.4.17) with a modified 
version of the example it.c, and dmesg reports the following:

Comedi real-time example #1
comedi_open: 0
comedi_lock: 0
command test returned 0
command returned 0
[0]:0 [1]:0 [2]:0 [3]:0 [4]:0 [5]:0 [6]:0 [7]:0
who's yer daddy? 0
comedi_cancel: 0
comedi_unlock: 0
comedi_close:

	The [x]:0 are the readings obtained in the channels. Notice that 
comedi_close is not reporting any result. The module "it" (from it.c) remains 
installed.
	I run the user-space command again and I get:

...
comedi_command: Permission denied

	Then I remove the module "it" and try again with the user-space command, and 
what I get is:

...
second test returned 0 (success)
start time: 1024662154.233026

	At this point the program seems to freeze. However, I can stop it with 
CTRL+C. I have to reboot the computer to make things work again.
	I guess there's some bug in the cb_pcidas driver, but since I didn't 
implement the commands support, I don't know where to start looking. Frank?. 
Anybody?.
	Regards,
	Ivan Martinez

Received on 2002-06-21Z12:04:31