linuxÆô¶¯logoÐÞ¸Ä bootlogo
¸ÄÄ¿±ê£ºÓÃ×Ô¶¨ÒåµÄppmͼƬÌæ´ú/drivers/video/logo/logo_linux_clut224.ppm
ͬʱɾ³ýlogo_linux_clut224.c logo_linux_clut224.oÎļþÕâÑù²ÅÄÜʹ±àÒëµÄʹÓÃlogo_linux_clut224.ppmÖØбàÒë
ppmͼƬµÄÉú³É£º
# pngtopnm logo_linux_clut224.png > logo_linux_clut224.pnm
# pnmquant 224 logo_linux_clut224.pnm > logo_linux_clut224.pnm
# pnmtoplainpnm logo_linux_clut224.pnm > logo_linux_clut224.ppm
È»ºóÖØбàÒëÄںˣ¬Æô¶¯¾Í¿ÉÒÔÁË£¡
¸ü¸ÄµÄ×î¼òµ¥µÄ·½·¨¾ÍÊÇÉÏÃæµÄÁË¡£ÏÂÃæ½éÉÜÏÂÏàÓ¦µÄ֪ʶ£¨ÒÔÏÂÀ´×ÔÍøÂ磩£º
ÁíÍ⣬ÏàÓ¦µÄ֪ʶÐèÒªÁ˽âһϣ¬2410¿ª·¢°å-Æô¶¯Í¼±êÖÆ×ö
1.·½°¸·ÖÎö
ARM-LinuxÆô¶¯Ê±»áÏÈÔÚLCD×óÉϽÇÏÔʾһ¸öARMLINUXµÄСÆó¶ìͼ°¸,Ò²¾ÍÊÇÎÒÃÇËù˵µÄbootlogo¡£
Ê×ÏÈ·ÖÎöÒ»ÏÂLogoµÄÏÔʾ´úÂ룺
²»ÄÑ·¢ÏÖLogoÏÔʾÊÇÔÚ¼ÓÔØÏÔʾÇý¶¯fbºóÓÉkernel/drivers/video/fbcon.cÖеÄfbcon_show_logoº¯ÊýÀ´Íê³ÉµÄ¡£
fbcon_show_logoº¯ÊýÖÐÓкܶà¼æÈÝÐÔ´úÂ룬²»ÊǶ¼»áÓõ½µÄ£¡ÎÒÃÇÓõÄÊÇSHARP(ÏÄÆÕ)µÄTFTÕæ²ÊÆÁ.
ÔÙ×Ðϸ¿´Ò»Ï£¬ÕâÀïÓõ½µÄÏÔʾÊý¾Ý¾ùÀ´×Ôkernel/include/linux/linux_logo.h¡£ÕâÀïͬÑùÒ²ÓÐһЩ¼æÈÝÐÔµÄÊý¾Ý£¬ÆäÖжÔÎÒÃÇÓÐÓõÄÊÇ£º
linux_logo_red[] —— µ÷É«°åÖеĺìÉ«·ÖÁ¿
linux_logo_green[] —— µ÷É«°åÖеÄÂÌÉ«·ÖÁ¿
linux_logo_blue[] —— µ÷É«°åÖеÄÀ¶É«·ÖÁ¿
linux_logo[] —— Logoͼ°¸µÄµãÕó
ÒÔÉÏÊý¾Ý¶¼ÊDz»ÐèÒªÄãÐ޸ĵġ¡ÔÚfbcon_show_logoÀïÖ»×öÁË256É«µÄÏÔʾ£¬ËùÒÔÒªÏÈÉèÖÃÒ»¸öRGBµ÷É«°å¡£ÕâÀïµÄµ÷É«°åÊÇ´Ó0x20É«¿ªÊ¼±àµÄ£¬ËùÒÔʵ¼ÊºÃÏóÖ»ÓÐ×î¶à224É«µÄÏÔʾ¡£linux_logo.hÀïĬÈÏÊÇ×öÁËÒ»¸ö214¼¶µÄ»Ò¶Èµ÷É«°å£¬Èç¹ûÏëÒª¸ü¶àÉ«²ÊµÄ»°¿ÉÒÔ×ÔÒÑÐ޸ģ¨×¢Òâµ÷É«°åµÄÑÕÉ«²»Äܳ¬¹ý224ÖÖ£©
ÔÙ¿´linux_logo[]£¬ÕâÊÇLogoͼ°¸µÄµãÕó¡£ÒòΪÊÇ256É«µÄͼ£¬ËùÒÔÿµãΪһ¸öByte¡£Logoͼ°¸ÊÇ80*80´óС£¬ËùÒÔÕâÀï×ܹ²ÓÐ6400 Byte¡£Ò»¹²ÊÇ800ÐУ¬Ã¿ÐÐ8 Byte¼´8 Point£¬Ã¿10ÐÐÊý¾Ý¶ÔÓ¦Logoͼ°¸ÖÐÒ»ÐС£¿ÉÒÔÏÈ×Ô¼ºÊÔÊÔ·ÅһЩ¼òµ¥Í¼ÐνøÈ¥ÏÔʾ¿´¿´¡££¨Í¬Ñù×¢ÒâÑÕÉ«Òª´Ó0x20¿ªÊ¼£¬0-0x1fµÄ32ÖÖÑÕÉ«ÊDz»È·¶¨µÄ£©¡£
¡¡¡¡
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡
ÒÔÉÏ·ÖÎö
Ïà¹ØÎĵµ£º
£¨L2CAPÐÒé¼ò½é£¬L2CAPÔÚBlueZÖеÄʵÏÖÒÔ¼°L2CAP±à³Ì½Ó¿Ú£©
Ò»£ºL2CAPÐÒé¼ò½é£º
Logical Link Control and Adaptation Protocol(L2CAP)
Âß¼Á¬½Ó¿ØÖƺÍÊÊÅäÐÒé (L2CAP) ΪÉϲãÐÒéÌṩÃæÏòÁ¬½ÓºÍÎÞÁ¬½ÓµÄÊý¾Ý·þÎñ£¬²¢Ìṩ¶àÐÒ鹦ÄܺͷָîÖØ×é²Ù×÷¡£L2CAP ³äÐíÉϲãÐÒéºÍÓ¦ÓÃÈí¼þ´«ÊäºÍ½ÓÊÕ×î´ó³¤¶ÈΪ 64K µÄ L2CAP Ê ......
Service Discovery Protocol(SDP)ÌṩһÖÖÄÜÁ¦£¬ÈÃÓ¦ÓóÌÐòÓз½·¨·¢ÏÖÄÄÖÖ·þÎñ¿ÉÓÃÒÔ¼°ÕâÖÖ·þÎñµÄÌØÐÔ¡£
·þÎñ·¢ÏÖÐÒé(SDP»òBluetooth SDP)ÔÚÀ¶ÑÀÐÒéÕ»ÖжÔÀ¶ÑÀ»·¾³ÖеÄÓ¦ÓóÌÐòÓÐÌØÊâµÄº¬Ò⣬·¢ÏÖÄĸö·þÎñÊÇ¿ÉÓõĺÍÈ·¶¨ÕâЩ¿ÉÓ÷þÎñµÄÌØÕ÷¡£SDP¶¨ÒåÁËbluetooth client·¢ÏÖ¿ÉÓÃbluetooth server·þÎñºÍËüÃǵÄÌØÕ÷µÄ·½·¨¡£ ......
Ò»£ºÇ°ÑÔ
×î½üÔÚÑо¿androidµÄsensor driver£¬Ö÷ÒªÊÇE-compass£¬ÆäÖÐÓõ½ÁËLinux input×Óϵͳ.ÔÚÍøÉÏÒ²¿´Á˺ܶàÕâ·½ÃæµÄ×ÊÁÏ£¬¸Ð¾õ»¹ÊÇÕâƪ·ÖÎöµÄ±È½ÏϸÖÂ͸³¹£¬Òò´ËתÔØÒ»ÏÂÒÔ±ã×Ô¼ºÑ§Ï°£¬Í¬Ê±ºÍ´ó¼Ò·ÖÏí£¡
£¨Õâƪ²©¿ÍÖ÷ÒªÊÇÒÔ¼üÅÌÇý¶¯ÎªÀýµÄ£¬²»¹ý½²½âµÄÊÇLinux Input Subsystem£¬¿ÉÒÔ×ÐϸµÄÑо¿Ò»Ï£¡£©
¼üÅÌÇý¶¯½«¼ì ......
ÔÚÎÒÃÇÔÚд³ÌÐòµÄ¹ý³ÌÖÐ,ÓÐЩʱºòÐèÒªÖªµÀһЩµçÄÔµÄÓ²¼þÐÅÏ¢,±ÈÈçÎÒÃÇдһЩÐèҪע²áµÄ³ÌÐòµÄʱºò,¾ÍÐèÒªµÃµ½Ä³¸öµçÄÔÌض¨µÄÐÅÏ¢,Ò»°ãÀ´Ëµ,Íø¿¨µÄÎïÀíµØÖ·ÊDz»»áÖظ´µÄ,ÎÒÃÇÕýºÃ¿ÉÒÔÓÃËüÀ´×öΪÎÒÃÇʶ±ðһ̨µçÄԵıêÖ¾.ÄÇÈçºÎµÃµ½Íø¿¨µÄÎïÀíµØÖ·ÄØ?ÎÒÃÇ¿ÉÒÔ½èÖúÓÚProcessBuilderÕâ¸öÀà,Õâ¸öÀàÊÇJDK1.5мӵÄ,ÒÔÇ°Ò²¿ÉÒÔÓÃRu ......
×î½üÔÚ寫Driver時£¬³£³£Óöµ½ÐèÒª¡¸µÈ´ýÒ»¶Î時間¡¹ÔÙ處ÀíµÄ動×÷£¬ÒÔÍùÎÒ¶¼ÉµÉµµÄÓÃmsleep()»òmdelay()£¬Êâ²»Öª這種busy waiting會holdסcpu資Ô´£¬ÔÚ這¶ÎÆÚ間內¶¼無·¨讓給ÆäËûprocess執ÐУ¬時間¶Ì(10msÒ ......