Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[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>

authored by

Randy Dunlap and committed by
Linus Torvalds
f1a1c2dc 174e27c6

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