Link between low level drivers and tty drivers

Posted by agent.smith on Stack Overflow See other posts from Stack Overflow or by agent.smith
Published on 2012-02-23T20:32:30Z Indexed on 2012/03/27 5:30 UTC
Read the original article Hit count: 940

I was writing a console driver for linux and I came across the tty interface that I need to set up for this driver. I got confused as to how tty drivers are bound with low-level drivers.

Many times the root file system already contains a lot of tty devices. I am wondering how low-level devices can bind to one of the existing tty nodes on the root file system.

For example, /dev/tty7 : Node on the root file system.
How does a low-level device driver connect with this node? Or should that low-level device define a completely new tty device?

© Stack Overflow or respective owner

Related posts about linux

Related posts about linux-kernel