(Page 1 of 1 in this chapter) Version


Chapter 3

Installing the Driver Software


3.1 Introduction
3.2 Installing on a Windows NT System
3.2.1 Running the AG Connect Setup Program (NT)
3.2.2 Running the Board Configuration Program (NT)
3.2.3 Changing The Configuration After Installation (NT)
3.3 Installing on an OS/2 System
3.3.1 Running the AG Connect Installation Program (OS/2)
3.3.2 Editing Your config.sys File (OS/2)
3.3.3 Changing The Configuration After Installation (OS/2)
3.4 Installing on a UnixWare System
3.4.1 Running the AG Connect Installation Script (UnixWare)
3.4.2 Running the Board Configuration Script (UnixWare)
3.4.3 Changing the Configuration (UnixWare)
3.5 Installing on a SCO OpenServer 5 System
3.5.1 Running the AG Connect Installation Script (SCO)
3.5.2 Changing The Configuration After Installation (SCO)
3.6 Installing on a Solaris System
3.6.1 Running the AG Connect Installation Script (Solaris)
3.6.2 Running the Board Configuration Script (Solaris)
3.6.3 Changing The Configuration After Installation (Solaris)

3.1 Introduction

To complete your AG Connect installation, install AG Connect driver software. This chapter explains how to install the AG Connect software for the following operating systems:

You can install AG Connect software in any of the following ways:

3.2 Installing on a Windows NT System

This procedure describes how to install the AG Connect board driver software for Windows NT 4.0. This procedure is applicable if you wish to install from:

You can also use the Natural Access setup program to install this package from the CD-ROM. To learn how to install the software this way, refer to the booklet that comes with the CD-ROM for installation instructions.

To install the AG Connect software:

3.2.1 Running the AG Connect Setup Program (NT)

Note: Install your AG Connect boards in your system before installing the software. (See Chapter 2 to learn how to do this.) Make a note of the base I/O addresses at which you installed the boards. You will need this information later when running the board configuration program.
      1. Log on as a member of the Administrators group.

        
        
      2. Start the AG Connect setup program:

        • If you are installing from the CD-ROM using the AG Connect setup program, use the Windows Explorer to navigate to the \agcx\disk1\ directory on the CD-ROM, and start setup.exe.

          
          
        • If you are installing from a package downloaded from the NMS web site, "unzip" the package into a directory. Navigate to the directory, and start setup.exe.

          
          The setup program starts. 
        • Answer the prompts as they appear.

          
          The setup program asks you for the following:
          • A directory to install the software into.

            
            
          • A program folder to install the software icons into.

            
            
          • System environment variable setting options.

            
            You can let the setup program modify settings, or save the changes to a batch file, or not make any changes at all.
            Note: If the program detects previously installed files that are newer than the versions contained in the package, it asks you whether to install or skip the files in question. Typically, you should NOT overwrite newer files.
          • When the installation is complete, run the board configuration program, as described in Section 3.2.2.

      3.2.2 Running the Board Configuration Program (NT)

      Use the board configuration program to specify the board numbers, I/O addresses and encoding schemes of the AG Connect boards in your system.

      To run the program:

      1. Click on Start, select Programs, and then select Natural MicroSystems AG Connect. Select cfg in the menu that appears.

        
        The AG Connect board configuration program starts up, and displays its main window (shown in Figure 10 below):
        
        
        
        
        Figure 10. AG Connect Board Configuration Program Main Window

        
        
      2. Click Add Board.

        
        The Edit Board dialog box appears (see Figure 11):
        
        
        
        
        Figure 11. The Edit Board Dialog Box

        
        
      3. In the Board Number list box, select a number for the board.

        
        Each of your AG Connect boards should be given a unique board number. When you create your AG Connect application, you will use these numbers to refer to your boards in software. Boards should be numbered from 0 upward.
      4. In the Encode Law list box, select the encoding scheme the board will use in your application.

        
        The encoding scheme is the algorithm the board will use to compress and expand the dynamic range of input signals. The AG Connect driver supports two encoding schemes: mu-law (the scheme in standard use throughout the United States and Japan) and A-law (the scheme in use in Europe and Latin America).
      5. In the Board Address list box, select the base I/O address of the AG Connect board that you selected using the switches on the board.

        
        For more information on setting the I/O addresses, see Chapter 2.
        
        
      6. Click OK.

        
        The AG Connect Board Configuration dialog box reappears. The board information appears in the field in the center of the box (see Figure 12).
        
        
        
        
        Figure 12. Board Information in Configuration Dialog Box

        
        
      7. Repeat steps 2 through 6 for each AG Connect board in your system.

        
        
      8. When you have added all of your boards, press OK.

      3.2.3 Changing The Configuration After Installation (NT)

      You may need to modify your driver configuration after you have completed the install process. For example, you may wish to add additional boards to your system, or you may need to change the base I/O address of a board.

      Use the AG Connect board configuration program to modify your configuration.

      To run the program:

      To change your driver configuration:

      To exit:

      3.3 Installing on an OS/2 System

      This section provides instructions for installing AG Connect driver software on the OS/2 operating system. This procedure is applicable if you wish to install from:

      To install the AG Connect software:

      3.3.1 Running the AG Connect Installation Program (OS/2)

      Note: Install your AG Connect boards in your system before installing the software. (See Chapter 2 to learn how to do this.) Make a note of the base I/O addresses at which you installed the boards. You will need to specify them later in your config.sys file.
          1. Insert the AG Connect software installation disk into your floppy drive.

            
            
          2. Open a system prompt window.

            
            
          3. Make the drive containing your installation disk the default drive by entering A: or B: at the system prompt.

            
            
          4. Enter the following and click OK:

            
            a:\install
            The installation program starts up, and displays its welcome and information screens. It then prompts you for a destination drive.
          5. Use the arrow keys to select the drive to install on, and press Enter.

            
            The install program prompts you to enter the number of AG Connect boards you are installing.
          6. Enter the number of boards you are installing, and press Enter.

            
            The program displays a menu containing a list of base I/O addresses.
          7. Use the arrow keys to highlight the address of one of your boards, and press the space bar to select it.

            
            Repeat this step until the addresses of all of your boards are highlighted.
          8. When you have selected the addresses of all of your boards, press Enter.

            
            The install program prompts you to choose an encoding scheme.
          9. Press 1 for mu-law, or 2 for A-law. Then press Enter.

            
            The install program begins copying the files from the installation disk to the NMS subdirectory tree on the specified drive. 
            If the installation program detects previously installed files that are newer than the versions contained in the package, it asks you whether to overwrite or skip the files in question. Typically, you should NOT overwrite newer files.
            When the installation program finishes copying files, it displays a list of changes to make to your config.sys file. It outputs the file config.agx containing these changes. config.agx is stored in the root directory of the drive on which the software is being installed.
          10. Press Enter to exit the install program.

      3.3.2 Editing Your config.sys File (OS/2)

          1. Using a text editor, open config.agx and config.sys.

            
            
          2. Change your config.sys file as directed in config.agx.

            
            Figure 13 shows a sample config.agx file (for a one-board installation), with the changes to make to the config.sys file underlined. The contents of your config.agx file may be different.
            
            
            
            
            Figure 13. Lines to Change in config.sys

            
            The syntax of the set AGCX= line is as follows:
            set AGCX={!}[m|a]:addr,addr,addr,addr
            ...where:
            • ! (Optional) if included, a status message will appear whenever the driver DLL loads.

              
              
            • m is mu-law, a is a-law (choose one only).

              
              
            • Each addr is the base address of one of your AG Connect boards. The order you list them here determines the board number by which the software will refer to them later: the first board listed will be Board 0, the second will be Board 1, and so on.

              
              
            • Exit the text editor, saving changes.

              
              
            • Reboot your system to make your changes effective.

        3.3.3 Changing The Configuration After Installation (OS/2)

        You may need to modify your driver configuration after you have completed the install process. For example, you may wish to add additional boards to your system, or you may need to change the base I/O address of a board.

        To change your driver configuration, do the following:

        1. Modify the set AGCX= statement in config.sys to reflect your changes.

          
          The syntax of this line is shown in Section 3.3. 
          
          
        2. Reboot your system to make the changes effective.

        3.4 Installing on a UnixWare System

        This procedure describes how to install the AG Connect board driver software for UnixWare 2.1.x or UnixWare 7. This procedure is applicable if you wish to install from:

        You can also use the Natural Access installation script to install this package from the CD-ROM. To learn how to install the software this way, refer to the booklet that comes with the CD-ROM for installation instructions.

        To install the AG Connect software:

        3.4.1 Running the AG Connect Installation Script (UnixWare)

        Note: During this installation procedure, pkgadd may warn you that it is about to overwrite newer versions of files on your system with older ones. This warning may appear even if the files you are installing are actually newer than the ones on your system. This is because files installed with earlier versions of the install script were marked with the installation date, not their creation dates. Later versions of the script preserve the creation date.
            1. If you are installing over earlier versions of AG Connect driver software, remove the earlier version and rebuild the kernel before you install the new software.

              
              See Appendix C to learn how to remove driver software from your system.
              
              
            2. From a command prompt, log in as root.

              
              
            3. If you are installing from the Natural Access CD-ROM:

            4. Insert the Natural Access CD-ROM into the CD-ROM drive.

              
              
            5. Start a new terminal session.

              
              
            6. If the CD-ROM does not have a mount point directory, create this directory.

              
              
            7. Make sure you are not in the mount point directory. Then enter the following to mount the CD-ROM:

              
              mount -f cdfs -r /dev/cdrom/devicename mountpoint
              ...where devicename is the device name of the CD-ROM, and mountpoint is the mount point directory. For example, for UnixWare 2.1.x, you might enter:
              mount -f cdfs -r /dev/cdrom/c1b0t3l0 /CD-ROM_1
              For UnixWare 7, you might enter:
              mount -f cdfs -r /dev/cdrom/cdrom1 /CD-ROM_1
          1. Enter the following command to invoke the pkgadd utility:

            
            pkgadd -d mountpoint
            pkgadd starts up, and displays a list of packages available for installation.
          2. Select the agcx software package, and press Enter.

            
            pkgadd installs the driver software on your system. 
          3. Answer the prompts as they appear.

            
            Note:  If the program detects previously installed files that are newer than the versions contained in the package, it asks you whether to overwrite or skip the files in question. Typically, you should NOT overwrite newer files.
            
            After the files are copied, the following message appears:
            Installation of AG Connect for UnixWare 2.1 (agcx) successful.
          4. Type q to quit.

            
            
          5. To unmount the CD-ROM, enter: umount mountpoint

            
            
          6. Now run the board configuration script, as described in Section 3.4.2.

        3.4.2 Running the Board Configuration Script (UnixWare)

        Use the board configuration script to specify the board numbers, I/O addresses and encoding schemes of the AG Connect boards in your system.

        To run the script:

        1. From a command prompt, log in as root.

          
          
        2. Execute the confdrvr shell script by entering this command:

          
          sh /opt/nms/agcx/drv/confdrvr
          confdrvr starts up. The following message appears:
             You will now provide the base addresses of the agcx
          Boards you are installing in your system. When you are prompted for
          a base address, a list of possible choices will be given.

          If installing more than one board into your system,
          the choices already selected during this installation will be
          marked, and the device node name that will be used to access the
          agcx board is listed.

          Enter c to continue or enter q to quit:
        3. Enter c.

          
          
        4. Follow the prompts to supply the following information for the AG Connect boards in your system:

          • The base I/O addresses of the AG Connect boards in your system.

            
            As you select addresses, make a note of the order in which you select them. The configurationits and up must to script assigns device numbers to your boards based on the order in which they are selected. When you create your AG Connect application, you will use these numbers to refer to your boards in software.
            For example, if you select address 0x0640 first and then address 0x2140, the board at address 0x0640 is assigned device number 0. The board at address 0x2140 is assigned device number 1.
            For more information on setting the I/O addresses, see Chapter 2.
            
            
          • The encoding scheme the boards will use in your application.

            
            The encoding scheme is the algorithm the board will use to compress and expand the dynamic range of input signals. The AG Connect driver supports two encoding schemes: mu-law (the scheme in standard use throughout the United States and Japan) and A-law (the scheme in use in Europe and Latin America).
          • When you have entered all of this information, confdrvr rebuilds the kernel.

          3.4.3 Changing the Configuration (UnixWare)

          You may need to modify your driver configuration after you have completed the install process. For example, you may wish to add additional boards to your system, or you may need to change the base I/O address of a board.

          To change your driver configuration, do the following:

          1. From a command prompt, log in as root.

            
            
          2. Execute the confdrvr shell script by entering this command:

            
            sh /opt/nms/agcx/drv/confdrvr
            confdrvr starts up. It displays this message:
               Warning! A version of the Natural MicroSystems agcx device driver
            is already installed.

            Do you want to continue? (y/n)
          3. Enter y.

            
            The following message appears:
               You will now provide the base addresses of the agcx
            Boards you are installing in your system. When you are prompted for
            a base address, a list of possible choices will be given.

            If installing more than one board into your system,
            the choices already selected during this installation will be
            marked, and the device node name that will be used to access the
            agcx board is listed.

            Enter c to continue or enter q to quit:
          4. Enter c.

            
            confdrvr displays a menu of base I/O addresses.
          5. Mark the base I/O addresses of ALL boards in your system, just as you did during the initial install procedure. (See Section 3.4 for more information.)

            
            Note:  Even if you are adding a new board to a system which already includes AG Connect boards, you must specify the base addresses of all boards. 
            
            Remember the order in which you select the addresses, so you know what device number each board is given.
          6. When you have selected the addresses of all of your boards, enter 0.

            
            
          7. Follow the prompts to select a coding scheme and rebuild the kernel.

          3.5 Installing on a SCO OpenServer 5 System

          This section provides instructions for installing AG Connect driver software on the SCO OpenServer 5 operating system. This procedure is applicable if you wish to install from:

          To install the AG Connect software, run the AG Connect installation script to install the software on your system.

          Note: Use CT Access 2.0 when running the AG Connect driver on SCO OpenServer 5.

          3.5.1 Running the AG Connect Installation Script (SCO)

          Note: Install your AG Connect boards in your system before installing the software. (See Chapter 2 to learn how to do this.) Make a note of the base I/O addresses at which you installed the boards. The installation program will prompt you for these addresses.
              1. If you are installing over earlier versions of AG Connect driver software, remove the earlier version and rebuild the kernel before you install the new software.

                
                See Appendix C to learn how to remove driver software from your system.
                
                
              2. From a command prompt, log in as root.

                
                
              3. Insert the AG Connect board installation diskette into your floppy disk drive.

                
                
              4. Invoke the pkgadd utility by entering a command of the form:

                
                pkgadd -d devicename
                ...where devicename is the name of the floppy disk drive from which you are installing. For example:
                pkgadd -d /dev/rdsk/f03h
                pkgadd starts up, and displays a list of software packages available for installation.
              5. Select the agcx package, and press Enter.

                
                pkgadd copies the driver software from the disk onto your system. 
              6. When pkgadd has finished copying files, it displays the following message:

                   You will now provide the base addresses of the agcx
                Boards you are installing in your system. When you are prompted for
                a base address, a list of possible choices will be given.

                If installing more than one board into your system,
                the choices already selected during this installation will be
                marked, and the device node name that will be used to access the
                agcx board is listed.

                Enter c to continue or enter q to quit:
              7. Enter c.

                
                pkgadd displays a menu of base I/O addresses. 
              8. Mark the addresses of the AG Connect boards in your system.

                
                To select an address, type its number. The menu reappears with the address marked.
                As you select addresses, make a note of the order in which you select them. The install program assigns device numbers to your boards based on the order in which they are selected. When you create your AG Connect application, you will use these numbers to refer to your boards in software.
                For example, if you mark address 0x0640 first, and then address 0x2140, the board at address 0x0640 is assigned device number 0. The board at address 0x2140 is assigned device number 1.
              9. When you have selected the addresses of all of your boards, enter 0.

                
                pkgadd displays this message:
                   1.  mu-law
                2. A-law
                Please select idle code, q to quit.
                pkgadd is asking you to select an encoding scheme. The encoding law you select applies to every AG Connect board in the system.
              10. Enter 1 or 2 to select the encoding scheme to use.

                
                pkgadd displays this message:
                  Rebuild the kernel with the AG Connect Board device driver now? (y/n)
                
                
              11. Enter y.

                
                pkgadd prepares to rebuild the kernel. It displays this message:
                   Do you want this kernel to boot by default? (y/n)
                
                
              12. Enter y.

                
                pkgadd causes the kernel to be rebuilt. 
                Note: pkgadd may warn you that it is about to overwrite newer versions of files on your system with older ones. This warning may appear even if the files you are installing are actually newer than the ones on your system. This is because files installed with earlier versions of the install script were marked with the installation date, not their creation dates. Later versions of the script preserve the creation date.
              13. When pkgadd has finished rebuilding the kernel, it displays this message:

                   Do you want the kernel environment rebuilt? (y/n)
                
                
              14. Enter y.

                
                pkgadd sets up the new kernel environment.
              15. Shut down your system, and reboot.

                
                The driver will not be available until you reboot.

          3.5.2 Changing The Configuration After Installation (SCO)

          You may need to modify your driver configuration after you have completed the install process. For example, you may wish to add additional boards to your system, or you may need to change the base I/O address of a board.

          To change your driver configuration, do the following:

          1. From a command prompt, log in as root.

            
            
          2. Execute the confdrvr shell script by entering the following command:

            
            sh /opt/nms/agcx/drv/confdrvr
            confdrvr starts up. The following message appears:
               You will now provide the base addresses of the agcx
            Boards you are installing in your system. When you are prompted for
            a base address, a list of possible choices will be given.

            If installing more than one board into your system,
            the choices already selected during this installation will be
            marked, and the device node name that will be used to access the
            agcx board is listed.

            Enter c to continue or enter q to quit:
          3. Enter c.

            
            confdrvr displays a menu of base I/O addresses.
          4. Mark the base I/O addresses of ALL boards in your system, just as you did during the initial install procedure. (See Section 3.5 for more information.)

            
            Note:  Even if you are adding a new board to a system which already includes AG Connect boards, you must specify the base addresses of all boards. 
            
            Remember the order in which you select the addresses, so you know what device number each board is given.
          5. When you have selected the addresses of all of your boards, enter 0.

            
            
          6. Now follow steps 10 through 15 in Section 3.5 above to select a coding scheme, rebuild the kernel and reboot the system.

          3.6 Installing on a Solaris System

          This procedure describes how to install the AG Connect board driver software for Solaris 2.6 or Solaris 7. This procedure is applicable if you wish to install from:

          You can also use the Natural Access installation script to install this package from the CD-ROM. To learn how to install the software this way, refer to the booklet that comes with the CD-ROM for installation instructions.

          To install the AG Connect software:

          3.6.1 Running the AG Connect Installation Script (Solaris)

          Note: Install your AG Connect boards in your system before installing the software. (See Chapter 2 to learn how to do this.) Make a note of the base I/O addresses at which you installed the boards. The installation script will prompt you for these addresses.
              1. Log in as root at your shell's command prompt by entering:

                
                su -
              2. Set the environment variable NONABI_SCRIPTS to TRUE.

                
                
              3. Start a new terminal session.

                
                
              4. If you are installing from the Natural Access CD-ROM, insert the Natural Access CD-ROM into the CD-ROM drive.

                
                If you are currently within the Solaris Common Desktop Environment, the File Manager application appears showing the contents of the CD-ROM.
              5. Within the terminal session, invoke the pkgadd utility by entering:

                
                pkgadd -d mountpoint
                ...where mountpoint is the mount point of the CD-ROM from which you are installing. For example:
                pkgadd -d /dev/CD-ROM_1
                pkgadd starts up, and displays a list of packages available for installation.
              6. Select the agcx package, and press Enter.

                
                pkgadd copies the driver software from the disk onto your system. 
              7. To unmount the CD-ROM, enter: eject mountpoint

                
                
              8. Now run the board driver configuration script, as described in Section 3.6.2.

          3.6.2 Running the Board Configuration Script (Solaris)

          Use the board configuration script to specify the board numbers, I/O addresses and encoding schemes of the AG Connect boards in your system.

          To run the script:

          1. Log in as root by entering:

            
            su -
          2. Set the environment variable NONABI_SCRIPTS to TRUE.

            
            
          3. Execute the confdrvr shell script by entering:

            
            sh /opt/nms/agcx/drv/confdrvr
            confdrvr starts up. The following message appears:
               You will now provide the base addresses of the agcx
            Boards you are installing in your system. When you are prompted for
            a base address, a list of possible choices will be given.

            If installing more than one board into your system,
            the choices already selected during this installation will be
            marked, and the device node name that will be used to access the
            agcx board is listed.

            Enter c to continue or enter q to quit:
          4. Enter c.

            
            
          5. Follow the prompts to supply the following information for the AG Connect boards in your system:

            • The base I/O addresses of the AG Connect boards in your system.

              
              As you select addresses, make a note of the order in which you select them. The configuration script assigns device numbers to your boards based on the order in which they are selected. When you create your AG Connect application, you will use these numbers to refer to your boards in software.
              For example, if you select address 0x0640 first and then address 0x2140, the board at address 0x0640 is assigned device number 0. The board at address 0x2140 is assigned device number 1.
              For more information on setting the I/O addresses, see Chapter 2.
              
              
            • The encoding scheme the boards will use in your application.

              
              The encoding scheme is the algorithm the board will use to compress and expand the dynamic range of input signals. The AG Connect driver supports two encoding schemes: mu-law (the scheme in standard use throughout the United States and Japan) and A-law (the scheme in use in Europe and Latin America).
            • Exit the root shell by entering:

              
              exit

            3.6.3 Changing The Configuration After Installation (Solaris)

            You may need to modify your driver configuration after you have completed the install process. For example, you may wish to add additional boards to your system, or you may need to change the base I/O address of a board.

            To change your driver configuration, do the following:

            1. Log in as root by entering:

              
              su -
            2. Set the environment variable NONABI_SCRIPTS to TRUE.

              
              
            3. Execute the confdrvr shell script by entering:

              
              sh /opt/nms/agcx/drv/confdrvr
              confdrvr starts up. It displays this message:
                 Warning! A version of the Natural MicroSystems agcx device driver
              is already installed.

              Do you want to continue? (y/n)
            4. Enter y.

                 You will now provide the base addresses of the agcx
              Boards you are installing in your system. When you are prompted for
              a base address, a list of possible choices will be given.

              If installing more than one board into your system,
              the choices already selected during this installation will be
              marked, and the device node name that will be used to access the
              agcx board is listed.

              Enter c to continue or enter q to quit:
            5. Enter c.

              
              confdrvr displays a menu of base I/O addresses.
            6. Mark the base I/O addresses of ALL boards in your system, just as you did during the initial install procedure. (See Section 3.6 for more information.)

              
              Note:  Even if you are adding a new board to a system which already includes AG Connect boards, you must specify the base addresses of all boards. 
              
              Remember the order in which you select the addresses, so you know what device number each board is given.
            7. When you have selected the addresses of all of your boards, enter 0.

              
              
            8. Follow the prompts to select a coding scheme and reinstall the drivers.



            (Page 1 of 1 in this chapter) Version


            tech_support@nmss.com
            Copyright © 1999, Natural MicroSystems, Inc. All rights reserved.