»ùÓÚǶÈëʽLinuxϵͳµÄ´¥ÃþÆÁÇý¶¯µÄ¿ª·¢
±¾ÎĽéÉÜÁËÒ»¸öÔÚǶÈëʽLinuxƽ̨Éϱàд´¥ÃþÆÁÇý¶¯µÄʵÀý¡£±¾Æ½Ì¨»ùÓÚĦÍÐÂÞÀ¹«Ë¾µÄPowerpc823e CPU оƬ£¬²¢²ÉÓøöÐÔ»¯µÄLinux2.4.4ÄÚºË×÷ΪËüµÄ΢ÐͲÙ×÷ϵͳ£¬½éÉÜÁËÈçºÎͨ¹ý¶Ô823eµÄSPI½Ó¿ÚµÄ²Ù×÷ʵÏÖÓë ´¥ÃþÆÁ¿ØÖÆоƬADS7846µÄͨÐÅ¡£±¾ÎÄÔÚ¹¹ÔìÓ²¼þµÄ»ù´¡ÉÏ˵Ã÷ÁË´¥ÃþÆÁÇý¶¯³ÌÐòµÄCÓïÑÔʵÏÖ¡£
ÒýÑÔ
´¥ÃþÆÁÒò·½±ãÁé»î¡¢½ÚÊ¡¿Õ¼ä¡¢Ö±¹ÛµÈÌص㣬×÷ΪǶÈëʽϵͳµÄÊäÈëÉ豸ԽÀ´Ô½Êܸ÷ÖÖÖն˲úÆ·Éú³§É̵ÄÇàíù¡£¶ølinux²Ù×÷ϵͳÒòΪÓÐ×ÅÔ´´úÂ빫¿ª¡¢±ãÓڲüõµÄÓŵ㣬Êǵ±Ç°Ç¶ÈëʽϵͳµÄÒ»´óÈÈÃÅÑ¡Ôñ¡£±¾ÎĽ«ÔÚ¹¹ÔìÓ²¼þµÄ»ù´¡ÉÏ£¬ÉîÈëµÄÌÖÂÛÈçºÎÔÚlinux²Ù×÷ϵͳÀï±àдһ¸ö´¥ÃþÆÁÇý¶¯¡£
SPI½Ó¿ÚµÄ¼ò½é
´®ÐÐÍâΧÉ豸½Ó¿ÚSPI×ÜÏß¼¼ÊõÊÇĦÍÐÂÞÀ¹«Ë¾ÍƳöµÄÒ»ÖÖÈ«Ë«¹¤¡¢Í¬²½´®Ðнӿڣ¬ËüÌṩÁ˹¦ÄÜÇ¿´óµÄËÄÏß½Ó¿Ú£¨½ÓÊÕÏß¡¢´«ÊäÏß¡¢Ê±ÖÓÏߺʹÓƬѡÏߣ©¡£
SPIµÄ´ÓÉ豸ºÍÖ÷É豸¹²ÓÃÒ»¸öʱÖÓÏߣ¬¶øʱÖÓʼÖÕÊÇ´ÓÖ÷É豸Àï·¢ËͳöÀ´µÄ¡£µ±823eÊÇÖ÷ģʽµÄʱºò£¬Æ¬Ñ¡ÐźÅÏß¾ÍÍ£Óã¬Èç¹ûÊÇ´ÓģʽµÄ»°£¬ËüµÄ´ÓƬѡÏߵ͵çƽʹÄÜ¡£ÔÚ±¾ÀýÖУ¬823eÊÇÖ÷É豸£¬ËùÒÔÎÒÃÇÁíÍâÑ¡ÓÃÁËÒ»¸ö823eµÄGPIO£¨Í¨ÓÃÊäÈëÊä³ö¿Ú£©×÷Ϊ´ÓÉ豸µÄƬѡÐźš£´ó¶àÊýͬ²½´®ÐÐʽÊý¾Ýת»»Æ÷¶¼ºÜÈÝÒ×ÓëÕâÖÖ½Ó¿ÚÁ¬½Ó,ÆäÓ²¼þ¹¦ÄܺÜÇ¿£¬ËùÒÔ£¬ÓëSPIÓйصÄÈí¼þ¾ÍÏ൱¼òµ¥£¬Ê¹CPUÓиü¶àµÄʱ¼ä´¦ÀíÆäËûÊÂÎñ¡£
´¥ÃþÆÁµÄÓ²¼þ
´¥ÃþÆÁÊäÈëϵͳÓÉ´¥ÃþÆÁ¡¢´¥ÃþÆÁ¿ØÖÆоƬºÍÊý¾Ý´¦ÀíÆ÷Èý²¿·Ö×é³É¡£´¥ÃþÆÁ°´Æä¼¼ÊõÔÀí¿É·ÖΪÎåÀࣺʸÁ¿Ñ¹Á¦´«¸Ðʽ¡¢µç×èʽ¡¢µçÈÝʽ¡¢ºìÍâÏßʽºÍ±íÃæÉù²¨Ê½£¬ÆäÖеç×èʽ´¥ÃþÆÁÔÚǶÈëʽϵͳÖÐÓõĽ϶ࡣ
ÎÒÃÇÑ¡ÓõĴ¥ÃþÆÁÊÇAMD¹«Ë¾µÄµç×èʽ´¥ÃþÆÁAMT 9502¡£´¥ÃþÆÁ¿ØÖÆоƬÊÇTI¹«Ë¾µÄÄ£Êýת»»Ð¾Æ¬ADS7846¡£¸ÃоƬ֧³ÖSPIͨÐÅÐÒ飬ËùÒÔÎÒÃǾÍÓÃ823eµÄSPI½Ó¿ÚÓëADS7846оƬͨÐÅ£¬´Ó´¥ÃþÆÁµÃµ½µÄÄ£ÄâÐźž¹ýÄ£Êýת»»Æ÷ºóÊäÈë×÷ΪÊý¾Ý´¦ÀíÆ÷µÄ823e¡£
Èí¼þ³ÌÐò
823eͨ¹ýSPI½Ó¿ÚÓë´¥ÃþÆÁ¿ØÖÆÆ÷ͨÐÅ£¬ËùÒÔ¶Ô´¥ÃþÆÁµÄ¿ØÖƾÍÊǶÔSPI½Ó¿ÚµÄ²Ù×÷¡£Íê³ÉSPI½Ó¿ÚÇý¶¯µÄ±àд֮ºó£¬¾ÍÄܹ»Óë´¥ÃþÆÁ¿ØÖÆÆ÷½¨Á¢Í¨ÐÅ¡£ÔÚlinuxÄÚºËÔËÐÐÍê±ÏÖ®ºó£¬SPI½Ó¿ÚÒª´ò¿ª£¬²¢ÇÒÒѾ·ÖÅäÁËÒ»²¿·ÖÄڴ湩ËüʹÓá£Í¬Ê±£¬SPIµÄÖжϳÌÐòÒÑ
Ïà¹ØÎĵµ£º
Service Discovery Protocol(SDP)ÌṩһÖÖÄÜÁ¦£¬ÈÃÓ¦ÓóÌÐòÓз½·¨·¢ÏÖÄÄÖÖ·þÎñ¿ÉÓÃÒÔ¼°ÕâÖÖ·þÎñµÄÌØÐÔ¡£
·þÎñ·¢ÏÖÐÒé(SDP»òBluetooth SDP)ÔÚÀ¶ÑÀÐÒéÕ»ÖжÔÀ¶ÑÀ»·¾³ÖеÄÓ¦ÓóÌÐòÓÐÌØÊâµÄº¬Ò⣬·¢ÏÖÄĸö·þÎñÊÇ¿ÉÓõĺÍÈ·¶¨ÕâЩ¿ÉÓ÷þÎñµÄÌØÕ÷¡£SDP¶¨ÒåÁËbluetooth client·¢ÏÖ¿ÉÓÃbluetooth server·þÎñºÍËüÃǵÄÌØÕ÷µÄ·½·¨¡£ ......
2.2 °²×°LinuxÖÁÓ²ÅÌ
×¼±¸¹¤×÷Íê³ÉÖ®ºó£¬¾Í¿ÉÒÔ×ÅÊÖ½«Linux°²×°µ½Ó²ÅÌÖÐÁË¡£Èç½ñLinuxµÄ°²×°¹ý³ÌÒѾ·Ç³£“ɵ¹Ï”»¯£¬Ö»ÐèÒªÇáµã¼¸ÏÂÊó±ê£¬¾ÍÄܹ»Íê³ÉÕû¸öϵͳµÄ°²×°¡£¾¡¹ÜÈç´Ë£¬ÕâÀïÈÔÈ»ÏêϸµØ¸ø³ö°²×°¹ý³ÌµÄÿһ²½¡£Í¬Ê±£¬¶ÔÓÚºÍWindows´æÔÚÏÔÖøÇø±ðµÄµØ·½£¬ÈçÓ²ÅÌ·ÖÇøµÄ×éÖ¯·½Ê½£¬±¾½Ú½«×öÏêϸµÄÌÖÂÛ¡£ ......
¡¡¡¡Ò»¡¢ÒýÑÔ
¡¡¡¡ÏëʹÓÃLinuxÒѾºÜ³¤Ê±¼äÁË£¬ÓÉÓÚûÓÐÓ²ÐÔÈÎÎñһֱҲûÓÐϵͳѧϰ£¬½üÈÕÓÉÓÚ¹¤×÷ÐèÒª±ØÐëʹÓÃLinuxϵÄMySQL¡£±¾ÒÔΪÓÐWindowsÏÂʹÓÃSQL ServerµÄ¾Ñ飬¾õµÃÔÚLinuxÏ°²×°MySqlÓ¦¸ÃÊÇÒ×Èç·´ÕƵÄÊ£¬¿ÉÔÚÕæÕý°²×°ºÍʹÓÃMySQLʱ×ßÁ˺ܶàÍä·£¬Óö¼ûºÜ¶àÎÊÌ⣬±Ï¾¹Linux ºÍWindows±¾Éí¾ÍÓкܴóÇø±ð¡£ ......
Linux
ÏÂ
USB
suspend/resume
Ô´Âë·ÖÎö
Author:aaron
±¾ÎÄÖ÷Òª´Ó×Ô¼º¿ª·¢µÄÒ»¸ö
USB
Çý¶¯µÄÀý×ÓÀ´ÉîÈë½²½â
linux
ÄÚºËÊÇÈçºÎÖ§³Ö
USB
É豸µÄÐÝÃߺͻ½ÐѵÄ
,
×î½üÎÒÔÚΪÎÒÃǹ«Ë¾µÄÒ»¸öÄ£¿éд
linux
ϵÄÇý¶¯
,
ÆäÖÐÖ®Ò»¾ÍÊÇÒªÖ§³Ö
USB
µÄÐÝÃß»½ÐÑÎÊÌâ
,
ʵ¼ÊÉÏ
linux
Äں˶Ô
USB
µÄÕ⸠......