Linux Framebuffer Driver Writing HOWTO
James Simmons,
v1.00, 9 October 1999
This document describes how to support a framebuffer video card for Linux. It lists the supported video hardware, describes how to program the kernel drivers, and answers frequently asked questions. The goal is to bring current framebuffer driver writers as well as new ones up to speed on the new developments occurring in the graphics system for Linux. Table of Contents 1. Introduction
1.1 Acknowledgments 1.2 Revision History 1.3 New versions of this document 1.4 Feedback 1.5 Distribution Policy
2. Framebuffer Video Card Technology
2.1 Monitor 2.2 Video Card
3. Setting a Video Mode
3.1 Fixed Frequency Monitors 3.2 Multi Frequency Monitors 3.3 Recipe for multisync monitors 3.4 Recipe for Monosync 3.5 Colors
4. Framebuffer Internal API
4.1 Data Structures 4.2 Driver layout
5. Answers To Frequently Asked Questions
5.1 Does fbdev support accels?
6. References
1. Introduction
This is the Linux Framebuffer driver HOWTO. It is intended as a quick reference covering everything you need to know to write a framebuffer video driver under Linux. Frequently asked questions about video mode setting under Linux are answered, and references are given to some other sources of information on a variety of topics related to computer graphics. Also, read this document not once, not twice but three times if you are not familiar with video hardware.
The scope is limited to the aspects of writing a mode setting video card framebuffer driver pertaining to Linux. listed See the other documents in the References section for more general information on how to setup framebuffer cards and setting up the XFB_Dev X server. 1.1. Acknowledgments
Much of this information came from the new framebuffer internal API being developed by me for the upcoming next series of kernels. Originally, this was based on a patch by Fabrice Bellard. I learned of this patch and was impressed by it. Later, I took over development and improved it even more. Much thanks goes to Fabrice for getting the ball rolling. This API is a natural extension of the original API developed by Martin Schaller and now maintained by Geert Uytterhoeven (). Thanks go to you and the many others who developed the Linux framebuffer system, drivers and utilities. A great amount of thanks goes to Andreas Beck of the GGI project for helping me write this document and teaching me about mode setting. Thanks also go out to those who have supported my work.
Thanks to the SGML Tools package, this HOWTO is available in several formats, all generated from a common source file. 1.2. Revision History
Version 1.0
First version; posted to fbdev mailing list only. 1.3. New versions of this document
New versions of this document will be periodically posted to the comp.os.linux.answers newsgroup. They will also be uploaded to various anonymous ftp sites that archive such information including Hypertext versions of this and other Linux HOWTOs are available on many World-Wide-Web sites, including < |
阅读(1402) | 评论(0) | 转发(0) |