Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 23605
b: refs/heads/master
c: f1a1c2d
h: refs/heads/master
i:
  23603: 5fd3939
v: v3
  • Loading branch information
Randy Dunlap authored and Linus Torvalds committed Mar 25, 2006
1 parent 9a1d098 commit cf887ba
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 9 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 174e27c607cfa3ebb92934d28c0fdfcf5ce6c3af
refs/heads/master: f1a1c2dc2a956c375b432d2a9a28e52ba9d81c7c
15 changes: 10 additions & 5 deletions trunk/Documentation/kernel-parameters.txt
Original file line number Diff line number Diff line change
Expand Up @@ -367,12 +367,17 @@ running once the system is up.
tty<n> Use the virtual console device <n>.

ttyS<n>[,options]
ttyUSB0[,options]
Use the specified serial port. The options are of
the form "bbbbpn", where "bbbb" is the baud rate,
"p" is parity ("n", "o", or "e"), and "n" is bits.
Default is "9600n8".

See also Documentation/serial-console.txt.
the form "bbbbpnf", where "bbbb" is the baud rate,
"p" is parity ("n", "o", or "e"), "n" is number of
bits, and "f" is flow control ("r" for RTS or
omit it). Default is "9600n8".

See Documentation/serial-console.txt for more
information. See
Documentation/networking/netconsole.txt for an
alternative.

uart,io,<addr>[,options]
uart,mmio,<addr>[,options]
Expand Down
11 changes: 8 additions & 3 deletions trunk/Documentation/serial-console.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,13 @@ The format of this option is:
ttyX for any other virtual console
ttySx for a serial port
lp0 for the first parallel port
ttyUSB0 for the first USB serial device

options: depend on the driver. For the serial port this
defines the baudrate/parity/bits of the port,
in the format BBBBPN, where BBBB is the speed,
P is parity (n/o/e), and N is bits. Default is
defines the baudrate/parity/bits/flow control of
the port, in the format BBBBPNF, where BBBB is the
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.

You can specify multiple console= options on the kernel command line.
Expand All @@ -45,6 +47,9 @@ become the console.
You will need to create a new device to use /dev/console. The official
/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.
Replace the sample values as needed.

Expand Down

0 comments on commit cf887ba

Please sign in to comment.