1992.5.25


SUBJECT: SPC °ü·Ã Admin ÂüÁ¶ »çÇ×

DESCRIPTION:
    1. Admin °ü·Ã fileµé:
       /etc/stc/stc_defs,stc_defaults
       /sys/unbundled/stc directory
       /dev/stc.AUTOLOAD /dev/stc.o /dev/stc_config
       /etc/loadable,rc.local 
       /usr/include/sbusdev/stcio.h,stcreg.h,stcio.h,stcreg.h
    2. in addition, 3 other files are created in the /dev directory:
          /dev/stc.o - the driver object file, used by modload
          /dev/stc.AUTOLOAD - exists if we want to autoload the driver
                                                  on the next boot up
    3. /dev/ttyy** ¿Í /dev/ttyz** ÀÇ Â÷ÀÌ ( modem »ç¿ë½Ã¸¸ ÇØ´çµÇ¸®¶ó ÃßÁ¤ )
       device names (assuming a max of 3 SPIF cards):
          /dev/ttyy[0x00-0x17] - dial in serial lines
          /dev/ttyz[0x00-0x17] - dial out serial lines
          /dev/stclp[0-2] - parallel lines (1 per card)
          /dev/stc[0-2] - control line (1 per card)
          /dev/stc_config - a copy of /sys/unbundled/stc/stc_config
    4. Serial, Parallel port °ü·Ã parameter º¯°æ½Ã ( stc_defaults º¯°æ½Ã)
          # /usr/etc/stc/stc_defs /usr/etc/stc/stc_defaults
    5. Parallel port diagnostic test
          - sundiag ±ò¸®Áö ¾Ê¾ÒÀ» ¶§, command line»ó ¼öÇà
               # /usr/diag/sundiag/stciftest D=/dev/stclp0 T=1
          - option D ¿¡´Â test¸¦¿øÇÏ´Â device fileÀ» ³Ö¾î ÁÖ¸é µÈ´Ù.
          - option T ÀÇ °ªÀÌ 
                   1 À̸é internal loopback test
                   2 À̸é printer test
                   4 À̸é 96-pin loopback test
                   8 À̸é DB-25 loopback test
                   16 À̸é echo tty test
          - option ÁÙ ¶§ /usr/diag/sundiag/.usertest¸¦ ÂüÁ¶.
          - /usr/diag/sundiag/.usertest file¿¡´Â testÇÒ deviceµéÀÌ
              "sundiag test label, test name, command-line arguments" ¼øÀ¸·Î
              lineº°·Î µÇÀÖ´Ù.
          - command-line argumentsµéÀº command line»ó¿¡¼­ ¼öÇàÇÒ ¶§ÀÇ optinonÀ»
            ÀǹÌÇÑ´Ù. ÇÊ¿äÇÏ´Ù¸é .usertestÀÇ command-line arguments¸¦ º¯°æÇÏ¿© 
            testÇÒ ¼ö ÀÖ´Ù.
    6. Parallel printer attach : HP laser II
          - /etc/printcap file¿¡ Ưº°È÷ Àâ¾Æ ÁÙ °Í ¾øÀ½. ¾Æ·¡ printcapÂüÁ¶.
          - manualÀÇ parallel printer°ü·ÃÇÏ¿©
            printcap Àâ¾Æ ÁÖ´Â °ÍÀ» ³Ö¾îµµ printµÊ.
          - parallel print ½Ã¿¡µµ  spool¿¡ ½×ÀÓ
          - example:
            lp|HP Laser II Parallel:\
               :lp=/dev/stclp0:br#9600:lf=/usr/adm/lpd-errs:\
               :sp=/usr/spool/lpd:



  Revision History
  Created     on May 25 ,1992
  Updated     on May 25 ,1992