home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 36 Tips / 36-Tips.zip / MKCM03.FAX < prev    next >
Text File  |  1994-12-10  |  5KB  |  198 lines

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