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