DIO with the parport

I'm trying to setup Comedi for digital io using the parallel port. I have 
successfully compiled and installed the modules and can configure the comedi 
device, but I cannot control the parallel port.

What mode do I need to set the parallel port on (Bi-directional, EPP, ECP, 
Disabled)?

If for instance I set the parport for I/O base 0x378 IRQ 7 in the bios, if I 
issue the command comedi_config /dev/comedi0 comedi_parport 0x378,7, it 
won't work. Syslog complains of an IO conflict.

Instead if I issue comedi_config /dev/comedi0 comedi_parport 0x278,7 it 
works. cat /proc/comedi shows the device and demo/info shows information 
which appears correct. However, I am not able to control the parport using 
the dio.c example.

Any ideas what I'm doing wrong?

Thanks,
Matt

-- 
Don't be a pioneeer. A pioneer is the guy with the arrow through his chest. 
-- John J. Rakos

Received on 2005-09-06Z14:03:09