Seagate ST118273WC Uživatelská příručka Strana 78

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 86
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 77
Attaching Devices to the Asynchronous Serial Interface
7-6 Peripherals Configuration (R1001H) HP-UX version 11.00.01
4800 baud
9600 baud
19200 baud
38400 baud (not available for Continuum Series 600 and 1200 systems)
The stop bits supported are 1.5 bits and 2 bits. Supported data bits are 5 bits, 6 bits,
7 bits, and 8 bits. Parity options of even, odd, and no parity are available.
Hardware and software flow control is recommended for baud rates above 19200
baud.
Configuring an Asynchronous Terminal
Additional serial terminals might require setting configuration modes. The
following procedure describes how to configure an asynchronous terminal.
1. Add a getty entry for each new terminal (which does not have an existing
entry) to the /etc/inittab file. You can do this either with SAM or
manually. Entries must conform to the pattern
id:run_state:action:process, as documented on the inittab(4) man
page. The following are two sample entries:
ttp3:2:respawn:/usr/sbin/getty -h -t 60 tty0p3 {{9600}}
2 specifies a run state of 2 (multiuser), respawn specifies that init
should restart the process if it is exited, and /usr/sbin/getty specifies
the process that sets up serial terminal and modem ports and provides the
initial login prompt.
The -h option ensures that the getty will not hang up the line before
setting the port speed, the -t 60 option is a security option that requires
the user login name and password to be typed within 60 seconds, and the
tty0p3 identifies the port in /dev to which the getty processes attach.
The {{9600}} does not represent the baud rate. It is a pointer into the
/etc/gettydefs file, telling the system side what entry to use. See the
gettydefs(4) man page.
tty1:2:respawn:/usr/sbin/getty -h tty0p3 H
In this case, tty0p3 identifies the port, and H specifies the gettydefs
entry for port setup. H sets up the port for 9600 baud, eight data bits, no
parity, and one stop bit, the standard setup for most terminals.
Zobrazit stránku 77
1 2 ... 73 74 75 76 77 78 79 80 81 82 83 84 85 86

Komentáře k této Příručce

Žádné komentáře