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

LinuxÉ豸ģÐÍÖ®input×ÓϵͳÏê½â(¶þ)

;           break; 
         } 
  
         if (type != EV_SYN) 
                   dev->sync = 0; 
  
         if ((disposition & INPUT_PASS_TO_DEVICE) && dev->event) 
                   dev->event(dev, type, code, value); 
  
         if (disposition & INPUT_PASS_TO_HANDLERS) 
                   input_pass_event (dev, type, code, value); 

ÔÚÕâÀï,ÎÒÃǺöÂÔµô¾ßÌåʼþµÄ´¦Àí.µ½×îºó,Èç¹û¸ÃʼþÐèÒªinput deviceÀ´Íê³ÉµÄ,¾Í»á½«dispositionÉèÖóÉINPUT_PASS_TO_DEVICE.Èç¹ûÐèÒªhandlerÀ´Íê³ÉµÄ,¾Í½«dispostionÉèΪINPUT_PASS_TO_DEVICE.Èç¹ûÐèÒªÁ½Õ߶¼²ÎÓë,½«dispositionÉèÖÃΪINPUT_PASS_TO_ALL. 
ÐèÒªÊäÈëÉ豸²ÎÓëµÄ,»Øµ÷É豸µÄeventº¯Êý.Èç¹ûÐèÒªhandler²ÎÓëµÄ.µ÷ÓÃinput_pass_event().´úÂëÈçÏÂ: 
static void input_pass_event(struct input_dev *dev, 
                                 unsigned int type, unsigned int code, int value) 

         struct input_handle *handle; 
  
         rcu_read_lock(); 
  
         handle = rcu_dereference(dev->grab); 
         if (handle) 
         


Ïà¹ØÎĵµ£º

LinuxÈí¼þ°²×°ÓëжÔØÃüÁî

./configure         ¼ì²éϵͳÐÅÏ¢              
./configure   --help   |   more     °ïÖúÐÅÏ¢
make   clean     ......

linux¾²Ì¬¿âºÍ¹²Ïí¿â

1.ʲôÊÇ¿â
ÔÚwindowsƽ̨ºÍlinuxƽ̨϶¼´óÁ¿´æÔÚ×Å¿â¡£
±¾ÖÊÉÏÀ´Ëµ¿âÊÇÒ»ÖÖ¿ÉÖ´ÐдúÂëµÄ¶þ½øÖÆÐÎʽ£¬¿ÉÒÔ±»²Ù×÷ϵͳÔØÈëÄÚ´æÖ´ÐС£
ÓÉÓÚwindowsºÍlinuxµÄ±¾Öʲ»Í¬£¬Òò´Ë¶þÕß¿âµÄ¶þ½øÖÆÊDz»¼æÈݵġ£
±¾ÎĽöÏÞÓÚ½éÉÜlinuxϵĿ⡣
2.¿âµÄÖÖÀà
linuxϵĿâÓÐÁ½ÖÖ£º¾²Ì¬¿âºÍ¹²Ïí¿â£¨¶¯Ì¬¿â£©¡£
¶þÕߵIJ»Í¬µãÔÚÓÚ´úÂë±» ......

LinuxÖÐÈçºÎʹÓÃÃüÁîÐÞ¸ÄÎļþËùÊôÓû§×飿

ÏÈÀ´Á˽âÒ»ÏÂÎļþÊôÐÔ£¬
ÔÚshell»·¾³ÀïÊäÈ룺ls -l ¿ÉÒԲ鿴µ±Ç°Ä¿Â¼Îļþ¡£È磺
drwxr-xr-x 2 nsf users 1024 12-10 17:37 ÏÂÔØÎļþ±¸·Ý
·Ö±ð¶ÔÓ¦µÄÊÇ£º
ÎļþÊôÐÔ Á¬½ÓÊý ÎļþÓµÓÐÕß ËùÊôȺ×é Îļþ´óС ÎļþÐÞ¸Äʱ¼ä ÎļþÃû
ÕâÀïrÊǿɶÁ£¬w¿Éд,x ¿ÉÖ´ÐУ¬ÆäÖÐÎļþÊôÐÔ·ÖΪËĶΣ¬---- --- --- 10¸öλÖÃ
ÀýÈ磺
¡¡¡¡d ......

linuxÏÂmmapµÄʹÓÃ

http://blog.csdn.net/adcxf/archive/2009/03/14/3989725.aspx
¹² ÏíÄÚ´æ¿ÉÒÔ˵ÊÇ×îÓÐÓõĽø³Ì¼äͨÐÅ·½Ê½£¬Ò²ÊÇ×î¿ìµÄIPCÐÎʽ¡£Á½¸ö²»Í¬½ø³ÌA¡¢B¹²ÏíÄÚ´æµÄÒâ˼ÊÇ£¬Í¬Ò»¿éÎïÀíÄÚ´æ±»Ó³Éäµ½½ø³ÌA¡¢B¸÷×ԵĽø³ÌµØÖ·¿Õ ¼ä¡£½ø³ÌA¿ÉÒÔ¼´Ê±¿´µ½½ø³ÌB¶Ô¹²ÏíÄÚ´æÖÐÊý¾ÝµÄ¸üУ¬·´Ö®ÒàÈ»¡£ÓÉÓÚ¶à¸ö½ø³Ì¹²Ïíͬһ¿éÄÚ´æÇøÓò£¬±ØÈ»ÐèÒ ......

fedoraÏÂlinuxµÄ°²×°

ËäÈ»mplayerµÄ°²×°·½·¨ÒѾ­²»ÊÇʲô¼¼Êõ»î£¬µ«×î½üÓв»ÉÙͬѧÔÚѯÎÊÎÒ¹ØÓÚmplayerµÄ°²×°·½·¨µÄÎÊÌâ¡£ÎÒÒ»¹áÍƼöËüÃÇÔ´´úÂë°üµÄ°²×°£¬ËäÈ»²½ÖèÓÐЩ¸´ÔÓ£¬µ«½âÂëÆ÷ºÍ¶þ½øÖƳÌÐò¶¼¾¡ÔÚÕÆÎÕ£¬ÐÄÀï̤ʵ¡£
£½£½£½
1
ÏÂÔØÈçÏÂÕâЩÈí¼þ£º
all-20071007.tar.bz2
windows-all-20071007.zip
Blue-1.7.tar.bz2
MPlayer-1.0rc2.ta ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ