tty: add 'active' sysfs attribute to tty0 and console device
[linux-2.6.git] / Documentation / ABI / testing / sysfs-tty
1 What:           /sys/class/tty/console/active
2 Date:           Nov 2010
3 Contact:        Kay Sievers <kay.sievers@vrfy.org>
4 Description:
5                  Shows the list of currently configured
6                  console devices, like 'tty1 ttyS0'.
7                  The last entry in the file is the active
8                  device connected to /dev/console.
9                  The file supports poll() to detect virtual
10                  console switches.
11
12 What:           /sys/class/tty/tty0/active
13 Date:           Nov 2010
14 Contact:        Kay Sievers <kay.sievers@vrfy.org>
15 Description:
16                  Shows the currently active virtual console
17                  device, like 'tty1'.
18                  The file supports poll() to detect virtual
19                  console switches.