Skip to content

carpie/tty0tty

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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)


About

Null modem emulator

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 100.0%