home *** CD-ROM | disk | FTP | other *** search
- file name
-
- OSMKCM03.FAX
-
-
-
-
- TITLE
-
- Configuring OS/2 2.x for Asynchronous Communications.
-
-
-
- DESCRIPTION OF SYMPTOMS
-
- My modem don't work.
-
- My modem hangs the system or session when I try to use it.
-
- My modem works in native DOS and Windows but don't work in OS/2,
- WIN-OS/2 or DOS-OS/2.
-
- After installing OS/2 for Windows my modem don't work under OS/2.
-
-
-
- SUMMARY OF RESOLUTION
-
- 1. Configure Hardware.
-
- 2. Configure device driver for com3 and com4.
-
- 3. Configure device driver for non default com1 and com2.
-
- 4. Configure DOS settings .
-
- 5. Configure application.
-
-
-
- DETAILS OF RESOLUTION
-
- 1. The original ISA machine (the IBM PC-AT) allowed for the
- definition of up to four serial communications ports. However,
- there has never been any hardware architectural standard that
- defined the I/O port addresses or Interrupt Request (IRQ) lines
- associated with communication ports #3 or #4. Over the years a
- convention was established which places the port addresses for
- COM3 and COM4 at 03E8 and 02E8 respectively. This is a
- generally accepted convention and is not a standard. If multiple
- hardware adapters of any kind (not just communications) are
- using the same I/O address, then the effect on your computer
- will be totally unpredictable.
-
-
-
- OS/2 2.0 is an interrupt driven operating system and requires
- unique I/O addresses and Interrupt Request lines (IRQs) for each
- adapter in the system on an ISA computer system. Also, if two
- adapters are sharing the same PHYSICAL IRQ, then the processor
- does not know which adapter (and therefore which OS/2 session)
- should get the Interrupt Request (IRQ). In a single tasking
- operating system such as DOS, the sharing of interrupts is not a
- problem as only one application is in use at a time. OS/2,
- however, presents a different set of problems. If we have
- three, or four serial communications adapters, the probability
- is now pretty high that we might try to use two or more of them
- at the same time. If some of them have previously been set up
- using share interrupts, then the stage is set for mysterious
- things to happen that probably didn't happen under DOS.
-
-
-
- To avoid these problems, make sure that all of your hardware
- adapters have their own unique I/O addresses and IRQ
- assignments. Unfortunately, on an ISA machine, OS/2 has no way
- to query the computer to find out what these settings are.
- Therefore check and set the adapter according to the instruction
- manuals. Use a table with, for each slot include IRQ Base I/O
- DMA. This will be handy later also, if you decide to add more
- adapters at a later time.
-
-
-
- 2. The OS/2 2.x com.sys driver is programmed to recognize COM1
- at i/o address 03F8, IRQ4, and COM2 at i/o address 02F8, IRQ3
- (these are known as the default standards). It does not know
- about any other configurations and requires the following
- parameters to function with configurations that vary from the
- above mentioned default standard.
-
-
-
- In the "Config.sys" file use an editor to make appropriate
- changes.
-
- valid parameters for com.sys:
-
-
-
- DEVICE=X:\OS/2\COM.SYS (n, a, i, s, f)
-
-
-
- X = the drive OS/2 has been installed on
-
- n = the communications port number (1,2,3,4)
-
- a = the port I/o address in hex (03F8, 02F8, 2320)
-
- i = the IRQ level (3,4,5,....15 decimal)
-
- s = the spurious interrupt handler (optional).
-
- D = disable driver if spurious interrupts are greater than
- 1000.
-
- I = ignore (default setting, need not include)
-
- f = 'F' to indicate a 100% buffered NS16550a compatible UART.
- example:
-
- DEVICE=X:\OS/2\COM.SYS (1, 3F8, 5, d, f) - used when com1, i/o ADR.
- 03F8, uses a non-default irq of 5, the driver will be disabled if
- more than 1000 spurious interrupts are received, and a NS16550
- (buffered) UART is in use.
-
-
-
- DEVICE=X:\OS/2\COM.SYS (3, 3E8,10, D) - used when com3, i/o
- ADR. 03E8, uses a level 5 IRQ and the driver will unload if
- spurious interrupts are greater than 1000.
-
-
-
- 4. Make sure the DOS settings have the following settings:
-
-
-
- COM_DIRECT_ACCESS = OFF
-
- COM_SELECT = ALL or COMx (x = the port the application is using)
-
-
-
- 5. Make sure the application is configured for the correct port
- and line settings.
-
- example:
-
- com3 8bits 1stop no parity 9600baud
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-