Ò׽ؽØÍ¼Èí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

Writing Linux LCD drivers

Writing Linux LCD drivers
×÷ÕߣºJimSheng
Writing Linux LCD drivers
Abstract
1 LCD Module\Driver\Controller
2 Linux Frame Buffer Driver
2.1 Why Frame Buffer?
2.2 What is Frame Buffer Devices?
2.3 How to Write Frame Buffer Device Drivers?
3 Analysis of Linux Frame Buffer Driver Source Codes
3.1 fb.h
3.2 fbmem.c
4 Skeleton of LCD controller rivers
4.1 Allocate a system memory as video memory
4.2 Implement the fb_ops functions
Reference
Abstract
This material discusses how to write a Linux frame buffer LCD device driver.
1 LCD Module\Driver\Controller
Besides the datasheet of LCD devices, there are two quite good books (.pdf format) on LCD technology. Both of them are written in Chinese. One is “Òº¾§ÏÔʾ¼¼Êõ”, and the other is “Òº¾§ÏÔʾÆ÷¼þ”. The two books give almost all needed LCD knowledge, including introductions to hardware implementation of LCD devices and low level software programming used to operate LCD devices. This helps LCD circuits design and low level LCD programming.
2 Linux Frame Buffer Driver
2.1 Why Frame Buffer?
If GUIs (Graphic User Interface) such as MiniGUI, MicroWindows are used, LCD device drivers must be implemented as Linux frame buffer device drivers in addition to those low level operations which only deal with commands provided by LCD controllers.
2.2 What is Frame Buffer Devices?
The frame buffer device provides an abstraction for the graphics hardware. It represents the frame buffer of some video hardware and allows application software to access the graphics hardware through a well-defined interface, so the software doesn't need to know anything about the low-level (hardware register) stuff.
The device is accessed through special device nodes, usually located in the /dev directory, i.e. /dev/fb*.
More description about frame buffer device can be found in two txt files: linux /Documentation /fb /framebuffer.txt and linux /Documentation /fb /interal.txt
2.3 How to


Ïà¹ØÎĵµ£º

LinuxÏÂmysqlÖÐÎÄÂÒÂë½â¾ö·½·¨

ÉÏ´ÎÔÚÅöµ½ÕâÎÊÌ⣬ÔÚÍøÉÏÕÒÁ˽â¾ö·½·¨£¬¿ÉÊÇû¼ÇÏÂÀ´¡£ÕâÐÇÆÚÒª»»»úÆ÷£¬Òª°ÑÔ­À´linuxϵÄmysqlÊý¾Ý¿âÒÆµ½Áíһ̨·þÎñÆ÷ÉÏ¡£°²×°suseϵͳ¡¢ÔÙÅäÖÃtelnet¡¢ftp·þÎñ¡¢°²×°java JDK²¢ÅäÖá¢ÔÙ°²×°eclipseºÍmysql,ÓÖ»¨ÁËÒ»ÌìµÄʱ¼ä¡£¸Ð¾õ»¹ÊDz»ÊìÁ·£¬ÅäÖ÷À»ðǽÀÏÊDz»Äܽ«telnetºÍftp·þÎñÅÅÍâ¡£mysqlÓÖÅöµ½ÁËÖÐÎÄÂÒÂëÎÊÌ⣬ÓÖÔÚ ......

LinuxÄÚ´æÏßÐÔµØÖ·¿Õ¼ä²¼¾Ö½âÎö


 
LinuxÄÚ´æÏßÐÔµØÖ·¿Õ¼ä´óСΪ4GB£¬·ÖΪ2¸ö²¿·Ö£ºÓû§¿Õ¼ä²¿·Ö£¨Í¨³£ÊÇ3G£©ºÍÄں˿ռ䲿·Ö£¨Í¨³£ÊÇ1G£©¡£ÔÚ´ËÎÒÃÇÖ÷Òª¹Ø×¢Äں˵ØÖ·¿Õ¼ä²¿·Ö¡£
ÄÚºËͨ¹ýÄÚºËҳȫ¾ÖĿ¼À´¹ÜÀíËùÓеÄÎïÀíÄڴ棬ÓÉÓÚÏßÐÔµØÖ·Ç°3G¿Õ¼äΪÓû§Ê¹Óã¬ÄÚºËҳȫ¾ÖĿ¼ǰ768Ï¸ÕºÃ3G£©³ý0¡¢1Á½ÏîÍâÈ«²¿Îª0£¬ºó256Ï1G£©ÓÃÀ´¹ÜÀíËùÓеÄÎï ......

¿Æ¼¼²¿·¢Ð¹棬LinuxµÄ´ºÌìµ½ÁË






<!--
@page { margin: 2cm }
P { margin-bottom: 0.21cm }
-->
    4
ÔÂ
10
ÈÕ£¬¿Æ¼¼²¿¾Í“¹ú¼Ò×ÔÖ÷´´Ð²úÆ·È϶¨¹¤×÷”·¢³ö֪ͨ£¬¹«¿ªÕ÷ÇóÒâ¼û£¬ÆäÖеÄ
Ö¸µ¼Ë¼ÏëÓÐÖØ´óÍ»ÆÆ¡£¾ßÌåÇé¿öÈçºÎ£¿
 
    2009
Äê
10
ÔÂ
30
ÈÕ£¬ÔÚÎÒ¹úÕþ¸® ......

Fedora Linux ϰ²×° source navigator µÄ bug shoot!

°²×°ºó
ÔËÐÐsnavigator
³öÏÖ
Can't find a usable tk.tcl in the following directories: 
/opt/sourcenav/share/tk8.3
/opt/sourcenav/share/tk8.3/tk.tcl: no event type or button # or keysym
no event type or button # or keysym
while executing
"bind Listbox <MouseWheel> {
%W yview scroll ......

Qt Embedded LinuxÏÂÒþ²ØÊó±ê¼ýÍ·

from:http://kevinmindy.spaces.live.com/blog/cns!3D17C679DB4373CA!226.trak
Æäʵ·½·¨²»Ö¹Ò»ÖÖ£¬¿ÉÒÔÔÚ±àÒëQt¿âµÄʱºòÌí¼Ó±àÒëÑ¡ÏîQT_NO_CURSOR£¬ÕâÑùcursorÏà¹ØµÄ´úÂëͳͳ²»»á±»±àÒë½øÈ¥£¬×ÔÈ»Êó±ê¹â±êÒ²²»»á³öÏÖÔÚ³ÌÐòÖС£
È»¶øÓÐʱºòÎÒÃÇÒѾ­°ÑcursorÏà¹Ø´úÂë±àÒë½øÈ¥ÁË£¬¶øÓÖ²»ÏëÖØÐ±àÒëQt¿â£¬Ò»¸ö¼òµ¥µÄ·½·¨ÊÇÊ¹Ó ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ