1 What: /sys/class/tty/console/active
3 Contact: Kay Sievers <kay.sievers@vrfy.org>
5 Shows the list of currently configured
6 tty devices used for the console,
8 The last entry in the file is the active
9 device connected to /dev/console.
10 The file supports poll() to detect virtual
13 What: /sys/class/tty/tty0/active
15 Contact: Kay Sievers <kay.sievers@vrfy.org>
17 Shows the currently active virtual console
19 The file supports poll() to detect virtual
22 What: /sys/class/tty/ttyS0/uartclk
24 Contact: Tomas Hlavacek <tmshlvck@gmail.com>
26 Shows the current uartclk value associated with the
27 UART port in serial_core, that is bound to TTY like ttyS0.
28 uartclk = 16 * baud_base
30 These sysfs values expose the TIOCGSERIAL interface via
31 sysfs rather than via ioctls.
33 What: /sys/class/tty/ttyS0/type
35 Contact: Alan Cox <alan@linux.intel.com>
37 Shows the current tty type for this port.
39 These sysfs values expose the TIOCGSERIAL interface via
40 sysfs rather than via ioctls.
42 What: /sys/class/tty/ttyS0/line
44 Contact: Alan Cox <alan@linux.intel.com>
46 Shows the current tty line number for this port.
48 These sysfs values expose the TIOCGSERIAL interface via
49 sysfs rather than via ioctls.
51 What: /sys/class/tty/ttyS0/port
53 Contact: Alan Cox <alan@linux.intel.com>
55 Shows the current tty port I/O address for this port.
57 These sysfs values expose the TIOCGSERIAL interface via
58 sysfs rather than via ioctls.
60 What: /sys/class/tty/ttyS0/irq
62 Contact: Alan Cox <alan@linux.intel.com>
64 Shows the current primary interrupt for this port.
66 These sysfs values expose the TIOCGSERIAL interface via
67 sysfs rather than via ioctls.
69 What: /sys/class/tty/ttyS0/flags
71 Contact: Alan Cox <alan@linux.intel.com>
73 Show the tty port status flags for this port.
75 These sysfs values expose the TIOCGSERIAL interface via
76 sysfs rather than via ioctls.
78 What: /sys/class/tty/ttyS0/xmit_fifo_size
80 Contact: Alan Cox <alan@linux.intel.com>
82 Show the transmit FIFO size for this port.
84 These sysfs values expose the TIOCGSERIAL interface via
85 sysfs rather than via ioctls.
87 What: /sys/class/tty/ttyS0/close_delay
89 Contact: Alan Cox <alan@linux.intel.com>
91 Show the closing delay time for this port in ms.
93 These sysfs values expose the TIOCGSERIAL interface via
94 sysfs rather than via ioctls.
96 What: /sys/class/tty/ttyS0/closing_wait
98 Contact: Alan Cox <alan@linux.intel.com>
100 Show the close wait time for this port in ms.
102 These sysfs values expose the TIOCGSERIAL interface via
103 sysfs rather than via ioctls.
105 What: /sys/class/tty/ttyS0/custom_divisor
107 Contact: Alan Cox <alan@linux.intel.com>
109 Show the custom divisor if any that is set on this port.
111 These sysfs values expose the TIOCGSERIAL interface via
112 sysfs rather than via ioctls.
114 What: /sys/class/tty/ttyS0/io_type
116 Contact: Alan Cox <alan@linux.intel.com>
118 Show the I/O type that is to be used with the iomem base
121 These sysfs values expose the TIOCGSERIAL interface via
122 sysfs rather than via ioctls.
124 What: /sys/class/tty/ttyS0/iomem_base
126 Contact: Alan Cox <alan@linux.intel.com>
128 The I/O memory base for this port.
130 These sysfs values expose the TIOCGSERIAL interface via
131 sysfs rather than via ioctls.
133 What: /sys/class/tty/ttyS0/iomem_reg_shift
135 Contact: Alan Cox <alan@linux.intel.com>
137 Show the register shift indicating the spacing to be used
138 for accesses on this iomem address.
140 These sysfs values expose the TIOCGSERIAL interface via
141 sysfs rather than via ioctls.