The ttyvs driver exposes sysfs files to emulate various serial port events. This commit document these files. Signed-off-by: Rishi Gupta <gupt21@xxxxxxxxx> --- .../ABI/testing/sysfs-devices-virtual-tty_ttyvs | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 Documentation/ABI/testing/sysfs-devices-virtual-tty_ttyvs diff --git a/Documentation/ABI/testing/sysfs-devices-virtual-tty_ttyvs b/Documentation/ABI/testing/sysfs-devices-virtual-tty_ttyvs new file mode 100644 index 0000000..69b04e0 --- /dev/null +++ b/Documentation/ABI/testing/sysfs-devices-virtual-tty_ttyvs @@ -0,0 +1,18 @@ +What: /sys/devices/virtual/tty/ttyvsN/event +Date: January 2020 +Contact: Rishi Gupta <gupt21@xxxxxxxxx> +KernelVersion: 5.5 +Description: + The ttyvs driver will emulate serial port event; parity error, + framing error, overrun error, asserting or de-asserting break + conditions and ring indication when user space application + writes an event code on this sysfs file. + +What: /sys/devices/virtual/tty/ttyvsN/faultycable +Date: January 2020 +Contact: Rishi Gupta <gupt21@xxxxxxxxx> +KernelVersion: 5.5 +Description: + The ttyvs driver will emulate as if the cable is faulty; i.e. + data sent will not be received when user space application + writes 1 on this file. Write 0 to disable this emulation. -- 2.7.4