Table of Contents

Advertisement

Quick Links

Sun Microsystems Serial Parallel Controller User Manual

Advertisement

Table of Contents
loading

Summary of Contents for Sun Microsystems Serial Parallel Controller

  • Page 1 Artisan Technology Group is your source for quality new and certified-used/pre-owned equipment SERVICE CENTER REPAIRS WE BUY USED EQUIPMENT • FAST SHIPPING AND DELIVERY Experienced engineers and technicians on staff Sell your excess, underutilized, and idle used equipment at our full-service, in-house repair center We also offer credit for buy-backs and trade-ins •...
  • Page 2 SerialParallelControllerUser’sGuide microsystems Sun Microsystems, Inc. 2550 Garcia Avenue Mountain View, CA 94043 U.S.A. Part No: 800-6573-12 Revision A, February 1993 Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com...
  • Page 3 The product described in this manual may be protected by one or more U.S. patents, foreign patents, and/or pending applications. TRADEMARKS The Sun logo, Sun Microsystems, Sun Workstation, NeWS, and SunLink are registered trademarks of Sun Microsystems, Inc. in the United States and other countries. Sun, Sun-2, Sun-3, Sun-4, Sun386 , SunCD, SunInstall, SunOS, SunView, NFS, and OpenWindows are trademarks of Sun Microsystems, Inc.
  • Page 4 Connections between the workstation and peripherals must be made using shielded cables in order to maintain compliance with FCC radio frequency emission limits. Modifications Modifications to this device, not approved by Sun Microsystems, Inc. may void the authority granted to the end user by the FCC to operate the equipment. DOC Class B Notice—Canada This digital apparatus does not exceed Class B limits for radio noise emission for a digital apparatus as set out in the Radio Interference Regulations of the Canadian Department of Communications.
  • Page 5 Nippon—Japan Serial Parallel Controller User’s Guide-February 1993 Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com...
  • Page 6: Table Of Contents

    Getting Help ........2. Installing the Serial Parallel Controller ....
  • Page 7 Parallel Port Problems ....... . Serial Parallel Controller Card Problems ....
  • Page 8 A. Installing the Device Driver Under Solaris 1.x (SunOS 4.x) ......Before Installing the Software ......Upgrading to a New Software Release .
  • Page 9 Error Messages ........F. Serial Parallel Controller Parts ......
  • Page 10 Parallel Port Messages ....... . STREAMS Processing Messages ......Contents Artisan Technology Group - Quality Instrumentation ...
  • Page 11 Serial Parallel Controller User’s Guide—February 1993 Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com...
  • Page 12: Preface

    Preface This Serial Parallel Controller User’s Guide explains how to: • Select the slots in your SPARCsystem where you can install the card. • Set jumpers on the card. • Install the loadable device driver from the release media to your system, depending on which operating system you have installed on your system: Solaris 2.1 or 2.2 (SunOS...
  • Page 13 System & Network Administration • Sundiag User’s Guide • Serial Parallel Controller Man Page (spc) Note – The term SPARCsystem is used throughout this User’s Guide to refer to Desktop SPARCstations, Desktop SPARCservers, Deskside SPARCcenters and Deskside SPARCservers. Serial Parallel Controller User’s Guide—February 1993...
  • Page 14: Introducing The Serial Parallel Controller

    Introducing the Serial Parallel Controller The Serial Parallel Controller lets you increase the number of serial ports to add terminals, modems, printers, and other peripheral devices to your SBus- based SPARC-based system. The card provides eight full-duplex serial ports, as well as one unidirectional Centronics-compatible printer port.
  • Page 15: Features

    • Support for Hayes-compatible modems. • FCC Class B compliancy, for home use. Note – Serial Parallel Controller does not support Ring Indicator (RI). RI is a defined EIA RS-232 input signal. Release Information • This manual assumes operation under Solaris 2.1 (SunOS 5.1) or Solaris 2.2..
  • Page 16: Enhancements Since The Last Release

    If you have a problem or need more information, check the manual thoroughly and read the man page for the Serial Parallel Controller. To access the man page, type: man spc. If you still need additional help, contact your local service provider.
  • Page 17 Serial Parallel Controller User’s Guide—February 1993 Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com...
  • Page 18: Installing The Serial Parallel Controller

    Installing the Serial Parallel Controller This chapter covers: • Unpacking the Serial Parallel Controller • Special Instructions • Installing the card For step-by-step installation instructions, refer to Installing SBus Cards in Desktop SPARCstations or Installing SBus Cards in Deskside and Data Center Cabinets.
  • Page 19: Special Instructions

    SPARCsystem, what tools are required, how to choose a protocol, and how to proceed with the card installation. Selecting an SBus Slot Install your Serial Parallel Controller card in any slot. Serial Parallel Controller User’s Guide—February 1993 Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com...
  • Page 20: Tools Required

    Location of Jumper Blocks You will set the jumpers, if necessary, during card installation. For now, simply identify the protocol you want to use. Installing the Serial Parallel Controller Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com...
  • Page 21: Installing The Card

    Go to Installing SBus Cards in Desktop SPARCstations or Installing SBus Cards in Deskside and Data Center Cabinets to install the card. When you have finished installing the card, return to this manual. Serial Parallel Controller User’s Guide—February 1993 Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com...
  • Page 22: Installing The Patch Panel

    You can mount the patch panel on a desktop, rack, or wall. If you want to create a service area to stack several Serial Parallel Controller patch panels on a rack or wall, you can use the rack or wall mounting brackets.
  • Page 23: Rack Mounting

    4. Cut the Sun-supplied nylon grommet into four equal pieces and press them into the bracket’s cable openings. This prevents the cables from chafing against the metal edges of the brackets. Serial Parallel Controller User’s Guide—February 1993 Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com...
  • Page 24: Wall Mounting

    Wall Mounting To wall mount the patch panel, follow this procedure. 1. Use a #1 Phillips screwdriver to detach the rubber feet from the bottom of the patch panel. 2. Attach the wall mounting brackets to the bottom of the patch panel on each end, using the rubber feet and screws.
  • Page 25: Connecting The Patch Panel And Card

    Connecting the Patch Panel and Card After mounting the patch panel, use the 96-pin shielded cable to connect the patch panel to the Serial Parallel Controller card. Serial Parallel Controller User’s Guide—February 1993 Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com...
  • Page 26 To connect the patch panel to the card: 1. Connect one end of the 96-pin cable to the patch panel. 2. Connect the other end of the cable to the 96-pin connector on the card. Note – Make sure the locking mechanism of the connector on each end of the cable clicks into place.
  • Page 27 Serial Parallel Controller User’s Guide—February 1993 Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com...
  • Page 28: Installing The Device Driver

    Installation instructions in this chapter assume that you are operating under Solaris 2.1or 2.2 (SunOS 5.1 or 5.2). Note – If you are installing the Serial Parallel Controller on a system running the Solaris 1.x (SunOS 4.x) operating system, refer to Appendix A for instructions on installing the device driver under that software.
  • Page 29: Installation With Software Mannager Tool (Swmtool)

    2.0 SPC/S beta 1.0 software. The software you will be installing is different, but the procedure is the same.) Serial Parallel Controller User’s Guide—February 1993 Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com...
  • Page 30 1. Choose the Install mode of the Software Manager Tool if you are not already in this mode.. 2. Choose to install the 2.0 SPC.S driver by clicking on its icon, and then press the Begin Installation... button. Notice that swmtool puts up a screen similar to the following: Installing the Device Driver Artisan Technology Group - Quality Instrumentation ...
  • Page 31: Removing Software

    3. Answer the question at the bottom of the displayed screen “Do you want to continue with the installation of this package [y,n?]” with “y” to install the Serial Parallel Controller device driver.. As the installation proceeds, you will see text displayed following the progress of the installation.
  • Page 32: Updating The List Of Installed Software

    2. Choose the Remove mode of the Software Manager Tool if you are not already in this mode. 3. Select the Serial Parallel Controller device driver and press the Begin Removal... button. Updating the List of Installed Software Once the installation or removal of software is complete, you will see this message in the lower left corner of the main swmtool window footer.
  • Page 33: Installation With Software Manager (Swm)

    161.67 Mb 75.02 Mb | or [Return] to complete selecting. | /opt 32.62 Mb 5.39 Mb | Select an option: +------------------------------+ Serial Parallel Controller User’s Guide—February 1993 Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com...
  • Page 34 3. Answer the question at the bottom of the displayed screen “Do you want to continue with the installation of this package [y,n?]” with “y” to install the Serial Parallel Controller device driver.. Installing the Device Driver Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com...
  • Page 35 | /usr 161.67 Mb 75.02 Mb | [Return] to complete selecting. | /opt 32.62 Mb 5.39 Mb | Select an option: +------------------------------+ Serial Parallel Controller User’s Guide—February 1993 Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com...
  • Page 36 2. Select ?a to see an information screen similar to the following: Product Name: SPC/S Component Name: 2.0 SPC/S beta 1.0 Component Abbreviation: SUNWstc Component Type: Package Vendor: Sun Microsystems, Inc. Version: 2.0_beta1.0 Description: SPC/S SBus serial/parallel card software Target Base Directory: /opt/SUNWstc Estimated Size (Mbytes): 8.00 /usr 0.00...
  • Page 37 [f] Select software products for removal [g] Remove selected software products [q] Exit swm Type any bracketed letter to select that function: Serial Parallel Controller User’s Guide—February 1993 Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com...
  • Page 38: Removing The Driver With Swm

    Removing the Driver With swm You can use swm to remove the Serial Parallel Control device driver. Follow these steps to remove the Serial Parallel Controller’s device driver with swm: 1. Run the Software Manager application. # /usr/sbin/swm Note – You don’t need to mount the SPC/S CD-ROM remove a device driver with swm.
  • Page 39 [f] Select software products for removal [g] Remove selected software products [q] Exit swm Type any bracketed letter to select that function: f Serial Parallel Controller User’s Guide—February 1993 Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com...
  • Page 40 5. Enter y to remove the device driver. Removing <SUNWstc> package instance from host <zipper> The following package is currently installed: SUNWstc 2.0 SPC/S beta 1.0 (sparc) 2.0_beta1.0 Do you want to remove this package [y,n,?,q] y 6. Enter y yet again at the next menu displayed. ## Removing installed package instance <SUNWstc>...
  • Page 41 Serial Parallel Controller User’s Guide—February 1993 Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com...
  • Page 42: Connecting Peripheral Devices

    Note – The discussion of software in this chapter refers to operation under Solaris 1.x (SunOS 4.x). If you are using the Serial Parallel Controller under Solaris 2.1, you will need to read SunOS 5.1 Adding and Maintaining Devices and Drivers for information about connecting and configuring peripheral devices.
  • Page 43: Connecting Terminals

    Connecting Terminals The Serial Parallel Controller supports SBus-based SPARCsystems, as well as most popular ASCII-based terminals, such as Wyse-compatible terminals. To connect a terminal: 1. Set up your terminal for operation. 2. Set the power switch on your terminal to the Off position.
  • Page 44 • 9600 baud. • X ON/X OFF enabled. Note – If you are using the Serial Parallel Controller under Solaris 2.1 or later, refer to SunOS 5.1 Adding and Maintaining Devices and Drivers about configuring terminal devices. The following discussion relates only to operation under Solaris 1.x.
  • Page 45 Serial Parallel Controller card. Note that the Serial Parallel Controller uses ttyy instead of tty. For more information on ttyy, consult man page on the Serial Parallel Controller. To access the man page, type man spc. b. To choose the port you wish to connect your terminal to, edit the /usr/etc/stc/stc_defaults file.
  • Page 46: Connecting Modems

    /usr/sys/unbundled/stc/. Connecting Modems Note – If you are using the Serial Parallel Controller under Solaris 2.1 or later, refer to SunOS 5.1 Adding and Maintaining Devices and Drivers about installing and configuring modems. The following discussion relates only to installation and configuration under Solaris 1.x.
  • Page 47 You must also edit several other files which define the modem to your system. To edit these files, you must be superuser. Serial Parallel Controller User’s Guide—February 1993 Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com...
  • Page 48 To choose ports to connect the modem to, edit the /usr/etc/stc/stc_defaults file. For each port, determine the device name for the port and change the default line to ttyzn:dtr_assert: where n is the number of the port, as in the following example: For n type the number of the port, in the range 00-17.
  • Page 49 Refer to the system administration manual for your system for information about setting up UUCP files for the modem. Serial Parallel Controller User’s Guide—February 1993 Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com...
  • Page 50: Connecting Printers

    Connecting Printers Note – If you are using the Serial Parallel Controller under Solaris 2.1 or later, refer to SunOS 5.1 Adding and Maintaining Devices and Drivers about configuring printers. The following discussion relates only to installation and configuration under Solaris 1.x.
  • Page 51 PostScript-compatible printer to the device driver, refer to the system administration manual for your system. To connect a non-PostScript printer: Serial Parallel Controller User’s Guide—February 1993 Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com...
  • Page 52 Note – Use a Centronics-compatible cable to connect your non-PostScript printer to the Serial Parallel Controller. 1. Set up your printer for operation. 2. Turn the power switch on the printer to the Off position. 3. Plug the Centronics end of the cable into the parallel port on the printer.
  • Page 53 SPC/S serial port:\ :lp=/dev/ttyz00:br#9600:tr=\f:if=/usr/lib/lpf:lf=/usr/adm/lpd-errs:\ :ms=ixon, -ixany, onlcr: This example shows a printcap entry for a printer connected to a parallel port. Serial Parallel Controller User’s Guide—February 1993 Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com...
  • Page 54 # SPC/S line printer on parallel port with <NL> to <CR><NL> translation # This printcap entry always prints an extra blank page lp|spcs|HP Desk Jet PLUS on SPC/S parallel port:\ :lp=/dev/stclp0:br#9600:tr=\f:if=/usr/lib/lpf:lf=/usr/adm/lpd-errs:\ :ms=ocrnl: # SPC/S line printer on parallel port for graphics only rspcs|HP Desk Jet PLUS on SPC/S parallel port:\ :lp=/dev/stclp0:br#9600:fo:tr=\f:lf=/usr/adm/lpd-errs:\ :fc#0177777:xc#0177777:ms=raw:...
  • Page 55 Serial Parallel Controller User’s Guide—February 1993 Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com...
  • Page 56: Troubleshooting

    System Initialization Problems If the system cannot recognize that the Serial Parallel Controller card has been installed into your system, you will see a message on your console similar to the following example: stc_config: can’t load this module:...
  • Page 57: Serial Port Problems

    Serial Port Problems If the Serial Parallel Controller card initializes correctly, but peripherals or modems connected to the patch panel do not operate correctly, or SunOS displays device error messages, you most likely have serial port problems. You can use the spiftest program installed with your device driver to determine which port(s) is responsible for the problem.
  • Page 58: Parallel Port Problems

    Type cd /usr/diag/sundiag and press Return. b. Type spiftest D=/dev/stclp n T=2 and press Return. For n , type the number of the Serial Parallel Controller card you wish to test. For example, if the printer is connected to the first or second card, use D=/dev/stclp0 or D=/dev/stclp1, respectively.
  • Page 59: Serial Parallel Controller Card Problems

    Type cd /usr/diag/sundiag and press Return. d. Type spiftest D=sb n T=4 and press Return. For n , type the number of the Serial Parallel Controller card you wish to test. For example, if the printer is connected to the first or second card, use D=sb1 or D=sb2, respectively.
  • Page 60: Patch Panel And Cable Problems

    3. Type spiftest D=sb n T=4 and press Return. For n , type the number of the Serial Parallel Controller card you wish to test. For example, if the problem is with the first or second card, use D=sb1 or D=sb2, respectively.
  • Page 61: Software Installation Problems

    Verify that you have read/write/root access to the specified number of directories listed at the beginning of the Installing the Device Driver (Chapter 4) section of this manual. Serial Parallel Controller User’s Guide—February 1993 Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com...
  • Page 62 install_unbundled: error extracting files from <DEVICE> into <DESTDIR> The errors encountered have been saved in a log file. Would you like to see the errors and save this log file? (If you answer NO, the log file will be removed) [yes] Would you like to try to extract the files again (E) retry the installation (R) or quit (Q) right now? [E] Decide whether you wish to try the same installation method again (E), try...
  • Page 63 Serial Parallel Controller User’s Guide—February 1993 Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com...
  • Page 64: Installing The Device Driver Under

    After installing the Serial Parallel Controller card and patch panel, install the device driver. The device driver is software that interacts with the operating system to control up to three Serial Parallel Controller cards and the peripheral devices connected to them.
  • Page 65: Upgrading To A New Software Release

    Upgrading to a New Software Release If you presently have the Serial Parallel Controller card device driver installed and want to upgrade to a later software release, you must remove your existing device driver before upgrading to the new software release. Refer to the section “Removing the Device Driver”...
  • Page 66: Installation Script Options

    2 Mbyte in /usr (or whatever installation directory you select) The script automatically installs the Sundiag diagnostic tests specific to the Serial Parallel Controller on your system. Use the Sundiag diagnostic to test your Serial Parallel Controller card and device driver for correct operation. For a list of files stored on your system by the installation script, see Appendix G.
  • Page 67: Mounting The Cd

    • Slide the mouse to the right (the Application Options menu appears) • Slide to the bottom of the menu and highlight the Read About selection Release the mouse button Serial Parallel Controller User’s Guide—February 1993 Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com...
  • Page 68 3. Review the information about the three install options to identify the option that is appropriate for your system. Quick The quick install is the default installation which quickly installs the device driver and Sundiag into the /usr directory. 1. Go to the CDmanager window. Position the cursor over the SPC/S icon and press down on the right mouse button.
  • Page 69 Your system is ready for operation (you do not need to reboot). Custom To install the Serial Parallel Controller software from the Custom menu, do the following: 1. Go to the CDmanager window. Position the cursor over the SPC/S icon and press down on the right mouse button.
  • Page 70 *****APPLICATION INSTALLATION***** The software requires 1400 kbytes of space on your disk. The default installation directory is recommended to be: /usr There are 68154 kbytes available in this directory. Do you want to use the default (highly recommended)? [yes] • To change the installation directory, type no and press Return. Type the new installation directory information.
  • Page 71 Your system is ready for operation (you do not need to reboot). Server To install the Serial Parallel Controller software from the Custom menu, do the following: 1. Go to the CDmanager window. Position the cursor over the SPC/S icon and press down on the right mouse button.
  • Page 72 • Slide to the bottom of the menu and highlight the Install selection • Slide to the right to choose the server install option. Release the mouse button. The following screen appears. *****APPLICATION INSTALLATION***** The software requires 1400 kbytes of space on your disk. The default installation directory is recommended to be: /usr There are 68154 kbytes available in this directory.
  • Page 73 6. When you are finished reviewing the menu, type y and press Return. Your system is ready for operation (you do not need to reboot). Serial Parallel Controller User’s Guide—February 1993 Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com...
  • Page 74: Running Cdm

    running SPC/S configuration script /usr/sys/unbundled/stc/stc_config n represents a value stc_config: unloaded SPC/S driver, id n stc_config: module loaded; id = n stc_config: SPC/S driver successfully loaded from stc.o stc_config: SPC/S driver files created in /dev directory stc_config: removing device nodes for all SPC/S boards stc_config: making device nodes for n SPC/S boards stc_config: added SPC/S driver autoload commands to /etc/loadable stc_config: SPC/S driver configured to autoload on next bootup...
  • Page 75 Installation files available for this application quick install custom install server install Please enter a number or q for the main menu: Serial Parallel Controller User’s Guide—February 1993 Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com...
  • Page 76 "SPC/S" selected as new application. ----->>>>> CDM <<<<<----- Select Application Show Current Application Install Application Display Application Text File Print Application Text File List Applications List Categories Change Current Category Change Current Directory 10. Show Program Environment Please enter a number or q to quit: Quick The quick install is the default installation which quickly installs the device driver and Sundiag into the /usr directory.
  • Page 77 • To configure for SunOS 4.1 or greater, type no and press Return. • Press Return. Your selection is displayed. 6. Decide whether to proceed with the configuration at this time. Serial Parallel Controller User’s Guide—February 1993 Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com...
  • Page 78 extracting files from CD-ROM directory [/cdrom/STC/bin] to [/xxx] <please wait...> software successfully installed from /cdrom/STC/bin into /xxx The default configuration is for a SunOS 4.1 system. While there is software in this release that will run on a SunOS 4.0.3c system, this software is NOT OFFICIALLY SUPPORTED. Would you like to configure for a SunOS 4.0.3c system? [no] Configuration is for SunOS 4.x Would you like to run the configuration script?
  • Page 79 Press <RETURN> to continue the installation or type Q to quit now: 4. Press Return to continue (or Q to quit). A message appears, confirming that your files have been installed. Serial Parallel Controller User’s Guide—February 1993 Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com...
  • Page 80 5. Type the number that corresponds to the SunOS version that you need to install. Press Return. Your selection is displayed. 6. Decide whether to proceed with the configuration at this time. • To run the configuration script now, type yes and press Return. •...
  • Page 81: Ejecting The Cd

    # /usr/bin/eject cdrom Removing the Device Driver If you are upgrading to a new release of the Serial Parallel Controller device driver or no longer wish to use it, you can remove the driver from your system by following the instructions in this section.
  • Page 82 The installation script displays messages to confirm that the device driver has been removed from your system. stc_config: unloaded SPC/S driver, id n n is the id number for your device driver. stc_config: removing device nodes for all SPC/S boards stc_config: automatic loading of SPC/S device driver on bootup is disabled Installing the Device Driver Under Solaris 1.x (SunOS 4.x) Artisan Technology Group - Quality Instrumentation ...
  • Page 83 Serial Parallel Controller User’s Guide—February 1993 Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com...
  • Page 84: Kernel Reconfiguration Under Solaris

    Kernel Reconfiguration under Solaris 1.x This appendix explains how to add the Serial Parallel Controller device driver to the system kernel under Solaris 1.x (SunOS 4.x). This method of configuring your device driver is an alternative to loading the device driver as explained in Appendix A, "Installing the Device Driver Under Solaris 1.x (SunOS 4.x)".
  • Page 85: The System Kernel

    The name of the generic kernel configuration file is GENERIC. For example, /usr/share/sys/sun4c/conf/GENERIC is the generic kernel configuration file for Desktop SPARCsystems. Serial Parallel Controller User’s Guide—February 1993 Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com...
  • Page 86 To copy your current kernel configuration file: 1. Type su to become superuser and press Return. Type your superuser password and press Return. 2. Type cd, a space, the name of the directory where the kernel configuration file is located, and press Return. 3.
  • Page 87: Adding The Driver To The New Configuration File

    # driver for SPC/S board :wq (Save the file and quit the editor) tutorial# Adding the Driver to the New Configuration File Your Serial Parallel Controller device driver, like all new device drivers, requires an entry in the following kernel files: • /usr/share/sys/sun4c/conf/files •...
  • Page 88: Building The New System Kernel

    tutorial# chmod +w /sys/sun/conf.c tutorial# vi /sys/sun/conf.c Add the following lines to the /sys/sun/conf.c file: #include "stc.h" #if NSTC > 0 extern struct streamtab stc_stab; #define stcstab &stc_stab #else #define stcstab NULL #endif 8. Determine the major number for the new device by finding the major number of the last entry in the cdevsw table and using the next number.
  • Page 89 4. Type cd ../, no space, the name of the new kernel configuration file you specified as an argument to the config command, and press Return. Serial Parallel Controller User’s Guide—February 1993 Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com...
  • Page 90: Installing The New System Kernel

    1. As superuser, type cd /usr/sys/unbundled/stc and press Return. 2. Type ./stc_config -c and press Return. This removes old Serial Parallel Controller device driver files and device entries, if present. Kernel Reconfiguration under Solaris 1.x Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com...
  • Page 91: Creating Device Files

    Creating Device Files This section explains how to create device files. 1. As superuser, type cd /usr/sys/unbundled/stc and press Return. Serial Parallel Controller User’s Guide—February 1993 Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com...
  • Page 92: Restoring The Old Kernel

    If you are upgrading to a new release of the Serial Parallel Controller card or no longer wish to use it, you can also follow these instructions to remove your Serial Parallel Controller device driver from your system.
  • Page 93 After rebooting your system with the old kernel and logging in, remove the Serial Parallel Controller device driver files and device entries from your system. To remove the device driver from your system: 1. As superuser, type cd /usr/sys/unbundled/stc and press Return.
  • Page 94: Device Names And Device Default Settings

    This appendix describes the device names for the serial and parallel ports and explains how to change the default settings for the ports contained in stc_defaults. The Serial Parallel Controller device driver lets you specify various default settings to configure the serial and parallel ports. Additional information is contained in the file stc_defaults.doc.
  • Page 95: Card Addresses

    These settings are explained in this appendix. Card Addresses The following table shows you how to address the Serial Parallel Controller cards in your system. Table C-1 How Your Cards are Addressed...
  • Page 96: Serial Ports

    Device Name Card Number Port ttyz09 serial 1 ttyz0a serial 2 ttyz0b serial 3 ttyz0c serial 4 ttyz0d serial 5 ttyz0e serial 6 ttyz0f serial 7 stclp1 parallel ttyz10 serial 0 ttyz11 serial 1 ttyz12 serial 2 ttyz13 serial 3 ttyz14 serial 4 ttyz15...
  • Page 97: Parallel Port

    You can type the flag names in any order. Turning the setting on enables the Serial Parallel Serial Parallel Controller User’s Guide—February 1993 Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com...
  • Page 98 Controller card to monitor the appropriate signal from the peripheral device. Deleting a flag name from the line turns a setting off. The card then ignores the signal. • paper_out monitors PAPER OUT signals. • error monitors ERROR signals. • busy monitors BUSY signals.
  • Page 99 For more examples of configuring serial and parallel ports, see the following files: • Under Solaris 2.1 or later: • /opt/SUNWstc/stc_defaults • /opt/SUNWstc/stc/stc_defaults.doc • Under Solaris 1.x : • /usr/etc/stc/stc_defaults • /usr/sys/unbundled/stc/stc_defaults.doc Serial Parallel Controller User’s Guide—February 1993 Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com...
  • Page 100: Serialcables

    SerialCables This appendix provides information about serial cables, which connect peripheral devices to the serial ports on the Serial Parallel Controller patch panel. You can purchase ready-made cables or make them yourself. Serial Cable Types Two types of serial cables are described in this appendix: •...
  • Page 101 The following figure shows the wiring of a serial modem cable that enables the Serial Parallel Controller card to communicate with a Hayes-compatible modem. If you obtain a serial cable wired like the one shown, it will properly connect your patch panel and a Hayes-compatible modem.
  • Page 102: Null Modem Cables

    Null Modem Cables Null modem cables are another type of serial cable. However, these cable wires are not attached to the pins in the connectors in the same way as a modem cable. Terminals and printers use a null modem cable. If you cannot purchase a ready-made null modem cable, you can make one by connecting a null modem converter to a modem cable, as the following figure shows.
  • Page 103: Unrecognized Cables

    Unrecognized Cables If the Serial Parallel Controller device driver recognizes a peripheral device, you can define it to your system. For the Serial Parallel Controller card to communicate with devices not supported by the Serial Parallel Controller device driver, you must inform your system about them by using the methods described in “Printer, Terminal, and Modem Software”...
  • Page 104 To cable an unrecognized device: 1. Make sure the device is a serial device. Peripheral devices are cabled to the serial ports on your patch panel. This applies only to serial devices. 2. Determine whether the device is DCE or DTE. The manual or your dealer should have this information.
  • Page 105 Serial Parallel Controller User’s Guide—March 1992 Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com...
  • Page 106: Sundiag

    Sundiag This appendix explains how to use Sundiag with Solaris 1.x (SunOS 4.x) to test the functionality of the Serial Parallel Controller card within the SunOS operating environment. Sundiag uses the Serial Parallel Controller device driver to access the card components such as the cd-180 and ppc2 chips, and the serial and parallel ports.
  • Page 107: Sundiag Files

    You should see the Probing Message, and then the Sundiag window should appear on your screen. Note – The Sundiag tests for the Serial Parallel Controller appear under "USER TESTS" in the control panel. Serial Parallel Controller User’s Guide—February 1993...
  • Page 108: Sundiag Tests

    • (user0) Serial Parallel Controller card Internal Test This test performs a quick internal check of the Serial Parallel Controller card(s) installed in SBus slots. You do not need to attach anything to the This is a stand-alone test designed to run alone, card(s) to perform this test.
  • Page 109 96-pin loopback plug clicks to insure a secure connection. • (user4) Serial Parallel Controller card 96-pin LB on card 1 This test provides data transmission, full-modem loopback, and parallel port loopback testing on the first installed card. You must attach a 96-pin loopback plug to the card before running this test.
  • Page 110: Test Options

    The Serial Parallel Controller tests appear under "USER TESTS" in the Sundiag click control panel. To run a test, with the mouse, on the box next to one of the click ten tests listed above. Then on the Sundiag start button.
  • Page 111 Sundiag control panel. Use spiftest for the test name. Refer to the table earlier in this appendix and the Sundiag User’s Guide for all the available command line arguments. Serial Parallel Controller User’s Guide—February 1993 Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com...
  • Page 112 /dev/ttyz00, you must use a 25-pin loopback plug for each enabled serial port. # @(#).usertest Rev MM/DD/YY Copyright 1990 Sun Microsystems. Serial Parallel Controller card Internal Test,spiftest,s D=any Serial Parallel Controller card 25-pin LB on ttyz00,spiftest,s D=/dev/ttyz00 T=8 #Serial Parallel Controller card 25-pin LB on ttyz01,spiftest,s D=/dev/ttyz01 T=8...
  • Page 113: Error Messages

    Error Messages Sundiag error messages appear in the sundiag console window. The error messages are generated as a result of the Sundiag Serial Parallel Controller discovering fatal errors. Sundiag saves these error messages in the Sundiag error log file. The error messages appear in the following format: MM/DD/YY HH:MM:SS <device name>...
  • Page 114 Error messages: Ioctl STC_DCONTROL(STC_REGIOW-COR2) error on <device name>, or Ioctl STC_DCONTROL(STC_REGIOR-CCR) error on <device name>, or Ioctl STC_DCONTROL(STC_REGIOW-CCR) error on <device name>, or Ioctl STC_DCONTROL(STC_PPCREGW-PDATA) error on <device name>, or Ioctl STC_DCONTROL(STC_PPCREGR-PDATA) error on <device name>, or Ioctl TCSETS failed on <device name>, or Ioclt TIOCMGET error on <device name>, or Ioclt TIOCMSET error on <device name>, or Ioctl STC_GPPC error on device <device name>...
  • Page 115 Expected <number> bytes, observed <number> bytes Internal test failed on <device name> Possible cause: Data transmission failed because you’re running the internal loopback with another test. The Serial Parallel Controller card must be replaced. Expected = <pattern>, observed = <pattern>...
  • Page 116 Expected = <pattern>, observed = <pattern> Data loopback failed on <device name> Possible causes: Data transmission failed because you are running the internal loopback with another test, or the loopback connector is not making proper contact, or the card failed. Re-insert the connector and make sure it makes proper contact.
  • Page 117 Serial Parallel Controller User’s Guide—February 1993 Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com...
  • Page 118: Serial Parallel Controller Parts

    Serial Parallel Controller Parts • Serial Parallel Controller card (Rev. 1.1) F501-1931 • Patch panel F540-2007 • 96-pin shielded cable F530-1685 • 96-pin loopback plug 370-1366 • 25-pin serial loopback plug 540-1558 Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com...
  • Page 119 Serial Parallel Controller User’s Guide—February 1993 Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com...
  • Page 120: Messages

    Messages This appendix explains messages displayed by the Serial Parallel Controller device driver and configuration script. These messages inform you about the status of the installation of the device driver. They also help you troubleshoot problems with the device driver and card.
  • Page 121: Configuration Script Messages

    Advisory. The device driver, which has an id number, is successfully unloaded (removed) from your system. You cannot operate any peripheral devices controlled by Serial Parallel Controller until the Serial Parallel Controller device driver is installed and configured into your system again.
  • Page 122 stc_config: removing device nodes for all SPC/S boards Advisory. The device nodes for your device driver are being removed from the /dev directory. This message appears as a result of booting your system or using the -c command line option with the configuration script. stc_config: making device nodes for number SPC/S boards Advisory.
  • Page 123 Fatal. The device driver cannot be configured into your system. See the modunload man page for information about the error number. Make sure that at least one Serial Parallel Controller board is installed in your system. Also make sure the vd (virtual device) driver is configured into your system kernel.
  • Page 124 stc_config: driver must be loaded before devices can be made, use -l Fatal. You attempted to create device nodes for your device driver in the /dev directory before loading your device driver. Load your device driver using the -l command-line option. Then use the -m command-line option to create device nodes for your device driver in the /dev directory.
  • Page 125: Loading And Removing Driver Messages

    Error. The virtual device handler of the device driver attempted to execute an unrecognized command. Phone your Sun sales representative if you receive this message. Serial Parallel Controller User’s Guide—February 1993 Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com...
  • Page 126: Initialization Messages

    Fatal. The device driver does not support this revision of the board. You might be using an older version of the Serial Parallel Controller board or the Programmable Read-Only Memory (PROM) on the board might be faulty.
  • Page 127: Serial Port Messages

    Make sure you are using the correct flow control. Serial Parallel Controller User’s Guide—February 1993 Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com...
  • Page 128: Serial Port Control Messages

    * stc_rcvex: unit board number line number receiver overrun, char: hexadecimal character Error. The device driver could not service the cd-180 receive data interrupt before the receive data FIFO (queue) of the chip filled up. Make sure you are using the correct flow control. * stc_drainsilo: unit board number line number can’t allocate streams buffer Error.
  • Page 129 STREAMS module to be sent to the parallel port. The device driver returns from the sleep() call prematurely as a result. Serial Parallel Controller User’s Guide—February 1993 Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com...
  • Page 130 * ppc_int: unit board number stray interrupt Advisory. The parallel port controller (ppc) chip generated an unexpected interrupt while the peripheral device was closed. If this problem occurs frequently, your parallel cable might be picking up noise, causing the ppc to generate an unwanted interrupt;...
  • Page 131 * stc_start: unit board number line number unknown message: hexadecimal number Advisory. The device driver received an unknown STREAMS message from the application. Check your application coding. Serial Parallel Controller User’s Guide—February 1993 Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com...
  • Page 132 Index Data terminal equipment, 38, 88, 89, 91 DCE, 88, 91 Baud Rate, 2 DTE, 38, 88, 89, 91 setting for modems, 33, 38 setting for serial and parallel ports, 81 Interactive Login Sessions, supporting, 81 Cables, 87 96-pin connector locking Jumper Positions mechanism, 13 RS-232, 8...
  • Page 133 1 Man Page, xii, 11 software manager, 20 interface, 20 invoking, 20 main menu, 20 removing packages, 25 swm command, 20 Serial Parallel Controller User’s Guide—February 1993 Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com...
  • Page 134 Pagination Instructions Complete this sheet and send it with your manual to the Tech Pubs Production Group. Please include front and back matter when counting the total number of pages. Manual: Serial Parallel Controller User’s Guide Writer: Steve Hix Revision:...
  • Page 135 Pagination Sheet Serial Parallel Controller User’s Guide Manual: 800-6573-12 Part Number: Ch 6 app A app B app C app D 122 of 123 Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com...
  • Page 136 Pagination Sheet Serial Parallel Controller User’s Guide Manual: 800-6573-12 Part Number: app E app F app G Index Tot=132 123 of 123 Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com...
  • Page 137 Artisan Technology Group is your source for quality new and certified-used/pre-owned equipment SERVICE CENTER REPAIRS WE BUY USED EQUIPMENT • FAST SHIPPING AND DELIVERY Experienced engineers and technicians on staff Sell your excess, underutilized, and idle used equipment at our full-service, in-house repair center We also offer credit for buy-backs and trade-ins •...

Table of Contents