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

Putting it all together

In this section, let us summarize the things discussed in the preceding section. In order to write framebuffer driver, you have to do the following:

  1. Fill a struct fb_var_screeninfo structure in order to provide information on framebuffer variable properties. Those properties can be changed by user space.
  2. Fill a struct fb_fix_screeninfo structure, to provide fixed parameters.
  3. Set up a struct fb_ops structure, providing necessary callback functions, which will used by the framebuffer subsystem in response to user actions.
  4. Still in the struct fb_ops structure, you have to provide accelerated functions callback, if supported by the device.
  5. Set up a struct fb_info structure, feeding it with structures filled in the previous ...
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