lkml.org 
[lkml]   [2020]   [Jan]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH v1 3/3] tty: documentation: abi: add ttyvs null modem driver sysfs nodes
Date
The ttyvs driver exposes sysfs files to emulate various serial
port events. This commit document these files.

Signed-off-by: Rishi Gupta <gupt21@gmail.com>
---
.../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@gmail.com>
+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@gmail.com>
+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
\
 
 \ /
  Last update: 2020-01-06 08:23    [W:0.116 / U:0.128 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site