home *** CD-ROM | disk | FTP | other *** search
/ Mega Top 1 / os2_top1.zip / os2_top1 / INFO / FAQS / OS2FAXES / OS2COMP.FAX < prev    next >
Encoding:
Text File  |  1994-11-23  |  4.3 KB  |  140 lines

  1. OSMKCM03
  2. 09/02/94
  3.  
  4.  
  5. ================================================================
  6. Configuring OS/2 2.x for Asynchronous Communications.
  7. ================================================================
  8.  
  9.  
  10. SYMPTOMS:
  11.  
  12. My modem doesn't work.
  13.  
  14. My modem hangs the system or session when I try to use it.
  15.  
  16. My modem works in native DOS and Windows but doesn't work in OS/2,
  17. WIN-OS/2 or DOS-OS/2.
  18.  
  19. After installing OS/2 for Windows my modem doesn't work under OS/2.
  20.  
  21.  
  22.  
  23. RESOLUTION:
  24.  
  25. 1. Configure Hardware.
  26.  
  27. 2. Configure device driver for com3 and com4.
  28.  
  29. 3. Configure device driver for non default com1 and com2.
  30.  
  31. 4. Configure DOS settings .
  32.  
  33. 5. Configure application.
  34.  
  35.  
  36.  
  37. PROCEDURES:
  38.  
  39. 1. The original ISA machine (the IBM PC-AT) allowed for the
  40. definition of up to four serial communications ports. However,
  41. there has never been any hardware architectural standard that
  42. defined the I/O port addresses or Interrupt Request (IRQ) lines
  43. associated with communication ports #3 or #4.  Over the years a
  44. convention was established which places the port addresses for
  45. COM3 and COM4 at 03E8 and 02E8 respectively.  This is a
  46. generally accepted convention, not a standard. If multiple
  47. hardware adapters of any kind (not just communications) are
  48. using the same I/O address, the effect on your system can
  49. be unpredictable.
  50.  
  51.  
  52.  
  53. OS/2 2.0 is an interrupt driven operating system and requires
  54. unique I/O addresses and Interrupt Request lines (IRQs) for each
  55. adapter in the system on an ISA computer system. If two
  56. adapters are sharing the same PHYSICAL IRQ, the processor
  57. does not know which adapter (and therefore which OS/2 session)
  58. should get the Interrupt Request (IRQ). In a single tasking
  59. operating system such as DOS, the sharing of interrupts is not a
  60. problem as only one application is in use at a time.  OS/2
  61. presents a different set of problems.  If you have
  62. three, or four serial communications adapters, the probability
  63. is high that you might try to use two or more of them
  64. at the same time.  If some of them have previously been set up
  65. using share interrupts, then the stage is set for things to
  66. happen that probably didn't happen under DOS.
  67.  
  68.  
  69. To avoid these problems, make sure that all of your hardware
  70. adapters have their own unique I/O addresses and IRQ assignments.
  71. OS/2 has no way to query an ISA computer to find out what these
  72. settings are. Check and set the adapter according to the
  73. documentation.  Include IRQ Base I/O DMA for each slot. This is
  74. handy if you decide to add more adapters at a later time.
  75.  
  76.  
  77.  
  78. 2. The OS/2 2.x COM.SYS driver recognizes the COM1 at I/O address
  79. 03F8, IRQ4, and COM2 at I/O address 02F8, IRQ3 (these are known
  80. as the default standards). It does not know about any other
  81. configurations and requires the following parameters to function
  82. with configurations that vary from the default standard.
  83.  
  84.  
  85. In the CONFIG.SYS file use an editor to make appropriate
  86. changes.
  87.  
  88. valid parameters for COM.SYS:
  89.  
  90.  
  91.  
  92.         DEVICE=X:\OS/2\COM.SYS (n, a, i, s, f)
  93.  
  94.  
  95.         X = the drive OS/2 has been installed on
  96.  
  97.         n = the communications port number (1,2,3,4)
  98.  
  99.         a = the port I/o address in hex (03F8, 02F8, 2320)
  100.  
  101.         i = the IRQ level (3,4,5,....15 decimal)
  102.  
  103.         s = the spurious interrupt handler (optional).
  104.  
  105.         D = disable driver if spurious interrupts are greater than
  106.             1000.
  107.  
  108.         I = ignore (default setting, need not include)
  109.  
  110.         f = 'F' to indicate  a 100% buffered NS16550a compatible UART.
  111.  
  112.         EXAMPLE:
  113.  
  114.         DEVICE=X:\OS/2\COM.SYS (1, 3F8, 5, d, f)  - used when
  115.          COM1, I/O ADR. 03F8, uses a non-default IRQ of 5, the
  116.          driver is disabled if more than 1000 spurious interrupts
  117.          are received, and a NS16550 (buffered) UART is in use.
  118.  
  119.  
  120.         DEVICE=X:\OS/2\COM.SYS (3, 3E8,10, D)  - used when COM3,
  121.         I/O ADR. 03E8, uses a level 5 IRQ and the driver unloads
  122.         if spurious interrupts are greater than 1000.
  123.  
  124.  
  125. 4. Make sure the DOS settings have the following settings:
  126.  
  127.         COM_DIRECT_ACCESS = OFF
  128.  
  129.         COM_SELECT = ALL or COMx (x = the port the application
  130.                      is using)
  131.  
  132.  
  133.  
  134. 5. Make sure the application is configured for the correct port
  135. and line settings.
  136.  
  137. EXAMPLE:
  138.  
  139.         COM3    8bits   1stop   no parity 9600baud
  140.