Comedi dynamic configuration

Hello everybody,

I am using comedi to use several DAQ cards (mainly advantech pcl818, 
pcl730, ACL-7225B, ...) successfully (this list help me a lot :)). Well, 
now I have the following  problem. There are several different PC with 
different installed card (DAQ, modems, serial ports, etc) and this is 
impossible to use the same IO PORT parameter for each card. Also, some PC's 
have several identical (same model) cards installed  (p.e. 3 PCL-730 card), 
and obviously each one has his IO PORT parameter.

The question is: is there any way to make the same thing that make the 
following commands:
modprobe pcl818
comedi_config /dev/comedi0 pcl818hd 0x300,7

inside a program that use comedilib? (that is , are there api functions 
that can load a module and link a particular dev file with a driver, a 
ioport and a irq?)

Any help will be appreciated.

Thank in advance.

Francisco Garcia.
.

Received on 2003-10-28Z17:55:56