Lines Matching refs:console
3 To use a serial port as console you need to compile the support into your
8 It is possible to specify multiple devices for console output. You can
10 use for console output.
14 console=device,options
16 device: tty0 for the foreground virtual console
17 ttyX for any other virtual console
29 You can specify multiple console= options on the kernel command line.
31 you open /dev/console. So, for example:
33 console=ttyS1,9600 console=tty0
35 defines that opening /dev/console will get you the current foreground
36 virtual console, and kernel messages will appear on both the VGA
37 console and the 2nd serial port (ttyS1 or COM2) at 9600 baud.
39 Note that you can only define one console per device type (serial, video).
41 If no console device is specified, the first device found capable of
42 acting as a system console will be used. At this time, the system
45 become the console.
47 You will need to create a new device to use /dev/console. The official
48 /dev/console is now character device 5,1.
50 (You can also use a network device as a console. See
53 Here's an example that will use /dev/ttyS1 (COM2) as the console.
56 1. Create /dev/console (real console) and /dev/tty0 (master virtual
57 console):
60 rm -f console tty0
61 mknod -m 622 console c 5 1
73 append = "console=ttyS1,9600"
85 console for the first time, because otherwise init will probably
86 set the baudrate to 38400 (baudrate of the virtual console).
88 6. /dev/console and X
89 Programs that want to do something with the virtual console usually
90 open /dev/console. If you have created the new /dev/console device,
91 and your console is NOT the virtual console some programs will fail.
93 /dev/console instead of /dev/tty0. Some of those programs are:
99 Note that if you boot without a console= option (or with
100 console=/dev/tty0), /dev/console is the same as /dev/tty0. In that