forked from freemed/tty0tty
-
Notifications
You must be signed in to change notification settings - Fork 0
/
README
51 lines (30 loc) · 918 Bytes
/
README
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
tty0tty - linux null modem emulator
Forked to instance on github since original project is dead.
This is the tty0tty directory tree:
module - linux kernel module null-modem
pts - null-modem using ptys (without handshake lines)
pts:
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.2.0
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
( in debian use apt-get install linux-image-2.6.26-2-amd64 for example)