home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 4 Drivers / 04-Drivers.zip / 309k.doc < prev    next >
Text File  |  1994-07-18  |  23KB  |  539 lines

  1. OS/2 
  2.  
  3. Introduction 
  4. This OS/2 device driver software documentation is for all of the communication 
  5. boards in the DigiBoard PC/X and MC/X series.  The software is a fully 
  6. interrupt-driven, OS/2 API call compatible device driver, and will support up
  7. to 32 serial communication channels. 
  8.  
  9. Board Differences 
  10. The DigiBoard PC/4 and PC/8 boards are nearly identical, the PC/4 merely having 
  11. four fewer channels.  The DIP switch and jumper setting procedures are the same 
  12. for these boards, as is the device driver software installation.   
  13.  
  14. The PC/16 has no DIP switches to set; its addresses are "burned" into PAL 
  15. (Programmable Array Logic) chips. The device driver software installation
  16. is the same as for the PC/4 and PC/8, with the exception that the Per-Card
  17. parameters are required. (The default settings are for the PC/4 or PC/8,
  18. and won't work with the PC/16.) 
  19.  
  20. Hardware Installation 
  21.  
  22. Before proceeding with the software installation instructions for OS/2, you
  23. must first configure your board(s) for the correct I/O port addresses and
  24. interrupt request (IRQ) line(s), and install the board(s) in your computer
  25. system, according to the hardware installation instructions in the Installation
  26. Guide for your board, and the instructions on the following pages.
  27.  
  28. The device driver allows you to specify I/O address and interrupt parameters
  29. for each board installed; however, for single-board installations, the four
  30. and eight-port boards may be installed with a set of pre-configured addresses
  31. and interrupts, and the driver can be loaded without specifying these para-
  32. meters. The I/O addresses and interrupt parameters must be specified for each
  33. PC/16 board installed.
  34.  
  35.  
  36. PC/X Boards 
  37. PC/4 and PC/8 Boards 
  38. The following page shows the correct DIP switch and jumper settings for the
  39. PC/4 and PC/8 boards in single-board installations (if you have just taken
  40. your board out of the box, it may already be correctly set_in this case, use
  41. the following diagrams to verify the configuration). For configurations other
  42. than the ones given here, refer to the Installation Guide for your board. 
  43. Set PC/4 and PC/8 boards up according to the diagrams on the following page.  
  44.  
  45. DS1: Status port set to 140h:  Switch  1 2 3 4 5 6 7 8 9 10
  46.                                    on: x - x - x x x x x x 
  47.                                   off: - x - x - - - - - - 
  48.  
  49. DIP Switch Settings for I/O Port Addresses
  50.  
  51.                          Switch  1 2 3 4 5 6 7 8  
  52. DS2: Port 1 set to 100h:     on: x - x x x x x x
  53.                             off: - x - - - - - -
  54.  
  55. DS3: Port 2 set to 108h:     on: x - x x x x - x
  56.                             off: - x - - - - x -
  57.  
  58. DS4: Port 3 set to 110h:     on: x - x x x - x x 
  59.                             off: - x - - - x - -
  60.  
  61. DS5: Port 4 set to 118h:     on: x - x x x - - x
  62.                             off: - x - - - x x -
  63.  
  64. DS6: Port 5 set to 120h:     on: x - x x - x x x
  65.                             off: - x - - x - - -
  66.  
  67. DS7: Port 6 set to 128h:     on: x - x x - x - x 
  68.                             off: - x - - x - x -
  69.  
  70. DS8: Port 7 set to 130h:     on: x - x x - - x x
  71.                             off: - x - - x x - -
  72.  
  73. DS9: Port 8 set to 138h:     on: x - x x - - - x
  74.                             off: - x - - x x x -
  75.  
  76. IRQ Selection for PC/4 & PC/8 Boards.
  77.  
  78. IRQ   |x| | | | | |   |x|x|x|x|x|x|x|x| | |      | X X |   | X X |
  79.  3    |x| | | | | |   |x|x|x|x|x|x|x|x|x|x|        P2        P3 
  80.        |              | | | | | | | | |x|x|     Jumper middle 2 pins       
  81.        J85            J1      -->       J10   
  82.  
  83.  
  84. PC/16 Boards 
  85. The Status Port and I/O Port address selections are made in a different manner
  86. for the PC/16 board.  Instead of DIP switches, the addresses are programmed
  87. into special integrated circuits called PALs (for Programmable Array Logic). 
  88. The PC/16 board has two PAL chips which determine its I/O Port and Status
  89. Port addresses.   
  90.  
  91. The PC/16 must have PAL chips numbered 40000246 (in socket U58) and 4000247
  92. (in socket U46) for the device driver software to work with OS/2.  If for 
  93. some reason you have different PAL chips, call DigiBoard Customer Service at 
  94. (612) 943-9020. 
  95.  
  96.   
  97.     ---------------------------------------- __
  98.     |                                      |-|
  99.     |                                      | | 
  100.     |            Pal Chips                 | |
  101.     |              u46                     |-|
  102.     |______________u58______             __| |
  103.                             |____________|   |
  104.  
  105.  
  106.  
  107. Three jumpers must be installed on the PC/16 board to complete the hardware 
  108. configuration.  To select IRQ3, place a jumper on J2, as shown below.  Other 
  109. IRQs may be selected (see the PC/X and MC/X Installation Guide). 
  110.  
  111.   
  112. IRQ   | |x| | | | | 
  113.  3    | |x| | | | | 
  114.          |         
  115.         J2       
  116.  
  117. A jumper must also be installed across pins 2 & 3 (the bottom two pins) of J7.
  118. See the figure below: 
  119.       | |
  120.       |x|
  121.    J7 |x|
  122.  
  123. Finally, be sure that there is a jumper installed on the daisy-chain connector,
  124. P3, located in the upper right-hand corner of the board. 
  125.  
  126.    P3 |XX| 
  127.  
  128.  
  129. Custom Installation 
  130. Choosing Your Own Addresses and Interrupts 
  131. If you are installing multiple PC/X boards, or if you wish to use address and 
  132. interrupt parameters other than the default selections, you can custom-
  133. configure your board(s) with parameters of your choice. See the guidelines
  134. below for setting up your own I/O Port and Status Port addresses. 
  135.  
  136. I/O Port and Status Port Address for 4 and 8-Port Boards 
  137. Each PC/X board must have its own unique I/O Port and Status Port addresses, as 
  138. well as a unique IRQ selection. Each range of addresses you choose must not be 
  139. used by any other device in your computer.   
  140.  
  141. When loading the OS/2 device driver, only the Status Port address is specified.
  142. The driver expects to find the I/O Ports in the 64 bytes (40 hex) preceding the 
  143. Status Port (each I/O Port uses eight contiguous bytes). Thus, if the Status
  144. Port address is set to 140h, the I/O Ports must begin at 100h. If the Status
  145. Port is addressed at 2A0h, the I/O Ports must begin at 260h. See the Install-
  146. ation and Reference Manual for your board for details on how to set I/O Port
  147. and Status Port addresses. 
  148.  
  149. Here are some legal address combinations for the four and eight-port PC/X
  150. boards. 
  151.  
  152. Status            Serial Port 
  153. Port               (Channel)
  154.  
  155.       1    2    3    4    5*   6*   7*   8*
  156. 140h 100h 108h 110h 118h 120h 128h 130h 138h
  157.  
  158. 188h 148h 150h 158h 160h 168h 170h 178h 180h 
  159.  
  160. 250h 210h 218h 220h 228h 230h 238h 240h 248h
  161.  
  162. 2A0h 260h 268h 270h 278h 280h 288h 290h 298h
  163.  
  164. *8-port boards only 
  165.  
  166. This manual shows the suggested DIP switch and jumper settings for installing
  167. one board. A Status Port address of 140h is chosen, resulting in I/O Port 
  168. addresses of 100h, 108h, 110h, 118h, 120h, 128h, 130h and 138h. If you choose 
  169. to use these settings, set your DIP switches as shown in the figures. If you
  170. are installing more than one board, you'll have to pick more addresses as de-
  171. scribed above. 
  172.  
  173. When setting the DIP switches on the PC/4 and PC/8 boards, switches 8, 9 and
  174. 10 of switch bank DS1 and switch 8 of switch banks DS2_DS9 (DS2_DS5 for the
  175. PC/4) must be set to "ON" to enable the ports.
  176.  
  177. Choosing an Interrupt 
  178. Each PC/X board installed must have its own unique Interrupt Request line
  179. (IRQ), and the IRQ you choose must not be used by any other device in your
  180. computer. The IRQ choices are: 2, 3, 4, 5, 6, and 7.  Each board uses a single
  181. IRQ for all of its channels. See the Installation Guide for your board for
  182. information on selecting the IRQ. Note that while the PC/X board can support
  183. two separate IRQ lines on one board, the OS/2 driver supports only one IRQ
  184. per board. 
  185.  
  186. Remember which addresses and interrupts you choose for each board. You will
  187. have to supply this information when loading the device driver.
  188.  
  189.  
  190. MC/X Boards 
  191. MC/X boards are configured through the POS (Programmable Option Select) 
  192. feature of Micro Channel computers.  To install and configure your MC/X board, 
  193. follow the instructions in the PC/X and MC/X Installation Guide. 
  194. 1.  Boot your system from the IBM Reference Diskette. 
  195. 2.  Make a working copy of the reference diskette by selecting the "Backup the 
  196.     Reference Diskette" option. 
  197. 3.  Select the "Copy an Option Diskette" option, and follow the instructions on 
  198.     the screen to copy the ADF (Adapter Description File) files from the 
  199.     DigiWARE ADF Files diskette to the working copy of the reference diskette 
  200.     just created. 
  201. 4.  Turn off the computer and install the MC/X board in an available slot in
  202.     your computer. Follow the instructions in the MC/X Installation Guide. 
  203. 5.  Boot the system from the working copy of the IBM reference diskette made in 
  204.     Step 3.  Run the Automatic Configuration. 
  205. 6.  Select "View Configuration".  You will see something like the following: 
  206.  
  207. View Configuration 
  208. Slot 3 - DigiBoard MC/8 
  209.     UART Address Range . . . . . . . . . . . . . 0xDB80 -> 0xDBC0 
  210.     Com2 Status  . . . . . . . . . . . . . . . . Disabled 
  211.     Interrupt Select . . . . . . . . . . . . . . INT 5
  212.  
  213. Make a note of the UART Address Range and the Interrupt Select.  This is the 
  214. information you will need to set up the OS/2 Driver.  Also verify that "Com2 
  215. Status" is set to "Disabled".  If it is not, you can change it by selecting
  216. the "Set Configuration" menu. 
  217.  
  218. The UART Address Range provides only the address of the first port on the
  219. board, and the address of the status port. The following list provides all
  220. of the addresses needed to configure the OS/2 device driver: 
  221.  
  222. MC/4, MC/8: 
  223. 0xDB80 * 0xDBC0 
  224.     DB80h, DB88h, DB90h, DB98h,  
  225.     DBA0h, DBA8h, DBB0h, DBB8h. 
  226. 0xDC00 * 0xDC40 
  227.     DC00h, DC08h, DC10h, DC18h, 
  228.     DC20h, DC28h, DC30h, DC38h. 
  229. 0xBB80 * 0xBBC0 
  230.     BB80h, BB88h, BB90h, BB98h, 
  231.     BBA0h, BBA8h, BBB0h, BBB8h. 
  232. 0xBC00 * 0xBC40 
  233.     BC00h, BC08h, BC10h, BC18h, 
  234.     BC20h, BC28h, BC30h, BC38h. 
  235. 0xAB80 * 0xABC0 
  236.     AB80h, AB88h, AB90h, AB98h, 
  237.     ABA0h, ABA8h, ABB0h, ABB8h. 
  238. 0xAC00 * 0xAC40 
  239.     AC00h, AC08h, AC10h, AC18h, 
  240.     AC20h, AC28h, AC30h, AC38h. 
  241. 0xCB80 * 0xCBC0 
  242.     CB80h, CB88h, CB90h, CB98h, 
  243.     CBA0h, CBA8h, CBB0h, CBB8h. 
  244. If you are installing an MC/4 board, only the first four addresses in each
  245. list are pertinent. 
  246.  
  247. MC/16: 
  248. 0x3000 * 0x307F 
  249.     3000h, 3008h, 3010h, 3018h, 3020h, 3028h, 3030h, 3038h, 
  250.     3040h, 3048h, 3050h, 3058h, 3060h, 3068h, 3070h, 3078h. 
  251. 0x4000 * 0x407F 
  252.     4000h, 4008h, 4010h, 4018h, 4020h, 4028h, 4030h, 4038h, 
  253.     4040h, 4048h, 4050h, 4058h, 4060h, 4068h, 4070h, 4078h. 
  254. 0x4100 * 0x417F 
  255.     4100h, 4108h, 4110h, 4118h, 4120h, 4128h, 4130h, 4138h, 
  256.     4140h, 4148h, 4150h, 4158h, 4160h, 4168h, 4170h, 4178h. 
  257. 0x4200 * 0x427F 
  258.     4200h, 4208h, 4210h, 4218h, 4220h, 4228h, 4230h, 4238h, 
  259.     4240h, 4248h, 4250h, 4258h, 4260h, 4268h, 4270h, 4278h. 
  260. 0x4300 * 0x437F 
  261.     4300h, 4308h, 4310h, 4318h, 4320h, 4328h, 4330h, 4338h, 
  262.     4340h, 4348h, 4350h, 4358h, 4360h, 4368h, 4370h, 4378h. 
  263. 0x5000 * 0x507F 
  264.     5000h, 5008h, 5010h, 5018h, 5020h, 5028h, 5030h, 5038h, 
  265.     5040h, 5048h, 5050h, 5058h, 5060h, 5068h, 5070h, 5078h. 
  266. 0x6000 * 0x607F 
  267.     6000h, 6008h, 6010h, 6018h, 6020h, 6028h, 6030h, 6038h, 
  268.     6040h, 6048h, 6050h, 6058h, 6060h, 6068h, 6070h, 6078h. 
  269. 0x7000 * 0x707F 
  270.     7000h, 7008h, 7010h, 7018h, 7020h, 7028h, 7030h, 7038h, 
  271.     7040h, 7048h, 7050h, 7058h, 7060h, 7068h, 7070h, 7078h. 
  272.  
  273.  
  274. Software Installation 
  275. To install the OS/2 device driver, simply copy the file DGX.SYS from the OS/2 
  276. device driver diskette onto your hard disk.  Then use a text editor to add the
  277. line  DEVICE=DGX.SYS [parameters] 
  278.  
  279. to the CONFIG.SYS file. Note that if DGX.SYS is not in the root directory, you 
  280. will have to give its full pathname. (e.g. DEVICE=C:\BIN\DGX.SYS). If you are
  281. installing a single four or eight-port board with the default parameters, the
  282. parameters portion may be omitted. 
  283.  
  284. For MC/X boards, address and IRQ information is taken directly from the
  285. computer's POS (Programmable Option Select) registers, so the parameters 
  286. portion may be omitted if you wish to use the default device names, baud
  287. rate and data type. 
  288.  
  289. DigiBoard PC/16 users must enter the line above with Per-Card Parameters
  290. as follows:
  291.  
  292. DEVICE=DGX.SYS /P:140 /C:16 /I:IRQ 
  293.  
  294. where IRQ is the Interrupt Request line you have selected for the board.
  295.  
  296. Default Device Names 
  297. With one board in the system, the default names for the devices are COM3, 
  298. COM4, COM5, COM6, COM7, COM8, COM9, COM10... 
  299. Default modes for each of the channels follow the OS/2 standards of 1200 Baud,
  300. 7 data bits, 1 stop bit, even parity, and RTS control-mode.  
  301.  
  302. Command Line Arguments  
  303. There are both global as well as per-card arguments that can be specified on
  304. the device driver command line.  If any arguments are given, the defaults in
  305. the data segment of the driver will be ignored.  Use a comma ( , ) to separate
  306. sets of arguments for each card in your system.  Each card in your system must
  307. be fully described by these arguments. 
  308.  
  309. Global Arguments (PC/X and MC/X Boards) 
  310. The following Global Arguments set parameters for all channels on all boards 
  311. controlled by the device driver. To change parameters for individual ports,
  312. use the utility DMODE.EXE provided on the distribution diskette with the
  313. driver. DMODE.EXE is discussed beginning on page 45 of this manual. 
  314.  
  315. /n:device_names 
  316. Sets up the naming algorithm to be used to generate device names.  This con-
  317. sists of an optional new stem followed by the starting device number. Without 
  318. the new stem, the stem name "COM" will be used.  Quotes are mandatory to 
  319. set a new stem.  Without a number, "3" is assumed. 
  320. Examples: 
  321. /n:"digi"0    DIGI0, DIGI1, DIGI2 ... 
  322. /n:4             COM4, COM5, COM6 ...  
  323. /n:"digi"    DIGI3, DIGI4, DIGI5 ... 
  324.  
  325. /b:baud_rate 
  326.  
  327. OS/2 sets all serial devices to 1200 baud at initialization time.  Use this
  328. option to set a different baud rate. 
  329. Example: 
  330. /b:9600        Set all channels to 9600 baud. 
  331.  
  332. /d:data_type 
  333. OS/2 sets all serial devices to even parity, 7 data bits and 1 stop bit at 
  334. initialization time.  Use this option to override those values.  The syntax is 
  335. Parity Data Stop (without spaces), where Parity is E, O or N for "Even", 
  336. "Odd" or "None"; Data is 8, 7, 6 or 5; and Stop is 1 or 2.  All three values 
  337. MUST be provided. 
  338. Example:  
  339. /d:N81        Set all channels to no parity, 8 data bits, 1 stop bit. 
  340.  
  341. Per-Card Arguments (PC/X Boards Only) 
  342. Per-Card arguments MUST be in complete sets identifying the Status Port address 
  343. and IRQ number.  The preceding global arguments may be given without 
  344. interfering with the default Per-Card settings in the driver file.   
  345.  
  346. Each board in your system must be fully described by these Per-Card arguments.
  347. Use a comma to separate the board sets from one another.
  348.  
  349. Also note that the channel numbers (COM3, COM4, etc.) will be assigned to the 
  350. boards in the same order in which the per-card arguments are given. 
  351.  
  352. /p:Status Port Address 
  353. Set the Status Port address. This argument specifies the top of the range
  354. of I/O Port addresses that will be used by a PC/X board.  This address should 
  355. correspond to the dip-switch setting for the Status Port.  Individual channel 
  356. port addresses should then begin 40 (hex) bytes below this address, occupying 
  357. a contiguous block. 
  358. Example: 
  359. /p:280    (set Status Port address to 280h) 
  360. I/O Port for Channel 1 = 240h 
  361. I/O Port for Channel 8 = 278h 
  362.  
  363. PC/16 users must specify a Status port address of 140h, as 
  364. follows: 
  365. /p:140
  366.  
  367. /i:IRQ 
  368. Sets the IRQ line number to one of the legal options for the PC/X board. 
  369. Example: 
  370. /i:5        (set card to IRQ 5 decimal) 
  371.  
  372. /c:channels 
  373. Sets the number of channels (either 4, 8 or 16). This is required for four and 
  374. sixteen-port boards. If omitted, eight ports is assumed. 
  375. Examples: 
  376. /c:4        (PC/4) 
  377. /c:16        (PC/16) 
  378.  
  379. Command Line Example 
  380. This two-card example uses the preceding GLOBAL examples, and sets the two 
  381. eight-channel boards to: 
  382. Board 1:    Status Port=140 
  383.         IRQ 4  
  384. Board 2:    Status Port=188     
  385.         IRQ 3  
  386. A command line for the above parameters would read: 
  387. device=dgx.sys /n:"digi"0 /b:9600 /d:N81 /p:140 /i:4, /p:188 /i:3 
  388.  
  389.  
  390. Troubleshooting 
  391. If, after installation, the device driver software comes up with a problem
  392. message, first check that your configuration matches the DIP switch settings
  393. on the board. Next, try powering down the system and then bringing it back
  394. up.  If it still fails, call DigiBoard Technical Support. 
  395.  
  396. In general, a good way to test the basic functionality of the driver is to
  397. hook up a terminal to one of the ports (COM3 for example), set it up for the
  398. correct Baud rate, Handshake, and Data type characteristics, and then simply
  399. try to re-direct output to it from the command prompt.  For example: 
  400.  
  401. C:\>dir > com3  
  402.  
  403. If the terminal is set up correctly (the above defaults are typical) you
  404. should get the directory listing coming out on it. If there is no output,
  405. or if the above command hangs, then you may need some technical support.
  406. It is possible that the board is not functioning properly.  
  407.  
  408.  
  409. DMODE I/O Port Configuration Utility 
  410. DMODE is DigiBoard's I/O channel configuration utility. DMODE functions like 
  411. the OS/2 MODE command, but is more flexible, and provides some added features. 
  412. *  Supports communications device names other than COM1-COM8 (e.g. 
  413.    COM9, DIGI2, etc). 
  414. *  Timeout, handshake modes, etc. can be specified without affecting baud rate, 
  415.    data type, etc. 
  416. *  Any single parameter may be changed without causing all others to be reset
  417.    to default values. 
  418. *  Maintains the familiar MODE syntax. 
  419.  
  420. DMODE arguments may be entered in any order, and in many cases may be 
  421. abbreviated.  For example, a baud rate of 19,200 may be entered simply as "19", 
  422. since within the context of the DMODE command, "19" cannot be interpreted as 
  423. anything else. Arguments may be separated by spaces or commas, and unspecified 
  424. parameters are left unchanged.  DMODE returns the settings of all parameters
  425. after any requested changes have been made. If no parameters are given, DMODE 
  426. simply returns the current settings. 
  427.  
  428. The syntax of DMODE is: dmode port_name [parameters] 
  429.  
  430. Port names and parameters are not case sensitive, so upper and lower case
  431. letters may be freely mixed without effect on the operation of the DMODE
  432. command. The following parameters are accepted:
  433.  
  434. Baud rates can be specified with 2 to 5 digit designations, according 
  435. to the following table: 
  436.  
  437. Accepted Values           Baud Rate
  438. 11   110                    110
  439. 15   150                    150
  440. 30   300                    300
  441. 60   600                    600
  442. 12   120   1200            1200
  443. 24   240   2400            2400
  444. 48   480   4800            4800
  445. 96   960   9600            9600
  446. 19   192   1920   19200   19200
  447.  
  448.  
  449. Character Length 
  450. Characters may be 5, 6, 7 or 8 bits long. Enter the appropriate number in the
  451. DMODE arguments. 
  452. Parity       Enter the desired parity checking method with a single letter E, O,
  453.            N, M or S for Even, Odd, None, Mark or Space. 
  454. Stop Bits  Enter the desired number of stop bits.  Recognized values are 1, 2 
  455.            and 1.5. 
  456. Flags       DMODE supports the following flags in the same way as the OS/2 
  457.            MODE command.  Refer to your OS/2 documentation for explanations
  458.            of the flags. To set a flag, enter the mnemonic for the flag,
  459.            followed by an equals sign (=), and the desired value (ON, OFF, 
  460.            etc.). 
  461. Read Timeout Flag 
  462. TO=ON      Read timeout in effect 
  463. TO=OFF     No timeout 
  464.  
  465. XON/XOFF Handshake Flag 
  466. XON=ON    XON/XOFF handshaking enabled 
  467. XON=OFF    XON/XOFF handshaking disabled 
  468.  
  469. Input DSR Sensitivity 
  470. IDSR=ON    Enables Input DSR Sensitivity 
  471. IDSR=OFF    Disables Input DSR Sensitivity 
  472.  
  473. Output DSR Sensitivity 
  474. ODSR=ON    Enables Output DSR Sensitivity 
  475. ODSR=OFF    Disables Output DSR Sensitivity 
  476.  
  477. Output Handshake on CTS 
  478. OCTS=ON    Enables CTS output flow control 
  479. OCTS=OFF    Disables CTS output flow control 
  480.  
  481. DTR Signal Control 
  482. DTR=ON    Sets DTR to "ON" or HIGH 
  483. DTR=OFF    Sets DTR to "OFF" or LOW 
  484. DTR=HS    DTR used for output flow control 
  485.  
  486. RTS Signal Control 
  487. RTS=ON    Sets RTS to "ON" or HIGH 
  488. RTS=OFF    Sets RTS to "OFF" or LOW 
  489. RTS=HS    RTS used for output flow control 
  490. RTS=TOG    Toggles RTS from LOW to HIGH, or from HIGH to LOW 
  491.  
  492. Alt-Pin Processing 
  493. ALT=ON    Internally "swaps" DSR and DCD signals (see 
  494. explanation below) 
  495. ALT=OFF    DSR and DCD are not swapped 
  496.  
  497. DigiBoard products use 10-pin RJ-45 connectors in order to support 
  498. all of the signals normally available on a 9-wire RS-232 connection.  
  499. However, many commercially available RJ-45 connectors have only 
  500. 8 pins.  8-pin RJ-45 plugs will fit in a 10-pin jack, but the first and 
  501. last pins (numbers 1 and 10) are not connected.  DigiBoard uses 
  502. these pins for the modem control signals RI (Ring Indicator, pin 1) 
  503. and DCD (Data Carrier Detect, pin 10).  While Ring Indicator is 
  504. rarely a concern (since most modems have auto-answer capability), 
  505. Data Carrier Detect is often monitored to insure that the modem has 
  506. established, and is maintaining, a valid connection with a remote 
  507. modem.   
  508.  
  509. To facilitate the use of 8-pin RJ-45 connectors in modem 
  510. applications, a special DMODE flag, ALT, has been provided.  ALT 
  511. instructs the device driver to monitor pin 2 for DCD instead of pin 
  512. 10.  The DSR (Data Set Ready) signal, normally on pin 2 is switched 
  513. to pin 10. Since most programs don't monitor DSR, this signal can 
  514. be safely ignored. See the Installation Guide for your board for cabling
  515. diagrams and pin assignment charts for DB-25 and RJ-45 connectors. 
  516.  
  517.  
  518. Examples 
  519. dmode digi12 
  520. Returns the current settings of device digi12.  No changes are made. 
  521. dmode com5 2 
  522. Configures COM5 for 2 stop bits.  All other parameters remain unaffected. 
  523. dmode com5:19 rts=ON 
  524. Configures COM5 for a baud rate of 19,200 and sets RTS to "ON" or HIGH. 
  525. dmode com5 8     
  526. Configures COM5 for 8 data bits.  No other parameters are affected. 
  527. dmode comdev83 IDSR=OFF, TO=off e 7 12 
  528. Sets COMDEV83 to disable Input DSR Sensitivity, disable input timeout,
  529. select even parity, 7 data bits and a baud rate of 1200. 
  530. dmode com5 19 ALT=ON 
  531. Sets up COM5 for a baud rate of 19,200, and enables Alt-Pin Processing. 
  532. dmode com5 e alt=off 
  533. Sets COM5 for even parity checking and disables Alt-Pin processing. 
  534.  
  535.  
  536.