Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!swrinde!elroy.jpl.nasa.gov!sdd.hp.com!hplabs!hpda!hpcuhc!pollux!jfarley From: jfarley@pollux.svale.hp.com (Jens Farley) Newsgroups: comp.os.os2.misc Subject: Re: Re: Parallel Ports and OS/2 Message-ID: <7110005@pollux.svale.hp.com> Date: 25 Mar 91 21:37:49 GMT References: <7110004@pollux.svale.hp.com> Organization: Hewlett Packard CPCD, Sunnyvale CA Lines: 68 Earlier, I wrote: > Starting > Port Name I/O address Interrupt > --------- ----------- --------- > LPT1 378h IRQ 7 > LPT2 278h IRQ 5 The "Port Name" is kind of meaningless. What I was really trying to say was: 1. A port at 378h must use IRQ7. 2. A port at 278h must use IRQ5. Further, now that I've looked into it, I might add: 3. A port not at 278h must use IRQ7. 4. Any port in a single-port system that fits the above criteria will show up as LPT1. 5. In any dual-port system that fits the above criteria, LPT1 is assigned the port of highest I/O address, and LPT2 is assigned the port of second-highest I/O address. Back to something else I wrote: > Everex OS/2 > Port Name Port Name I/O address Interrupt > --------- --------- ----------- --------- > LPT1 None 3BCh IRQ 7 > LPT2 LPT1 378h IRQ 7 > LPT3 LPT2 278h IRQ 5 You can probably change the "None" to "LPT1". Any single-port system using an Everex board should appear to have an LPT1. Something to note is that if you have two Everex boards, you must configure them as LPT(1|2) and LPT3 for OS/2 to see them as LPT1 and LPT2. Also, if you have a "normal" card that is configured as LPT1 or LPT2, you will need to configure your Everex board as LPT3 or LPT(1|2) respectively to use it. That was the point I was trying to make with the above table. I managed to confuse wbonner@yoda.UUCP (Wim Bonner), who writes: > Just wondering, but where does the port on an IBM (Or Herc) monochrome > card show up? And how does the other port in the machine work as port 2 > automaticly when that port is in the machine, but If I pull the mono card > it acts as port 1? It would help to know how your other port is configured. There's a good chance the mono card is at port 3BC or 378. I don't know about any interrupt it might be using. The I/O addresses of all ports recognized by the ROM BIOS during initialization are saved in descending order. When OS/2 initializes, it uses those port addresses saved by the ROM BIOS and will assign LPT1 to the mono card port if it is first in the list. Let's say the mono card is at port 3BC. Assuming your other port is "normal," then whether it's configured as LPT1 or 2, it will be seen secondly as LPT2. When you remove the mono card, your other port is the only port in the system, so regardless of how it's configured, OS/2 thinks of it as LPT1. Jens "Hopelessly Caught Up In The Details" Farley