]> Pileus Git - ~andy/linux/blob - Documentation/ABI/testing/sysfs-tty
Merge tag 'pci-v3.14-fixes-1' of git://git.kernel.org/pub/scm/linux/kernel/git/helgaa...
[~andy/linux] / 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                  tty devices used for the console,
7                  like 'tty1 ttyS0'.
8                  The last entry in the file is the active
9                  device connected to /dev/console.
10                  The file supports poll() to detect virtual
11                  console switches.
12
13 What:           /sys/class/tty/tty0/active
14 Date:           Nov 2010
15 Contact:        Kay Sievers <kay.sievers@vrfy.org>
16 Description:
17                  Shows the currently active virtual console
18                  device, like 'tty1'.
19                  The file supports poll() to detect virtual
20                  console switches.
21
22 What:           /sys/class/tty/ttyS0/uartclk
23 Date:           Sep 2012
24 Contact:        Tomas Hlavacek <tmshlvck@gmail.com>
25 Description:
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
29
30                  These sysfs values expose the TIOCGSERIAL interface via
31                  sysfs rather than via ioctls.
32
33 What:           /sys/class/tty/ttyS0/type
34 Date:           October 2012
35 Contact:        Alan Cox <alan@linux.intel.com>
36 Description:
37                  Shows the current tty type for this port.
38
39                  These sysfs values expose the TIOCGSERIAL interface via
40                  sysfs rather than via ioctls.
41
42 What:           /sys/class/tty/ttyS0/line
43 Date:           October 2012
44 Contact:        Alan Cox <alan@linux.intel.com>
45 Description:
46                  Shows the current tty line number for this port.
47
48                  These sysfs values expose the TIOCGSERIAL interface via
49                  sysfs rather than via ioctls.
50
51 What:           /sys/class/tty/ttyS0/port
52 Date:           October 2012
53 Contact:        Alan Cox <alan@linux.intel.com>
54 Description:
55                  Shows the current tty port I/O address for this port.
56
57                  These sysfs values expose the TIOCGSERIAL interface via
58                  sysfs rather than via ioctls.
59
60 What:           /sys/class/tty/ttyS0/irq
61 Date:           October 2012
62 Contact:        Alan Cox <alan@linux.intel.com>
63 Description:
64                  Shows the current primary interrupt for this port.
65
66                  These sysfs values expose the TIOCGSERIAL interface via
67                  sysfs rather than via ioctls.
68
69 What:           /sys/class/tty/ttyS0/flags
70 Date:           October 2012
71 Contact:        Alan Cox <alan@linux.intel.com>
72 Description:
73                  Show the tty port status flags for this port.
74
75                  These sysfs values expose the TIOCGSERIAL interface via
76                  sysfs rather than via ioctls.
77
78 What:           /sys/class/tty/ttyS0/xmit_fifo_size
79 Date:           October 2012
80 Contact:        Alan Cox <alan@linux.intel.com>
81 Description:
82                  Show the transmit FIFO size for this port.
83
84                  These sysfs values expose the TIOCGSERIAL interface via
85                  sysfs rather than via ioctls.
86
87 What:           /sys/class/tty/ttyS0/close_delay
88 Date:           October 2012
89 Contact:        Alan Cox <alan@linux.intel.com>
90 Description:
91                  Show the closing delay time for this port in ms.
92
93                  These sysfs values expose the TIOCGSERIAL interface via
94                  sysfs rather than via ioctls.
95
96 What:           /sys/class/tty/ttyS0/closing_wait
97 Date:           October 2012
98 Contact:        Alan Cox <alan@linux.intel.com>
99 Description:
100                  Show the close wait time for this port in ms.
101
102                  These sysfs values expose the TIOCGSERIAL interface via
103                  sysfs rather than via ioctls.
104
105 What:           /sys/class/tty/ttyS0/custom_divisor
106 Date:           October 2012
107 Contact:        Alan Cox <alan@linux.intel.com>
108 Description:
109                  Show the custom divisor if any that is set on this port.
110
111                  These sysfs values expose the TIOCGSERIAL interface via
112                  sysfs rather than via ioctls.
113
114 What:           /sys/class/tty/ttyS0/io_type
115 Date:           October 2012
116 Contact:        Alan Cox <alan@linux.intel.com>
117 Description:
118                  Show the I/O type that is to be used with the iomem base
119                  address.
120
121                  These sysfs values expose the TIOCGSERIAL interface via
122                  sysfs rather than via ioctls.
123
124 What:           /sys/class/tty/ttyS0/iomem_base
125 Date:           October 2012
126 Contact:        Alan Cox <alan@linux.intel.com>
127 Description:
128                  The I/O memory base for this port.
129
130                  These sysfs values expose the TIOCGSERIAL interface via
131                  sysfs rather than via ioctls.
132
133 What:           /sys/class/tty/ttyS0/iomem_reg_shift
134 Date:           October 2012
135 Contact:        Alan Cox <alan@linux.intel.com>
136 Description:
137                  Show the register shift indicating the spacing to be used
138                  for accesses on this iomem address.
139
140                  These sysfs values expose the TIOCGSERIAL interface via
141                  sysfs rather than via ioctls.