1What: /sys/class/tty/console/active 2Date: Nov 2010 3Contact: Kay Sievers <kay.sievers@vrfy.org> 4Description: 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 13What: /sys/class/tty/tty0/active 14Date: Nov 2010 15Contact: Kay Sievers <kay.sievers@vrfy.org> 16Description: 17 Shows the currently active virtual console 18 device, like 'tty1'. 19 The file supports poll() to detect virtual 20 console switches. 21 22What: /sys/class/tty/ttyS0/uartclk 23Date: Sep 2012 24Contact: Tomas Hlavacek <tmshlvck@gmail.com> 25Description: 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 33What: /sys/class/tty/ttyS0/type 34Date: October 2012 35Contact: Alan Cox <alan@linux.intel.com> 36Description: 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 42What: /sys/class/tty/ttyS0/line 43Date: October 2012 44Contact: Alan Cox <alan@linux.intel.com> 45Description: 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 51What: /sys/class/tty/ttyS0/port 52Date: October 2012 53Contact: Alan Cox <alan@linux.intel.com> 54Description: 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 60What: /sys/class/tty/ttyS0/irq 61Date: October 2012 62Contact: Alan Cox <alan@linux.intel.com> 63Description: 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 69What: /sys/class/tty/ttyS0/flags 70Date: October 2012 71Contact: Alan Cox <alan@linux.intel.com> 72Description: 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 78What: /sys/class/tty/ttyS0/xmit_fifo_size 79Date: October 2012 80Contact: Alan Cox <alan@linux.intel.com> 81Description: 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 87What: /sys/class/tty/ttyS0/close_delay 88Date: October 2012 89Contact: Alan Cox <alan@linux.intel.com> 90Description: 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 96What: /sys/class/tty/ttyS0/closing_wait 97Date: October 2012 98Contact: Alan Cox <alan@linux.intel.com> 99Description: 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 105What: /sys/class/tty/ttyS0/custom_divisor 106Date: October 2012 107Contact: Alan Cox <alan@linux.intel.com> 108Description: 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 114What: /sys/class/tty/ttyS0/io_type 115Date: October 2012 116Contact: Alan Cox <alan@linux.intel.com> 117Description: 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 124What: /sys/class/tty/ttyS0/iomem_base 125Date: October 2012 126Contact: Alan Cox <alan@linux.intel.com> 127Description: 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 133What: /sys/class/tty/ttyS0/iomem_reg_shift 134Date: October 2012 135Contact: Alan Cox <alan@linux.intel.com> 136Description: 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. 142