mirror of
https://github.com/adulau/aha.git
synced 2024-12-27 19:26:25 +00:00
[PATCH] doc: more serial-console info
Add info on flow control for serial consoles. Refer to netconsole option also. Signed-off-by: Randy Dunlap <rdunlap@xenotime.net> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
parent
174e27c607
commit
f1a1c2dc2a
2 changed files with 17 additions and 7 deletions
|
@ -367,12 +367,17 @@ running once the system is up.
|
||||||
tty<n> Use the virtual console device <n>.
|
tty<n> Use the virtual console device <n>.
|
||||||
|
|
||||||
ttyS<n>[,options]
|
ttyS<n>[,options]
|
||||||
|
ttyUSB0[,options]
|
||||||
Use the specified serial port. The options are of
|
Use the specified serial port. The options are of
|
||||||
the form "bbbbpn", where "bbbb" is the baud rate,
|
the form "bbbbpnf", where "bbbb" is the baud rate,
|
||||||
"p" is parity ("n", "o", or "e"), and "n" is bits.
|
"p" is parity ("n", "o", or "e"), "n" is number of
|
||||||
Default is "9600n8".
|
bits, and "f" is flow control ("r" for RTS or
|
||||||
|
omit it). Default is "9600n8".
|
||||||
|
|
||||||
See also Documentation/serial-console.txt.
|
See Documentation/serial-console.txt for more
|
||||||
|
information. See
|
||||||
|
Documentation/networking/netconsole.txt for an
|
||||||
|
alternative.
|
||||||
|
|
||||||
uart,io,<addr>[,options]
|
uart,io,<addr>[,options]
|
||||||
uart,mmio,<addr>[,options]
|
uart,mmio,<addr>[,options]
|
||||||
|
|
|
@ -17,11 +17,13 @@ The format of this option is:
|
||||||
ttyX for any other virtual console
|
ttyX for any other virtual console
|
||||||
ttySx for a serial port
|
ttySx for a serial port
|
||||||
lp0 for the first parallel port
|
lp0 for the first parallel port
|
||||||
|
ttyUSB0 for the first USB serial device
|
||||||
|
|
||||||
options: depend on the driver. For the serial port this
|
options: depend on the driver. For the serial port this
|
||||||
defines the baudrate/parity/bits of the port,
|
defines the baudrate/parity/bits/flow control of
|
||||||
in the format BBBBPN, where BBBB is the speed,
|
the port, in the format BBBBPNF, where BBBB is the
|
||||||
P is parity (n/o/e), and N is bits. Default is
|
speed, P is parity (n/o/e), N is number of bits,
|
||||||
|
and F is flow control ('r' for RTS). Default is
|
||||||
9600n8. The maximum baudrate is 115200.
|
9600n8. The maximum baudrate is 115200.
|
||||||
|
|
||||||
You can specify multiple console= options on the kernel command line.
|
You can specify multiple console= options on the kernel command line.
|
||||||
|
@ -45,6 +47,9 @@ become the console.
|
||||||
You will need to create a new device to use /dev/console. The official
|
You will need to create a new device to use /dev/console. The official
|
||||||
/dev/console is now character device 5,1.
|
/dev/console is now character device 5,1.
|
||||||
|
|
||||||
|
(You can also use a network device as a console. See
|
||||||
|
Documentation/networking/netconsole.txt for information on that.)
|
||||||
|
|
||||||
Here's an example that will use /dev/ttyS1 (COM2) as the console.
|
Here's an example that will use /dev/ttyS1 (COM2) as the console.
|
||||||
Replace the sample values as needed.
|
Replace the sample values as needed.
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue