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. 206915c0e4STomas Hlavacek 216915c0e4STomas HlavacekWhat: /sys/class/tty/ttyS0/uartclk 226915c0e4STomas HlavacekDate: Sep 2012 236915c0e4STomas HlavacekContact: Tomas Hlavacek <tmshlvck@gmail.com> 246915c0e4STomas HlavacekDescription: 256915c0e4STomas Hlavacek Shows the current uartclk value associated with the 266915c0e4STomas Hlavacek UART port in serial_core, that is bound to TTY like ttyS0. 276915c0e4STomas Hlavacek uartclk = 16 * baud_base 286915c0e4STomas Hlavacek 29