Linux TTY Driver

Table of Contents

1 What is TTY

Terminal is a type of char device, there are mutiple types, generally, TTY is a general name for each type of terminal device. TTY is abbreviation of Teletype, it is the earliest appeared derminal device, there are following device file in /dev directory on linux:

  • Serial Port Terminal (/dev/ttySn)
  • Pseudo Terminal (/dev/pty)
  • Controlling Terminal (/dev/tty)
  • Console (/dev/ttyn, /dev/console)

2 The framework of tty driver on linux

./tty_driver_arch.gif

3 The Detail

./tty_driver.jpeg

Date: 2014-08-17 日

Author: Yannik Li(Yanqing Li)

Org version 7.9.3f with Emacs version 24

Validate XHTML 1.0