Multiple parallel ports/IRQ sharing/non-use of IRQ by parallel ports?

Multiple parallel ports/IRQ sharing/non-use of IRQ by parallel ports?

Post by Alvin Garc » Thu, 28 Jul 1994 11:22:50

        I currently have two parallel ports in my PC (one at address 0x3bc and
one at 0x378) and was wondering if it is possible to use them simultaneously
_without_ using more than one interrupt.  I've read that in DOS, most printing
is not interrupt-driven, but instead is accomplished by polling.  Having read
the Printing-HOWTO, I have learned that it is possible (under Linux) to toggle
between an interrupt driver and a polling driver for each parallel port
(/dev/lp0, /dev/lp1) using a utility called "tunelp".  I was wondering if any
of the following configurations are possible for simultaneous use of the two
parallel ports:

1) Have both ports share IRQ7.

2) Have both ports run with the polling driver (using no interrupts).

3) Have one port using IRQ7 and the other port running with the polling driver.

I know that I can set the two parallel ports up using separate interrupts, but
the card with the second parallel port only allows use of IRQ7 or IRQ5 (it's
an 8-bit I/O card), and IRQ7 is already used by my first parallel port (it's
integrated onto the motherboard and its IRQ is not changeable) and IRQ5 is
being used by an old MIDI interface card (whose IRQ is also not changeable).  
Any comments/suggestions are greatly appreciated!



Multiple parallel ports/IRQ sharing/non-use of IRQ by parallel ports?

Post by Alexandra Griff » Thu, 28 Jul 1994 13:34:59

You can set up both ports to not use an IRQ at all; they should have
no problem at all running this way together, although the polling
driver is rather CPU-intensive.  I think polling is the default
behavior for printer ports anyway: I've never had any of mine set up
to use an IRQ and they work just fine.  One port on on IRQ7 and one on
no interrupt (polling) should work also; setting both to the same
interrupt almost certainly won't work without hardware mods...

BTW, disabling printer-port interrupts is usually as easy as pulling
one jumper; in extreme cases (old boards) you'll have to cut the IRQ 7
trace coming in.

Keep in mind that interrupts are needed if you want to use your ports
with PLIP (as communication links to another Linux box), rather than
just as printer ports.

-- alex


1. PLIP - how can I find out what irq and io uses my parallel port?

I try to connect my laptop with my other computer using PLIP - but so
far without success. My first problem is that I dont know what irq and
io uses parallel port. I tried to use all the possible configurations
of '278', '378' and '3bc' and '3-5-7' on both computers, but there are
a lot of possibilities... I tried to find it in BIOS. On 'normal'
computer (you call it 'desktop' in English?) I found that the most
probably it uses 278/5 or 278/7. But on laptop I have a sort of 'bios
for the stupid' and there isn't such information there (only the very
most simple settings). Is there any program that can give me
information on such details?

Z gory dziekuje za porade
Piotrek z Bialegostoku

2. ASUS A7A-266 install problems?

3. parallel port printer and parallel port superdisk

4. Catch all non-user E-mail ? How ?

5. How do I determine parallel port irq etc?

6. What happened to (Java-Linux porting project?)

7. Driver for parallel port IRQ

8. Proxy Setup

9. irq and iterrupt for parallel port

10. parallel port irq

11. Change Parallel Port IRQ?

12. Parallel port IRQ setting problem.

13. Driver for parallel port IRQ