Chapter 7. Serial Ports and TTY Devices - TTY

In the previous chapter, we saw how to manage LED or generic GPIO lines within the kernel using the sysfs API. However, this was just a really simple example of kernel programming used to show to you how implementing a device driver can be simple. Unfortunately, this technique gets complex very quickly according to the peripheral complexity.

Starting from this chapter, we will see a bit in detail how several computers' peripherals can be connected to our embedded computers and how we can manage them in order to interact with the environment from the user space. That is, we will show you how you can get access to some peripherals by enabling and configuring the correct driver. In this case, we don't ...

Get GNU/Linux Rapid Embedded Programming now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.