home *** CD-ROM | disk | FTP | other *** search
/ Power-Programmierung / CD2.mdf / c / library / os2 / mode / install.doc < prev    next >
Encoding:
Text File  |  1993-04-06  |  25.7 KB  |  638 lines

  1.                                 4/6/93
  2.     -- INSTALL.DOC--xall.sys V1.4.4
  3.  
  4. 6400 Flying Cloud Drive Eden Prairie, MN 55344 (612) 943-9020
  5.  
  6. DigiBoard, GmbH Schmittgasse 64 5000 Cologne 90 Germany 49-2203-81083
  7.  
  8.  
  9. Installation Guide Reference Manual for Universal OS/2 Device Driver for
  10. DigiCHANNEL Intelligent Communications Boards
  11.  
  12. 92000100C
  13.  
  14. DigiBoard, DigiCHANNEL, PC/Xi, PC/16i, PC/8i, PC/Xe, PC/16e, PC/8e,
  15. PC/4e, PC/2e, Xem, PC/Xem, MC/Xem, EISA/Xem, COM/Xi, COM/8i, COM/4i,
  16. MC/Xi, MC/16i, MC/8i, MC/4i and C/X are trademarks of DigiBoard.  All
  17. other brand and product names are the trademarks of their respective
  18. holders.
  19.  
  20.  
  21. Digi International, Inc.  All Rights Reserved
  22.  
  23.  
  24. Information in this document is subject to change without notice and
  25. does not represent a commitment on the part of DigiBoard.  DigiBoard
  26. provides this document as is, without warranty of any kind, either
  27. expressed or implied, including, but not limited to, the particular
  28. purpose.  DigiBoard may make improvements and/or changes in this manual
  29. or in the product(s) and/or the program(s) described in this manual at
  30. any time.  This product could include technical inaccuracies or
  31. typographical errors.  Changes are periodically made to the information
  32. herein; these changes may be incorporated in new editions of the
  33. publication.
  34.  
  35. RESTRICTED RIGHTS:
  36.  
  37. For non-U.  S.  Government use: These programs are supplied under a
  38. license.  They may be used, disclosed, and/or copied only as permitted
  39. under such license agreement.  Any copy must contain the above copyright
  40. notice and this restricted rights notice.  Use, copying, and/or
  41. disclosure of the programs is strictly prohibited unless otherwise
  42. provided in the license agreement.
  43.  
  44. For U.S.  Government use: Use, duplication, or disclosure by the
  45. Government is subject to restrictions as set forth in sub-paragraph
  46. (c)(1)(ii) of the Rights in Technical Data and Computer Software clause
  47. of DFARS 52.227-7013.
  48.  
  49. Table of Contents                3 
  50. Introduction                    4 
  51. The Distribution Diskette            6 
  52. Installing the Device Driver            7 
  53. Global Parameters                7 
  54. Per-Card Parameters                10 
  55. Examples                    13 
  56. Testing the Ports                15 
  57. Troubleshooting                    16 
  58. Error Messages                    18 
  59. DMODE I/O Port Configuration Utility        19 
  60. Examples                    23 
  61. Appendix Synchronous Communications Modes    25  
  62.  
  63. Introduction 
  64.  
  65. This release of the DigiWARE device driver for OS/2 supports the 
  66. entire line of DigiCHANNEL intelligent asynchronous serial communications 
  67. controllers:
  68.  
  69. Micro Channel (MCA) bus: 
  70.     DigiCHANNEL MC/Xi 4, 8 and 16 port boards
  71.     DigiCHANNEL MC C/X cluster controller system 
  72.     DigiCHANNEL MC/Xem PC/AT
  73.  
  74. (ISA) bus: 
  75.     DigiCHANNEL PC/Xe 2, 4, 8 and 16 port boards 
  76.     DigiCHANNEL PC/Xi 8 and 16 port boards 
  77.     DigiCHANNEL COM/Xi 4 and 8 port boards
  78.     DigiCHANNEL ISA C/X cluster controller system 
  79.     DigiCHANNEL PC/Xem 
  80.     
  81. EISA bus: 
  82.     DigiCHANNEL EISA C/X cluster controller system 
  83.     DigiCHANNEL EISA/Xem
  84.  
  85. The device driver software supports multiple boards and multiple board
  86. types in a single machine, and can handle up to 256 ports from any
  87. combination of the boards listed above.  As new products are introduced,
  88. the driver will be upgraded to include those devices as well.  The
  89. driver takes all its configuration information from the device= command
  90. line in CONFIG.SYS, and all DigiCHANNEL intelligent boards in a system
  91. are configured from a single command line.
  92.  
  93. In addition to the device driver, the configuration utility DMODE.EXE is
  94. provided to change communication parameters for individual ports without
  95. rebooting.  DMODE.EXE is similar to the OS/2 MODE command, but has some
  96. added features, and supports communications devices beyond OS/2s range
  97. of COM1 to COM8.
  98.  
  99.  
  100. Before installing this device driver software, complete the installation
  101. of the DigiCHANNEL intelligent communications board(s) in your system,
  102. according to the hardware installation manual provided with the
  103. board(s), and write down your configuration!  The driver supports all
  104. legal I/O and memory address settings, but must be informed of these
  105. settings in the device driver command line.
  106.  
  107. The Distribution Diskette The diskette accompanying this manual contains
  108. all of the files and documentation needed to install the DigiWARE OS/2
  109. Universal Intelligent Device Driver in your system.  A list of these
  110. files follows: 
  111.  
  112. XALL.SYS    The installable device driver.
  113. DMODE.EXE    A MODE work-alike program for configuring I/O ports beyond COM8
  114. INSTALL.DOC    Installation instructions for the current release of the driver.
  115. RELNOTES.DOC    Release notes.
  116. DMODE.DOC    Instructions for the DMODE program.  
  117. XALL.DOC     Programmers information about the driver and applicable 
  118.         system calls.
  119. *.bin        Miscellaneous binary files used by the driver.
  120.  
  121.  
  122.  
  123. Installing the Device Driver Copy all of the files from the distribution
  124. diskette to a single directory on your hard drive.  By default, driver
  125. and data files are expected to be in \DIGI.  The device driver is
  126. invoked by placing its name and configuration arguments into the
  127. systems CONFIG.SYS file.  All DigiCHANNEL intelligent asynchronous
  128. serial communications boards must be installed from a single command
  129. line, which contains complete set-up information for each board.  The
  130. format of the command line is: 
  131.  
  132. device=\digi\xall.sys [/n:names] [/b:baud] [/d:dtype] [/f:digipath] [/v:messagepath] /t:card /p:port /m:mem [, /t:card /p:port /m:mem] [, ...] 
  133.  
  134. Note that the path for XALL.SYS is \DIGI.  This is the default path.  If an 
  135. alternative path is specified with the /f:digipath option, substitute that 
  136. path for \DIGI.
  137.  
  138. The above command line must appear on a single command line in the
  139. CONFIG.SYS file.  This line may be up to 255 characters long.
  140.  
  141. Global Parameters The first six parameters in the command line above are
  142. global parameters, and affect all boards installed.  These parameters
  143. are optional, and may be omitted.  If omitted, default values will be
  144. used.  
  145.  
  146.     /n:names     Defines the naming convention to be use for the
  147.             DigiCHANNEL ports.  names consists of an optional 
  148.             stem followed by the starting device number.  The new 
  149.             stem must be enclosed in double-quotes ("").  If 
  150.             the stem is omitted, COM will be used.  If the 
  151.             number is omitted, 3 will be assumed.  If the /n 
  152.             parameter is not specified, the default name COM3 will 
  153.             be assigned to the first port.  
  154.             
  155.         /n:"digi"0     DIGI0, DIGI1, DIGI2, ...  DIGIn 
  156.         /n:4        COM4, COM5, COM6, ...  COMn 
  157.         /n:"qdev"    QDEV3, QDEV4, QDEV5, ...  QDEVn
  158.  
  159.     /b:baud     Sets the default baud rate to be used for all ports.  
  160.             If this parameter is not specified, all ports will be 
  161.             set to the OS/2 default of 1200 baud.  Baud rates of 
  162.             up to 38,400 are supported.  Use the DMODE.EXE 
  163.             command to set baud rates of individual ports.  
  164.             
  165.         /b:9600        Initializes all ports to 9600 baud.
  166.  
  167.     /d:dtype    Sets the initial data type (parity, character 
  168.             length and number of stop bits).  If this parameter 
  169.             is omitted, the OS/2 default data type of even 
  170.             parity, 7 data bits and 1 stop bit is used.  The
  171.             syntax is [pds], where p is E, O or N; d is 8, 7, 6 
  172.             or 5; and s is 1 or 2.  All three values must be 
  173.             supplied, in the correct order.  
  174.             
  175.         /d:N81        No parity, 8 data bits, 1 stop bit.
  176.  
  177.     /f:digipath    Defines an alternative directory path for the driver 
  178.             and data files.  If this option is present, all files 
  179.             from the distribution diskette must be present in this 
  180.             directory.  
  181.             
  182.         /f:d:\drvr\digi        All data files are in D:\DRVR\DIGI.
  183.  
  184.  
  185.     /v:messagefile    Forces the driver to direct all verbose messages 
  186.             to the file named.  If /v: is given without a 
  187.             filename, messages will be placed in \XALL.MSG.  
  188.             This flag prevents any information from being 
  189.             displayed on the console; useful in some situations 
  190.             as when the machine is a headless server, where 
  191.             calls to Standard Output will cause problems.  Without 
  192.             this flag, all messages will appear on the 
  193.             system console.  The message file is overwritten 
  194.             each time the system is started.  
  195.             
  196.         /v:errmsg    Writes banner and other info to file \ERRMSG.  
  197.         /v:         Writes banner and other info to file \XALL.MSG.
  198.  
  199.     /a:a        Enable the alternate pin assignment of Data Carrier
  200.             Detect (DCD) for all ports (see discussion of Alt-Pin 
  201.             processing.
  202.  
  203. Per-Card Parameters The remaining three parameters are per-card
  204. parameters, and are used to inform the driver of the type of board and
  205. where it is to be addressed in the hosts I/O and memory buses.  These
  206. parameters are mandatory, and must be given for each board!  The
  207. per-card parameters must be given in complete sets, and the sets must be
  208. separated by commas.
  209.  
  210.     /t:card        Defines the card type to the driver.  Legal values 
  211.             for card are:    i for the ISA C/X, 
  212.                     e for the EISA C/X, 
  213.                     m for the MC C/X, 
  214.                     p for Xem (PC/Xem, MC/Xem or EISA/Xem) 
  215.                     x for COM/Xi boards.  
  216.             This parameter must be omitted for PC/Xe, PC/Xi and 
  217.             MC/Xi boards.  The designators i, e, and m must be 
  218.             followed by an additional two digits defining the 
  219.             number and arrangement of DigiCHANNEL C/CON-16 or 
  220.             C/CON-16e concentrators on each host adapter channel.
  221.             If the concentrator(s) are connected to the host 
  222.             adapter via a dial-up or leased line (remote 
  223.             concentrators), each of the two digits must be 
  224.             followed by a parameter, enclosed in parentheses, 
  225.             specifying the synchronous communications mode to 
  226.             be used for that line.  See the Appendix for a 
  227.             list of available synchronous communications modes.  
  228.             
  229.         /t:i10        ISA C/X, one local concentrator on line 1 only.
  230.         /t:e11        EISA C/X, one local concentrator on each of 
  231.                 lines 1 and 2.  
  232.         /t:m21        MC C/X, two local concentrators on line 1 and 
  233.                 1 on line 2.  
  234.         /t:e12        EISA C/X, one local concentrator on line 1, 
  235.                 and two on line 2.  
  236.         /t:i22        ISA C/X, two local concentrators on each of 
  237.                 lines 1 and 2.
  238.         /t:i2(21)3(27)    ISA C/X, two remote concentrators on line 1, 
  239.                 and two remote concentrators on line 2.  
  240.                 The concentrators on line 1 will use mode 
  241.                 #21 (76,800 baud, 8-wire, external clock) to 
  242.                 communicate with the host adapter, and the 
  243.                 concentrators on line 2 will use mode #27 
  244.                 (614,400 baud, 8-wire, internal clock).  See 
  245.                 the Appendix for a list of synchronous 
  246.                 communications modes.  
  247.                 
  248.         /t:x        COM/Xi (4 or 8 channels) 
  249.  
  250.         /t:p           PC/Xem, MC/Xem or EISA Xem
  251.  
  252.     /p:port        Defines the I/O port address for the card.  
  253.  
  254.         /p:300         Board is addressed at I/O port 300h.  
  255.         /p:2005        EISA board (EISA C/X or EISA/Xem host adapter) 
  256.                 is in slot 2 (EISA I/O addresses are 4 
  257.                 digits : the slot number, followed by 005).  
  258.                 When plugging an ISA board (PC/Xe, ISA 
  259.                 C/X host adapter, etc.) into an EISA 
  260.                 machine, the /p parameter must contain the 
  261.                 3-digit I/O address as set by the DIP switches 
  262.                 on the board, and not the 4-digit address 
  263.                 based on the EISA slot number.  
  264.  
  265.     /m:mem        Dual-ported memory starting address.  This is the full 
  266.             32-bit hexadecimal address of the beginning of the 
  267.             boards dual-ported memory.  
  268.             
  269.         /m:d0000    Sets dual-ported memory start address to 
  270.                 0D0000h (in the BIOS expansion area between 
  271.                 640K and 1 megabyte).  
  272.         /m:e80000    Sets start address of E80000h (in the 
  273.                 fifteenth megabyte).  EISA and ISA boards 
  274.                 (except the COM/Xi), may all share the same 
  275.                 memory starting address.  COM/Xi and all 
  276.                 Micro Channel boards must each have 
  277.                 unique memory addresses.
  278.  
  279. Examples The following examples start out with just the minimum to
  280. install a DigiCHANNEL board.  After locating an example for your type of
  281. board, read the rest of the examples for optional situations that may be
  282. appropriate to your application.  Default options will be altered by
  283. your application program(s) when you configure the application.
  284.  
  285. --------
  286.  
  287. Example 1:      COM/Xi One COM/Xi at I/O port 300h, memory start address
  288. D8000h; devices to be named COM5 COM6, etc.  All data files are in the
  289. directory \DIGI: 
  290.  
  291. device=c:\digi\xall.sys /n:5 /p:300 /m:d8000 /t:x 
  292.  
  293. (Note that the above must all appear on one line in CONFIG.SYS)
  294.  
  295. --------
  296.  
  297. Example 2:      PC/Xe, PC/Xi One PC/Xe (or PC/Xi) at I/O port 220h,
  298. memory address D0000h   Ports will be named COM3, COM4, etc.  
  299. (default names).  All data files are in the directory \MISC\DIGI:
  300.  
  301. device=c:\misc\digi\xall.sys /f:\misc\digi /p:220 /m:d0000 
  302.  
  303. (Note that the above must all appear on one line in CONFIG.SYS)
  304.  
  305. --------
  306.  
  307. Example 3:      MC/Xi One MC/Xi at I/O port F1F0h, memory address
  308. FC0000h.  Devices will be named DIGI1, DIGI2, etc.  and will have an
  309. initial baud rate of 38,400.  All data files are in the default
  310. directory \DIGI: 
  311.  
  312. device=c:\digi\xall.sys /n:"digi"1 /b:38400 /p:F1F0 /m:FC0000 
  313.  
  314. (Note that the above must all appear on one line in CONFIG.SYS)
  315.  
  316. --------
  317.  
  318. Example 4:      Two board installation with optional global parameters.
  319. Two PC/Xi (or PC/Xe) boards at I/O ports 320h and 300h, with dual-ported
  320. memory of both starting at D0000h.  Ports will be named COM0, COM1,
  321. etc., and will be initialized to 38,400 baud, no parity, 8 data bits and
  322. 1 stop bit; messages will be contained in the file MESSAGES.MSG located
  323. in the \DIGI directory.  All data files are in the default directory
  324. \DIGI: 
  325.  
  326. device=c:\digi\xall.sys /n:0 /b:38400 /v:\digi\messages.msg /d:N81 /p:320 /m:D0000, /p:300 /m:D0000 
  327.  
  328. (Note that the above must all appear on one line in CONFIG.SYS)
  329.  
  330. ---------
  331.  
  332. Example 5:      PC/Xem One PC/Xem at I/O port 224h, memory start address
  333. C8000h; devices to be named COM3 COM4, etc.  All data files are in the
  334. default directory \DIGI: 
  335.  
  336. device=c:\digi\xall.sys /p:224 /m:C8000 /t:p
  337.  
  338. (Note that the above must all appear on one line in CONFIG.SYS)
  339.  
  340. ---------
  341.  
  342.  
  343. Example 6:      ISA C/X One ISA C/X host adapter at I/O port 228h,
  344. memory address D0000h, with one concentrator on line 1 and two on line
  345. 2.  Devices to be named DCX1, DCX2, etc.  and will have an initial baud
  346. rate of 38,400.  All data files are in the default directory \DIGI:
  347.  
  348. device=c:\digi\xall.sys /n:"dcx"1 /b:38400 /p:228 /m:d0000 /t:i12 
  349.  
  350. (Note that the above must all appear on one line in CONFIG.SYS)
  351.  
  352. -----------
  353.  
  354. Example 7:      EISA C/X with a remote concentrator via an RS-232
  355. synchronous modem.  One EISA C/X host adapter in slot 3, memory address
  356. D8000h, with two local concentrators on line 1 and one remote
  357. concentrator at 9600 baud and external clocking on line 2.  Devices to
  358. be named COM5, COM6, etc.  and will have an initial baud rate of 19,200.
  359. All data files are in the directory \OS2\DIGI:
  360.  
  361. device=c:\os2\digi\xall.sys /n:5 /b:19200 /f:c:\os2\digi /p:3005 /m:d8000 /t:e21(17) 
  362.  
  363. (Note that the above must all appear on one line in CONFIG.SYS)
  364.  
  365. ----------
  366.  
  367. Example 8:      MC C/X and MC/Xem One MC C/X host adapter at I/O port
  368. 228h, memory address D8000h, with one concentrator on line 1 and one
  369. concentrator  on line 2; one MC/Xem at I/O Port 304h, memory address
  370. D0000h.  Devices will be named DIGI1, DIGI2, etc.  and will have an
  371. initial baud rate of 38,400, Alt-Pin enabled, no parity, 8 data bits,
  372. and 1 stop bit.  All data files are in the default directory \DIGI:
  373.  
  374. device=c:\digi\xall.sys /n:"digi"1 /b:38400 /a:a /d:N81 /p:228 /m:d8000 /t:m11, /p:304 /m:d0000 /t:p 
  375.  
  376. (Note that the above must all appear on one line in CONFIG.SYS) 
  377. (Note that for MC C/X and MC/Xem, the addresses 104 and 108 should not be 
  378.  used to avoid possible conflicts)
  379.  
  380. ----------
  381. ----------
  382.  
  383. Testing the Ports The simplest (and probably the best) way to check the
  384. driver and I/O connections is to connect an ASCII terminal to one of the
  385. ports and redirect some output to that port.  If the terminal is
  386. connected to COM3, try something like the following: 
  387.  
  388. dmode com3
  389.  
  390. (this will verify that the driver can find the portthe ports parameters will 
  391. be displayed.) 
  392.  
  393. dmode com3 octs=off odsr=off 
  394.  
  395. (this insures that the hardware handshaking signals CTS and DSR will 
  396. not prevent outputwe are not concerned with flow control at this time.) 
  397.  
  398. dir > com3          
  399.  
  400. (this redirects the current directory to COM3.) The console should simply 
  401. respond by repeating the C:\> prompt, and the current directory 
  402. (in this case, C:\) will appear on the terminal.
  403.  
  404.  
  405.  
  406. Troubleshooting If the C:\> prompt doesn't reappear, and the system
  407. seems to be hung, you probably used a memory start address that is
  408. being used by some other device, or the board is not set for the address
  409. specified in CONFIG.SYS.  Try a different address.  If it still hangs,
  410. try a different I/O port.  If your computer has a memory cache and the
  411. boards memory start address is above 1 megabyte, try either disabling
  412. the cache or moving the board to a low-memory address (D0000 is usually
  413. a good choice).  It is also possible that a conflict exists with another
  414. device driver which has been loaded via CONFIG.SYS.  The XALL.SYS line
  415. should be placed near the end of the CONFIG.SYS, and must not be placed
  416. before the DEVICE=TESTCFG.SYS line.  Due to potential device naming
  417. conflicts, the pair of lines
  418.  
  419. DEVICE=\OS2\COM.SYS and 
  420. DEVICE=\OS2\VCOM.SYS 
  421.  
  422. may cause problems.  Be sure that the XALL.SYS line is placed before 
  423. these lines in CONFIG.SYS.  If the XALL.SYS driver generates an error 
  424. message, try temporarily putting REM in front of the above two lines. 
  425. If this works, there is probably a naming conflict.  You may need to 
  426. add a /n: command line flag to the XALL.SYS line to force the driver to use 
  427. a different base name or start numbering the COM devices at 5 or above.  
  428. If the C:\> prompt does reappear, but there is no output on the terminal 
  429. screen, there is probably a cabling problem.  Make sure that all cable plugs 
  430. are securely seated in receptacles, and that they are configured correctly 
  431. (see the appropriate section of the hardware installation guide for your 
  432. board).  If the terminal displays output, but the data on the screen is 
  433. garbled, the terminal is probably not set with the same baud rate and data 
  434. type as specified in CONFIG.SYS (or the defaults, if not specified).  
  435. Verify these settings.  If everything checks out and you still have 
  436. problems, there could be a problem with your board.  Contact your distributor 
  437. or DigiBoard Technical Support for further assistance.
  438.  
  439. Error Messages If, when the driver is loaded, it cannot find the
  440. board(s), or if they fail to respond properly to commands, certain error
  441. messages may be sent to the console.  These error messages are defined
  442. in the following table:
  443.  
  444. Could not find BIOS file 
  445. Could not find FEP file 
  446. Could not find data file     One or more files were missing from the 
  447.                 digipath directory.  The default digipath 
  448.                 directory is /digi.  If you have loaded the 
  449.                 driver and data files into a different 
  450.                 directory, that directory must be 
  451.                 specified in the xall command line with 
  452.                 the /f:digipath parameter.  
  453.                 
  454. IO Port Not Responding         I/O port address set incorrectly, or 
  455.                 conflicting with some other device.  Verify 
  456.                 setting, or try a different address.  
  457.  
  458. DigiBoard BIOS Will Not Boot    
  459. DigiBoard BIOS Will Not Respond 
  460. DigiBoard FEPOS Will Not     DigiCHANNEL board will not respond to 
  461.                 commands from the driver.  Typically due to a
  462.                 memory conflict, or a memory cache conflict.  
  463.  
  464. Driver Failed to Hook Timer
  465. System Cannot Allocate Memory     A system call to OS/2 has failed.  
  466.  
  467. Invalid Command Line Arguments    Syntax error in the command line in 
  468.                 CONFIG.SYS.  Double-check your entries.
  469.  
  470.  
  471. ========
  472.  
  473. DMODE I/O Port Configuration Utility DMODE is DigiBoards I/O channel
  474. configuration utility.  DMODE functions like the OS/2 MODE command, but
  475. is more flexible, and provides some added features.
  476.  
  477.     -Supports communications device names other than COM1-COM8.  
  478.     -Any single parameter may be changed without causing all others 
  479.      to be reset to default values.  
  480.     -Can be used to enable or disable the Alt-Pin feature on 
  481.      individual ports.  
  482.     -Maintains the familiar MODE syntax.
  483.  
  484. DMODE arguments may be entered in any order, and in many cases may be
  485. abbreviated.  For example, a baud rate of 19,200 may be entered simply
  486. as 19, since within the context of the DMODE command, 19 cannot be
  487. interpreted as anything else.  Arguments may be separated by spaces or
  488. commas, and unspecified parameters are left unchanged.  DMODE returns
  489. the settings of all parameters after any requested changes have been
  490. made.  If no parameters are given, DMODE simply returns the current
  491. settings.  The syntax of DMODE is: dmode port_name [parameters]
  492.  
  493. Port names and parameters are not case sensitive, so upper and lower
  494. case letters may be freely mixed without effect on the operation of the
  495. DMODE command.  The following parameters are accepted:
  496.  
  497. Baud Rate       Baud rates can be specified with 2 to 5 digit designations, 
  498.         according to the following table:
  499.  
  500. Accepted Values     Baud Rate
  501.  
  502. 11 110             110
  503. 15 150             150
  504. 30 300             300
  505. 60 600             600
  506. 12 120 1200         1200
  507. 24 240 2400         2400
  508. 48 480 4800         4800
  509. 96 960 9600         9600
  510. 19 192 1920 19200    19200
  511. 38 384 3840 38400     38400
  512. 56 567 5670 56700     56700
  513.  
  514.  
  515. Character Length Characters may be 5, 6, 7 or 8 bits long.  Enter 
  516. the appropriate number in the DMODE arguments.
  517.  
  518. Parity:  Enter the desired parity checking method with a single
  519. letter E, O, N, M or S for Even, Odd, None, Mark or Space, respectively.
  520.  
  521. Stop Bits: Enter the desired number of stop bits.  Recognized
  522. values are 1, 2 and 1.5.
  523.  
  524. Flags : DMODE supports the following flags in the same way as
  525. the OS/2 MODE command.  Refer to your OS/2 documentation for
  526. explanations of the flags.  To set a flag, enter the mnemonic for the
  527. flag, followed by an equals sign (=), and the desired value (ON, OFF,
  528. etc.).  
  529.  
  530. TO=ON        Read timeout in effect.  
  531. TO=OFF        No timeout.  
  532.  
  533. XON=ON        XON/XOFF handshaking enabled.  
  534. XON=OFF        XON/XOFF handshaking disabled.
  535.  
  536. IDSR=ON        Enables Input DSR Sensitivity.  
  537. IDSR=OFF    Disables Input DSR Sensitivity.  
  538.  
  539. ODSR=ON        Enables Output DSR Sensitivity.
  540. ODSR=OFF    Disables Output DSR Sensitivity.
  541.  
  542. OCTS=ON        Enables CTS output flow control.
  543. OCTS=OFF        Disables CTS output flow control.
  544.  
  545. DTR=ON        Sets DTR to ON or HIGH.  
  546. DTR=OFF        Sets DTR to OFF or LOW.  
  547. DTR=HS        DTR used for input flow control.  RTS Signal Control
  548.  
  549. RTS=ON        Sets RTS to ON or HIGH.
  550. RTS=OFF        Sets RTS to OFF or LOW.  
  551. RTS=HS        RTS used for input flow control.  
  552. RTS=TOG        Toggles RTS from LOW to HIGH, or from HIGH to LOW.  
  553.  
  554. ALT=ON        Internally swaps DSR and DCD signals (see explanation below).  
  555. ALT=OFF        DSR and DCD are not swapped.
  556.  
  557. DigiCHANNEL products use 10-pin RJ-45 connectors in order to support all
  558. of the signals normally available on a 9-wire RS-232 connection.
  559. However, many commercially available RJ-45 connectors have only 8 pins.
  560. 8-pin RJ-45 plugs will fit in a 10-pin jack, but the first and last pins
  561. (numbers 1 and 10) are not connected.  DigiBoard uses these pins for the
  562. modem control signals RI (Ring Indicator, pin 1) and DCD (Data Carrier
  563. Detect, pin 10).  While Ring Indicator is rarely a concern (since most
  564. modems have auto-answer capability), Data Carrier Detect is often
  565. monitored to insure that the modem has established, and is maintaining,
  566. a valid connection with a remote modem.  To facilitate the use of 8-pin
  567. RJ-45 connectors in modem applications, a special DMODE flag, ALT, has
  568. been provided.  ALT instructs the device driver to monitor pin 1 of an
  569. 8-pin RJ-45 for DCD.  See the Hardware Installation guide for your board
  570. for cabling diagrams and pin assignment charts for DB-25 and RJ-45
  571. connectors.
  572.  
  573. Examples 
  574.  
  575. dmode digi12 
  576.  
  577. (Returns the current settings of device digi12.  No changes are made.)
  578.  
  579. dmode com5 2 
  580.  
  581. (Configures COM5 for 2 stop bits.  All other parameters remain unaffected.)
  582.  
  583. dmode com5:38 rts=on 
  584.  
  585. (Configures COM5 for a baud rate of 38,400 and sets RTS to ON or HIGH.)
  586.  
  587. dmode com5 8 
  588.  
  589. (Configures COM5 for 8 data bits.  No other parameters are affected. )
  590.  
  591. dmode comdv83 idsr=off, to=off e 7 12 
  592.  
  593. (Sets COMDV83 to disable Input DSR Sensitivity, disable output timeout, 
  594.  select even parity, 7 data bits and a baud rate of 1200. )
  595.  
  596. dmode com5 38 alt=on 
  597.  
  598. (Sets up COM5 for a baud rate of 38,400, and enables Alt-Pin Processing.)
  599.  
  600. dmode com5 e alt=off 
  601.  
  602. (Sets COM5 for even parity checking and disables Alt-Pin processing.)
  603.  
  604. dmode com3 odsr=off octs=off 
  605.  
  606. (Disables sensing of output flow control signals Clear To Send (CTS) 
  607.  and Data Set Ready (DSR). )
  608.  
  609.  
  610. ===========
  611.  
  612. Appendix
  613.  
  614. Synchronous Communications Modes 
  615.  
  616. The DigiCHANNEL C/X host adapter communicates with attached C/CON-16 
  617. concentrators via two RS-422 synchronous channels (newer concentrators and 
  618. host adapters also support RS-232 synchronous communicationsee your hardware 
  619. Installation Guide).  The default operating mode for these channels is 
  620. 1.2 megabaud, 8-wire, internally clocked.  This provides the fastest 
  621. possible communication between the host adapter and locally connected 
  622. concentrators (in this context, local indicates that concentrators are 
  623. connected directly, via a 4 or 8 wire cable, to the host adapter; 
  624. remote refers to concentrators that are connected to the host adapter via 
  625. data communications devices such as modems or DSUs).  Local concentrators 
  626. always communicate with the host adapter in either an eight wire internally 
  627. clocked mode or a four wire self-clocked mode (in the four wire modes the 
  628. clock is encoded with the data instead of being carried on separate lines as 
  629. in the eight wire modes).  Remote concentrators always use an eight wire 
  630. externally clocked mode (the clock signal is provided by the synchronous modem).
  631. The table on the following page shows the modes that are supported by
  632. the XALL.SYS device driver.  Note that the external clock baud rates are
  633. approximates used to set up time-outs and tuning parameters only.
  634. Values do not need to be exact; select the speed closest to the actual
  635. sped of your synchronous modem.
  636.  
  637.  
  638.