1 What: /sys/class/tty/console/active 2 Date: Nov 2010 3 Contact: Kay Sievers <kay.sievers@vrfy.o 4 Description: 5 Shows the list of currently c 6 console devices, like 'tty1 t 7 The last entry in the file is 8 device connected to /dev/cons 9 The file supports poll() to d 10 console switches. 11 12 What: /sys/class/tty/tty<x>/active 13 Date: Nov 2010 14 Contact: Kay Sievers <kay.sievers@vrfy.o 15 Description: 16 Shows the currently active vi 17 device, like 'tty1'. 18 The file supports poll() to d 19 console switches. 20 21 What: /sys/class/tty/ttyS<x>/uartclk 22 Date: Sep 2012 23 Contact: Tomas Hlavacek <tmshlvck@gmail. 24 Description: 25 Shows the current uartclk val 26 UART port in serial_core, tha 27 uartclk = 16 * baud_base 28 29 These sysfs values expose the 30 sysfs rather than via ioctls. 31 32 What: /sys/class/tty/ttyS<x>/type 33 Date: October 2012 34 Contact: Alan Cox <alan@linux.intel.com> 35 Description: 36 Shows the current tty type fo 37 38 These sysfs values expose the 39 sysfs rather than via ioctls. 40 41 What: /sys/class/tty/ttyS<x>/line 42 Date: October 2012 43 Contact: Alan Cox <alan@linux.intel.com> 44 Description: 45 Shows the current tty line nu 46 47 These sysfs values expose the 48 sysfs rather than via ioctls. 49 50 What: /sys/class/tty/ttyS<x>/port 51 Date: October 2012 52 Contact: Alan Cox <alan@linux.intel.com> 53 Description: 54 Shows the current tty port I/ 55 56 These sysfs values expose the 57 sysfs rather than via ioctls. 58 59 What: /sys/class/tty/ttyS<x>/irq 60 Date: October 2012 61 Contact: Alan Cox <alan@linux.intel.com> 62 Description: 63 Shows the current primary int 64 65 These sysfs values expose the 66 sysfs rather than via ioctls. 67 68 What: /sys/class/tty/ttyS<x>/flags 69 Date: October 2012 70 Contact: Alan Cox <alan@linux.intel.com> 71 Description: 72 Show the tty port status flag 73 74 These sysfs values expose the 75 sysfs rather than via ioctls. 76 77 What: /sys/class/tty/ttyS<x>/xmit_fi 78 Date: October 2012 79 Contact: Alan Cox <alan@linux.intel.com> 80 Description: 81 Show the transmit FIFO size f 82 83 These sysfs values expose the 84 sysfs rather than via ioctls. 85 86 What: /sys/class/tty/ttyS<x>/close_d 87 Date: October 2012 88 Contact: Alan Cox <alan@linux.intel.com> 89 Description: 90 Show the closing delay time fo 91 92 These sysfs values expose the 93 sysfs rather than via ioctls. 94 95 What: /sys/class/tty/ttyS<x>/closing 96 Date: October 2012 97 Contact: Alan Cox <alan@linux.intel.com> 98 Description: 99 Show the close wait time for t 100 101 Waiting forever is represented 102 disabled then the value is 655 103 104 These sysfs values expose the 105 sysfs rather than via ioctls. 106 107 What: /sys/class/tty/ttyS<x>/custom_ 108 Date: October 2012 109 Contact: Alan Cox <alan@linux.intel.com> 110 Description: 111 Show the custom divisor if an 112 113 These sysfs values expose the 114 sysfs rather than via ioctls. 115 116 What: /sys/class/tty/ttyS<x>/io_type 117 Date: October 2012 118 Contact: Alan Cox <alan@linux.intel.com> 119 Description: 120 Show the I/O type that is to 121 address. 122 123 These sysfs values expose the 124 sysfs rather than via ioctls. 125 126 What: /sys/class/tty/ttyS<x>/iomem_b 127 Date: October 2012 128 Contact: Alan Cox <alan@linux.intel.com> 129 Description: 130 The I/O memory base for this 131 132 These sysfs values expose the 133 sysfs rather than via ioctls. 134 135 What: /sys/class/tty/ttyS<x>/iomem_r 136 Date: October 2012 137 Contact: Alan Cox <alan@linux.intel.com> 138 Description: 139 Show the register shift indic 140 for accesses on this iomem ad 141 142 These sysfs values expose the 143 sysfs rather than via ioctls. 144 145 What: /sys/class/tty/ttyS<x>/rx_trig 146 Date: May 2014 147 Contact: Yoshihiro YUNOMAE <yoshihiro.yu 148 Description: 149 Shows current RX interrupt tr 150 user specified value to chang 151 Users can show or set this va 152 serial device file or not. 153 154 The RX trigger can be set one 155 serials. When users input a m 156 the RX trigger is changed to 157 device specification. For exa 158 16550A, which has 1/4/8/14 by 159 automatically changed to 4 by 160 161 What: /sys/class/tty/ttyS<x>/console 162 Date: February 2020 163 Contact: Andy Shevchenko <andriy.shevche 164 Description: 165 Allows user to detach or atta 166 kernel console. It shows and
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.