README
855 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
tty0tty - linux null modem emulator v1.2
This is the tty0tty directory tree:
module - linux kernel module null-modem
pts - null-modem using ptys (without handshake lines)
pts (unix98):
When run connect two pseudo-ttys and show the connection names:
(/dev/pts/1) <=> (/dev/pts/2)
the connection is:
TX -> RX
RX <- TX
module:
The module is tested in kernel 3.10.2 (debian)
When loaded, create 8 ttys interconnected:
/dev/tnt0 <=> /dev/tnt1
/dev/tnt2 <=> /dev/tnt3
/dev/tnt4 <=> /dev/tnt5
/dev/tnt6 <=> /dev/tnt7
the connection is:
TX -> RX
RX <- TX
RTS -> CTS
CTS <- RTS
DSR <- DTR
CD <- DTR
DTR -> DSR
DTR -> CD
Requirements:
for module build is necessary kernel-headers or kernel source
For e-mail suggestions : lcgamboa@yahoo.com