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

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