Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Difference between TTY and serial drivers

10 views
Skip to first unread message

Andy Falanga

unread,
Apr 22, 2016, 2:30:14 PM4/22/16
to
Hi,

I have been tasked with writing a driver for a UART. This is to be my first driver for this type of device. I had just assumed that I'd be writing a tty driver. I read Ch 18 of LDD 3 and then grabbed the source for for that section/chapter from github for reference. As I was going over the code, I noticed that the examples have a tiny_serial.ko and a tiny_tty.ko driver. It would seem that there is a subtle difference.

I would like to know what that difference is. Chapter 18 didn't mention serial driver "proper" but primarily used the nomenclature "tty". I get the sense, from reading various things on-line and whatnot, that it's "the thing" now to write serial drivers for what I need versus a tty driver. I'd like to confirm this, but also get a better understanding of what the differences are.

Thanks.
0 new messages