Koozali.org: home of the SME Server

Legacy Forums => Experienced User Forum => Topic started by: Mike Drummond on May 07, 2002, 02:01:23 PM

Title: PCI Parallel port configuration
Post by: Mike Drummond on May 07, 2002, 02:01:23 PM
On rebuilding my server I had to replace the ISA parallel port card with a PCI parallel port card.  

The new card requires the paraport module (which already loads) paraport.o
it also requires the paraport_pc.o module to load with the io and irq parameters for both the onboard and card parallel ports.

as insmod reports that the modules are loaded.  What configuration file do they load from ?.  With that information I can change the parameters and hopefully see the parallel port correctly.

Any assistance will be appreciated

Regards
Mike Drummond
Title: Re: PCI Parallel port configuration
Post by: Filippo Carletti on May 07, 2002, 03:28:29 PM
/etc/modules.conf
But, AFAIK, PCI parallels need a driver.
And, I fear, only one model has Linux drivers (don't remember now).
Title: Re: PCI Parallel port configuration - solved
Post by: Mike Drummond on June 24, 2002, 02:03:58 PM
Finally resolved :-)

The Problem was with the suppliers instructions.

To set up all I had to do was
1. Get the address of the parallel port on the mother board using the bios set up.
2. use  more/proc/pci  to get the io address and irq for the PCI Card parallel port.
3. insert the following options line into the /etc/modules.conf following the alias parport_pc ... line
options parport_pc  io= 0x378,0x9400 irq=none, none

Interestingly it would not work correctly if I specified the irqs.  Apparently when you don't the system uses polling and it works better any way.  

Regards
Mike