Skip to Content
Linux Device Drivers Development
book

Linux Device Drivers Development

by John Madieu
October 2017
Intermediate to advanced
586 pages
14h 8m
English
Packt Publishing
Content preview from Linux Device Drivers Development

The Linux Device Model

Until version 2.5, the kernel had no way to describe and manage objects, and code reusability was not as enhanced as it is now. In other words, there was no device topology nor organization. There was no information on subsystem relationships, nor on how the system is put together. Then came the Linux Device Model (LDM), which introduced the following:

  • The concept of class, to group devices of the same type or devices that expose the same functionalities (for example, mice and keyboards are both input devices).
  • Communication with the user space through a virtual filesystem called sysfs, in order to let the user space manage and enumerate devices and the properties they expose.
  • Management of the object life cycle, using ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Linux Device Drivers, Second Edition

Linux Device Drivers, Second Edition

Jonathan Corbet, Alessandro Rubini
Linux Device Drivers, 3rd Edition

Linux Device Drivers, 3rd Edition

Jonathan Corbet, Alessandro Rubini, Greg Kroah-Hartman

Publisher Resources

ISBN: 9781785280009Supplemental Content