diff options
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/kernel-parameters.txt | 15 | ||||
-rw-r--r-- | Documentation/serial-console.txt | 11 |
2 files changed, 18 insertions, 8 deletions
diff --git a/Documentation/kernel-parameters.txt b/Documentation/kernel-parameters.txt index 44a25f3f51d1..f8cb55c30b0f 100644 --- a/Documentation/kernel-parameters.txt +++ b/Documentation/kernel-parameters.txt | |||
@@ -367,12 +367,17 @@ running once the system is up. | |||
367 | tty<n> Use the virtual console device <n>. | 367 | tty<n> Use the virtual console device <n>. |
368 | 368 | ||
369 | ttyS<n>[,options] | 369 | ttyS<n>[,options] |
370 | ttyUSB0[,options] | ||
370 | Use the specified serial port. The options are of | 371 | Use the specified serial port. The options are of |
371 | the form "bbbbpn", where "bbbb" is the baud rate, | 372 | the form "bbbbpnf", where "bbbb" is the baud rate, |
372 | "p" is parity ("n", "o", or "e"), and "n" is bits. | 373 | "p" is parity ("n", "o", or "e"), "n" is number of |
373 | Default is "9600n8". | 374 | bits, and "f" is flow control ("r" for RTS or |
374 | 375 | omit it). Default is "9600n8". | |
375 | See also Documentation/serial-console.txt. | 376 | |
377 | See Documentation/serial-console.txt for more | ||
378 | information. See | ||
379 | Documentation/networking/netconsole.txt for an | ||
380 | alternative. | ||
376 | 381 | ||
377 | uart,io,<addr>[,options] | 382 | uart,io,<addr>[,options] |
378 | uart,mmio,<addr>[,options] | 383 | uart,mmio,<addr>[,options] |
diff --git a/Documentation/serial-console.txt b/Documentation/serial-console.txt index 6c689b0df2b8..9a7bc8b3f479 100644 --- a/Documentation/serial-console.txt +++ b/Documentation/serial-console.txt | |||
@@ -17,11 +17,13 @@ The format of this option is: | |||
17 | ttyX for any other virtual console | 17 | ttyX for any other virtual console |
18 | ttySx for a serial port | 18 | ttySx for a serial port |
19 | lp0 for the first parallel port | 19 | lp0 for the first parallel port |
20 | ttyUSB0 for the first USB serial device | ||
20 | 21 | ||
21 | options: depend on the driver. For the serial port this | 22 | options: depend on the driver. For the serial port this |
22 | defines the baudrate/parity/bits of the port, | 23 | defines the baudrate/parity/bits/flow control of |
23 | in the format BBBBPN, where BBBB is the speed, | 24 | the port, in the format BBBBPNF, where BBBB is the |
24 | P is parity (n/o/e), and N is bits. Default is | 25 | speed, P is parity (n/o/e), N is number of bits, |
26 | and F is flow control ('r' for RTS). Default is | ||
25 | 9600n8. The maximum baudrate is 115200. | 27 | 9600n8. The maximum baudrate is 115200. |
26 | 28 | ||
27 | You can specify multiple console= options on the kernel command line. | 29 | You can specify multiple console= options on the kernel command line. |
@@ -45,6 +47,9 @@ become the console. | |||
45 | You will need to create a new device to use /dev/console. The official | 47 | You will need to create a new device to use /dev/console. The official |
46 | /dev/console is now character device 5,1. | 48 | /dev/console is now character device 5,1. |
47 | 49 | ||
50 | (You can also use a network device as a console. See | ||
51 | Documentation/networking/netconsole.txt for information on that.) | ||
52 | |||
48 | Here's an example that will use /dev/ttyS1 (COM2) as the console. | 53 | Here's an example that will use /dev/ttyS1 (COM2) as the console. |
49 | Replace the sample values as needed. | 54 | Replace the sample values as needed. |
50 | 55 | ||