home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Professional / OS2PRO194.ISO / os2 / info / faq / os2_20 / os2help / com3_4.fax < prev    next >
Encoding:
Text File  |  1992-09-17  |  8.8 KB  |  221 lines

  1. COM3 OR COM4 SUPPORT ON AN ISA SYSTEM
  2. -------------------------------------
  3.  
  4.   The original ISA machine (the IBM PC-AT) allowed for the definition of up to
  5.   four serial communication ports.  However, there has never been any hardware
  6.   architectural standard that defined the I/O port addresses or Interrupt
  7.   Request (IRQ) lines associated with communication ports 3 or 4.
  8.  
  9.   Over the years, a convention has developed that places the port addresses for
  10.   COM3 and COM4 at 03E8 and 02E8 respectively.  This is a generally accepted
  11.   convention, but not a standard.  Check the documentation and the settings of
  12.   the adapters in your system to verify your hardware environment.
  13.  
  14.   After you have checked and set the I/O and IRQ values on your COM ports or
  15.   internal modems, you must add this information to the communications
  16.   device-driver (COM.SYS) statement in the CONFIG.SYS file.
  17.  
  18.   You might also need to tell your communications application software where
  19.   the COM ports are.  ProComm software, for example, has a configuration screen
  20.   that enables you to specify these settings.  If the application, operating
  21.   system, and hardware are not in agreement, then the application will not run.
  22.  
  23.   OS/2 COM ports do not need to be defined in sequence.  It is acceptable to
  24.   have a COM4 without having a COM3.  DOS, however, might have difficulty if
  25.   there is a gap in the port definition.  To avoid confusion for DOS, you can
  26.   define COM ports that do not have any physical adapters attached in the
  27.   COM.SYS statement.  These substitute definitions will serve as placeholders.
  28.   COM1 and COM2 are assumed to have standard values and do not need to be
  29.   explicitly set up unless you want to set some non-standard values to
  30.   accommodate your particular configuration.
  31.  
  32.   To enable COM3 or COM4 on an ISA system, place the following in the
  33.   CONFIG.SYS file:
  34.  
  35.     DEVICE=X:\OS2\COM.SYS (n,a,i) (n,a,i)
  36.  
  37.   where
  38.  
  39.    X = the drive where OS/2 is installed
  40.    n = the COM port that you are attempting to access
  41.    a = communications port I/O address (03E8, 02E8, for example)
  42.    i = IRQ level, which is usually a jumper setting on the I/O adapter
  43.  
  44.   For example, to specify that COM3 is at address 03E8 on IRQ5 and that COM4 is
  45.   at address 02E8 on IRQ10, use the following statement (assuming that OS/2 is
  46.   installed on drive C):
  47.  
  48.           DEVICE=C:\OS2\COM.SYS (3,03E8,5) (4,02E8,10)
  49.  
  50.   The I/O address and IRQ level should be noted in the documentation that came
  51.   with your adapter.  Either or both might be fixed values or can be set to a
  52.   range of values via jumpers or switches.  In some cases you might find that
  53.   the values are fixed or that the range of settings available to you is
  54.   insufficient to avoid the sharing conflict.  In that case, you must purchase
  55.   a different, more versatile adapter or accept that you cannot use both
  56.   adapters at the same time.
  57.  
  58. TROUBLE SHOOTING:
  59. ================
  60.  
  61. SYMPTOM:  The COM port is not recognized or does not work at all
  62. ----------------------------------------------------------------
  63.  
  64. A. IF it is an AT, ISA, or EISA machine If trying to use COM
  65.    3 or COM 4:
  66.  
  67.    A.1.  Parameters in DEVICE=C: OS2 COM.SYS in CONFIG.SYS
  68.          are required
  69.  
  70.    A.2.  IRQ for COM port in OS/2 must be different for each
  71.          COM port.  DOS does not handle multiple interrupts
  72.          at the same time but OS/2 does.
  73.  
  74.    A.3.  IRQ 5 is recommended for COM3.  If IRQ 5 is taken,
  75.          IRQ 9 or 10 is recommended.
  76.  
  77.    A.4.  Reboot the system
  78.  
  79.    A.5.  If error message during boot :  COM3 not installed
  80.          because of Interrupt is aleady in use.
  81.          => Check if there is any IRQ conflict with other
  82.             device driver or hardware.
  83.  
  84.  
  85. B. If system (AT bus or MCA) boots without error but any
  86.  of the com port still not working at all
  87.  Issue a Mode command to the problem com port
  88.  => If it indicates com port not installed check
  89.     IRQ conflicts (see A.5)
  90.  => Check Mode command parameters to be correct (See MODE_CMD).
  91.  
  92.  
  93.  
  94. SYMPTOM:  Application appears to hang
  95. -------------------------------------
  96.  
  97. C. When the application is started:
  98.  
  99.    C.1.  IF an OS/2 application
  100.          => Ensure your COM port works in standalone DOS.
  101.          => Using MODE command, turn off IDSR, ODSR, and OCTS
  102.      (See MODE_CMD)
  103.          => (See SUGGESTIONS)
  104.  
  105.    C.2.  Using a DOS application
  106.          => (Start from Letter A.1 Above and work down)
  107.          => If still have problem, remove VCOM.SYS.
  108.  
  109. D. After it has been running for some time:
  110.  
  111.    D.1 Using an OS/2 application and experiencing a lot of
  112.        data loss
  113.        => Lower the baud rate
  114.        => (See SUGGESTIONS)
  115.  
  116.    D.2 Using a DOS application:
  117.  
  118.        D.2.1 A BBS communication package.
  119.              => Set COM_HOLD DOS Setting to ON
  120.              => If using a FOSSIL Driver, then
  121.                If X00.SYS  Rem VCOM.SYS in config.sys, else
  122.    If another FOSSIL Driver. Rem VCOM.SYS won't work
  123.              => If using less than 12MB of memory
  124.              => See (SUGGESTIONS)
  125.  
  126.        D.2.2 A FAX application which uses a COM port.
  127.              => Known limitation need to operate at < 9600
  128.                 bps
  129.              => Use OS/2 application for high speed fax.
  130.                 (Currently FAXPM and BitFax)
  131.  
  132.        D.2.3 An application which uses QBASIC or BASIC CTTY
  133.              => Install COMDD.SYS in C: OS2 MDOS directory
  134.  
  135.        D.2.4 Some other ASYNC application.
  136.              => Check with Chapter 5 of Readme.  Example:
  137.                 -CrossTalk for Windows needs that BUFFER=OFF.
  138.                 -Mirror III is similar to CrossTalk. BUFFER
  139.                  can be controlled with MODE command.
  140.                 -LapLink PRO, IDSR, ODSR, and OCTS of all COM
  141.                  ports must be OFF.  (See MODE_CMD)
  142.                 -LapLink III, remark out VCOM.SYS.
  143.  
  144.        D.2.5 In Auto Answer mode and a call comes in:
  145.               => Known problem APAR PJ04200.
  146.               => Remark out VCOM.SYS in Config.sys
  147.  
  148. SYMPTOM:  OS/2 does not detect FIFO
  149. -----------------------------------
  150.  
  151.    E.1 COM.SYS detects FIFO and utilizes it, however
  152.        VCOM.SYS only emulate as 16450 or 8250 chip and hides
  153.        FIFO from DOS app.  No performance problem is caused
  154.        by this.
  155.  
  156.    E.2 If BUFFER = N/A (not available) is concerned, MODE is
  157.         broken.
  158.  
  159. SYMPTOM:  The line is dropped randomly or fils to download file
  160. ---------------------------------------------------------------
  161.  
  162.    F.1 While switching sessions
  163.  =>change PRIORITY_DISK_IO in config.sys from YES to NO,
  164.    reboot. Go to F.2 below if problem continues
  165.    F.2 Without switching sessions.
  166.  => Increase idle sensitivity to 100
  167.         => If problem happenning during noticeable disk activity
  168.     add additional memory to reduce swapping.
  169.  => Try increasing DISKCACHE in config.sys (e.g. from
  170.     1024 to 2048)
  171.  
  172. SYMPTOM:  Slow through-put, poor performance
  173. --------------------------------------------
  174.  
  175.    G.1 Using an OS/2 application
  176.        => (See SUGGESTIONS)
  177.        => Using MODE command, turn off IDSR, ODSR, and OCTS.
  178.    (See MODE_CMD)
  179.  
  180.  
  181.    G.2 Using a DOS application
  182.        => Increase IDLE_SENSITIVITY to 100
  183.        => (See SUGGESTIONS)
  184.        Note:  Since interrupt must be simuated in VDM
  185.               session, the throughput decreases.
  186.  
  187. MODE_CMD: Use MODE from an OS/2 Command line or DOS
  188.   command line and set IDSR, ODSR, and OCTS equal to OFF.
  189.   eg: MODE COM3:9600,N,8,1,OCTS=OFF,ODSR=OFF,IDSR=OFF
  190.   sets COM3 to 9600, no parity, 8 Data Bits, 1 Stop bit,
  191.   OCTS, ODSR and IDSR to OFF.
  192.  
  193.   If OCTS and/or ODSR are set to ON, the com port will
  194.   not transmit data unless CTS and/or DSR signal lines
  195.   are enabled. If set to OFF, the com port will transmit
  196.   regardless of the state of signal lines CTS and/or DSR.
  197.  
  198.   If IDSR is set to ON, the com port will discard the
  199.   incoming data unless DSR signal line is enabled.
  200.   If set to OFF, the port will receive data regarless
  201.   of the state of DSR.
  202.  
  203.   If any problems transmitting or receiving, set
  204.   OCTS=OFF, ODSR=OFF, IDSR=OFF to ensure that the
  205.   hardware connected to the com port is not preventing
  206.   the port from transmitting or receiving.
  207.  
  208. SUGGESTIONS: => Increase IDLE_SENSITIVITY in DOS Settings
  209.   => Adjust the disk cache in CONFIG.SYS
  210.   => Change PRIORITY_DISK_IO from YES to NO in
  211.      Config.sys
  212.   => To reduce swapping add more memory
  213.  
  214. -------------------------------------------------------------------------------
  215. Thank you for calling the OS/2 2.0 Support Line.  Regarding the problem
  216. reported to the Support Line, we feel that this information may assist
  217. you in resoloving your problem.  If you still require assistance, please
  218. call 1-800-237-5511, and reference your customer number and problem (PMR)
  219. number.  Your Problem Record Number (PMR) should appear on the cover
  220. page of this faxed document.
  221.