123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163 |
- What: /sys/class/tty/console/active
- Date: Nov 2010
- Contact: Kay Sievers <[email protected]>
- Description:
- Shows the list of currently configured
- console devices, like 'tty1 ttyS0'.
- The last entry in the file is the active
- device connected to /dev/console.
- The file supports poll() to detect virtual
- console switches.
- What: /sys/class/tty/tty<x>/active
- Date: Nov 2010
- Contact: Kay Sievers <[email protected]>
- Description:
- Shows the currently active virtual console
- device, like 'tty1'.
- The file supports poll() to detect virtual
- console switches.
- What: /sys/class/tty/ttyS<x>/uartclk
- Date: Sep 2012
- Contact: Tomas Hlavacek <[email protected]>
- Description:
- Shows the current uartclk value associated with the
- UART port in serial_core, that is bound to TTY like ttyS0.
- uartclk = 16 * baud_base
- These sysfs values expose the TIOCGSERIAL interface via
- sysfs rather than via ioctls.
- What: /sys/class/tty/ttyS<x>/type
- Date: October 2012
- Contact: Alan Cox <[email protected]>
- Description:
- Shows the current tty type for this port.
- These sysfs values expose the TIOCGSERIAL interface via
- sysfs rather than via ioctls.
- What: /sys/class/tty/ttyS<x>/line
- Date: October 2012
- Contact: Alan Cox <[email protected]>
- Description:
- Shows the current tty line number for this port.
- These sysfs values expose the TIOCGSERIAL interface via
- sysfs rather than via ioctls.
- What: /sys/class/tty/ttyS<x>/port
- Date: October 2012
- Contact: Alan Cox <[email protected]>
- Description:
- Shows the current tty port I/O address for this port.
- These sysfs values expose the TIOCGSERIAL interface via
- sysfs rather than via ioctls.
- What: /sys/class/tty/ttyS<x>/irq
- Date: October 2012
- Contact: Alan Cox <[email protected]>
- Description:
- Shows the current primary interrupt for this port.
- These sysfs values expose the TIOCGSERIAL interface via
- sysfs rather than via ioctls.
- What: /sys/class/tty/ttyS<x>/flags
- Date: October 2012
- Contact: Alan Cox <[email protected]>
- Description:
- Show the tty port status flags for this port.
- These sysfs values expose the TIOCGSERIAL interface via
- sysfs rather than via ioctls.
- What: /sys/class/tty/ttyS<x>/xmit_fifo_size
- Date: October 2012
- Contact: Alan Cox <[email protected]>
- Description:
- Show the transmit FIFO size for this port.
- These sysfs values expose the TIOCGSERIAL interface via
- sysfs rather than via ioctls.
- What: /sys/class/tty/ttyS<x>/close_delay
- Date: October 2012
- Contact: Alan Cox <[email protected]>
- Description:
- Show the closing delay time for this port in ms.
- These sysfs values expose the TIOCGSERIAL interface via
- sysfs rather than via ioctls.
- What: /sys/class/tty/ttyS<x>/closing_wait
- Date: October 2012
- Contact: Alan Cox <[email protected]>
- Description:
- Show the close wait time for this port in ms.
- These sysfs values expose the TIOCGSERIAL interface via
- sysfs rather than via ioctls.
- What: /sys/class/tty/ttyS<x>/custom_divisor
- Date: October 2012
- Contact: Alan Cox <[email protected]>
- Description:
- Show the custom divisor if any that is set on this port.
- These sysfs values expose the TIOCGSERIAL interface via
- sysfs rather than via ioctls.
- What: /sys/class/tty/ttyS<x>/io_type
- Date: October 2012
- Contact: Alan Cox <[email protected]>
- Description:
- Show the I/O type that is to be used with the iomem base
- address.
- These sysfs values expose the TIOCGSERIAL interface via
- sysfs rather than via ioctls.
- What: /sys/class/tty/ttyS<x>/iomem_base
- Date: October 2012
- Contact: Alan Cox <[email protected]>
- Description:
- The I/O memory base for this port.
- These sysfs values expose the TIOCGSERIAL interface via
- sysfs rather than via ioctls.
- What: /sys/class/tty/ttyS<x>/iomem_reg_shift
- Date: October 2012
- Contact: Alan Cox <[email protected]>
- Description:
- Show the register shift indicating the spacing to be used
- for accesses on this iomem address.
- These sysfs values expose the TIOCGSERIAL interface via
- sysfs rather than via ioctls.
- What: /sys/class/tty/ttyS<x>/rx_trig_bytes
- Date: May 2014
- Contact: Yoshihiro YUNOMAE <[email protected]>
- Description:
- Shows current RX interrupt trigger bytes or sets the
- user specified value to change it for the FIFO buffer.
- Users can show or set this value regardless of opening the
- serial device file or not.
- The RX trigger can be set one of four kinds of values for UART
- serials. When users input a meaning less value to this I/F,
- the RX trigger is changed to the nearest lower value for the
- device specification. For example, when user sets 7bytes on
- 16550A, which has 1/4/8/14 bytes trigger, the RX trigger is
- automatically changed to 4 bytes.
- What: /sys/class/tty/ttyS<x>/console
- Date: February 2020
- Contact: Andy Shevchenko <[email protected]>
- Description:
- Allows user to detach or attach back the given device as
- kernel console. It shows and accepts a boolean variable.
|