xref: /linux/Documentation/ABI/testing/sysfs-tty (revision 6915c0e487c822e2436683e14302c0b8a6155cc7)
1fbc92a34SKay SieversWhat:		/sys/class/tty/console/active
2fbc92a34SKay SieversDate:		Nov 2010
3fbc92a34SKay SieversContact:	Kay Sievers <kay.sievers@vrfy.org>
4fbc92a34SKay SieversDescription:
5fbc92a34SKay Sievers		 Shows the list of currently configured
6fbc92a34SKay Sievers		 console devices, like 'tty1 ttyS0'.
7fbc92a34SKay Sievers		 The last entry in the file is the active
8fbc92a34SKay Sievers		 device connected to /dev/console.
9fbc92a34SKay Sievers		 The file supports poll() to detect virtual
10fbc92a34SKay Sievers		 console switches.
11fbc92a34SKay Sievers
12fbc92a34SKay SieversWhat:		/sys/class/tty/tty0/active
13fbc92a34SKay SieversDate:		Nov 2010
14fbc92a34SKay SieversContact:	Kay Sievers <kay.sievers@vrfy.org>
15fbc92a34SKay SieversDescription:
16fbc92a34SKay Sievers		 Shows the currently active virtual console
17fbc92a34SKay Sievers		 device, like 'tty1'.
18fbc92a34SKay Sievers		 The file supports poll() to detect virtual
19fbc92a34SKay Sievers		 console switches.
20*6915c0e4STomas Hlavacek
21*6915c0e4STomas HlavacekWhat:		/sys/class/tty/ttyS0/uartclk
22*6915c0e4STomas HlavacekDate:		Sep 2012
23*6915c0e4STomas HlavacekContact:	Tomas Hlavacek <tmshlvck@gmail.com>
24*6915c0e4STomas HlavacekDescription:
25*6915c0e4STomas Hlavacek		 Shows the current uartclk value associated with the
26*6915c0e4STomas Hlavacek		 UART port in serial_core, that is bound to TTY like ttyS0.
27*6915c0e4STomas Hlavacek		 uartclk = 16 * baud_base
28*6915c0e4STomas Hlavacek
29