home *** CD-ROM | disk | FTP | other *** search
/ Mega Top 1 / os2_top1.zip / os2_top1 / INFO / FAQS / OS2FAX2 / OSMKCM03.FAX < prev    next >
Encoding:
Text File  |  1994-08-13  |  4.4 KB  |  195 lines

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