kernel/Documentation/ABI/testing/sysfs-tty
.. .. @@ -154,3 +154,10 @@ 154 154 device specification. For example, when user sets 7bytes on 155 155 16550A, which has 1/4/8/14 bytes trigger, the RX trigger is 156 156 automatically changed to 4 bytes. 157 +158 +What: /sys/class/tty/ttyS0/console159 +Date: February 2020160 +Contact: Andy Shevchenko <andriy.shevchenko@linux.intel.com>161 +Description:162 + Allows user to detach or attach back the given device as163 + kernel console. It shows and accepts a boolean variable.