~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/Documentation/ABI/testing/sysfs-tty

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /Documentation/ABI/testing/sysfs-tty (Version linux-6.12-rc7) and /Documentation/ABI/testing/sysfs-tty (Version linux-5.15.171)


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

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php