Ò׽ؽØÍ¼Èí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö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) 
         


Ïà¹ØÎĵµ£º

WindowsXP vs GNU/Linux °²×°

ÔÚÎҵıʼDZ¾¼ÆËã»úÉÏ£¬WindowsXPÅܵÄÔ½À´Ô½Âý£¬ÖÕÓÚϾöÐÄÖØ×°Ò»±é£¬Ï£ÍûÊÇ×îºóÒ»´Î°²×°WindowsXPÁË¡£¿ÉÊÇÓÖ²»Ì«¸ÊÐÄ£¬¾õµÃ»¨µÄʱ¼ä²»Ì«ÖµµÃ£¬²»¹ý£¬×î½ü¾­ÀúÁ˼¸´ÎWindows vs GNU/Linux µÄÕùÂÛ£¬ÓÚÊÇ×Ðϸ¼Ç¼һϰ²×°¹ý³Ì£¬¿ÉÒÔÓп͹ÛÒ»µãµÄÊý¾Ý×ö±È½Ï¡£
ÎҵıʼDZ¾ÊÇDELL INSPIRON 600m£¬pentium-M 1.5GHz, 40GB Ó²ÅÌ, ......

LinuxÈëÃűʼÇÎå

Shell½Å±¾¼°Æä³É·Ö
ShellÊÇÒ»¸ö¹¦ÄÜÇ¿´óµÄ±à³ÌÓïÑÔ¡£ÓÃShell±àдµÄÅú´¦ÀíÎļþ³ÆÎªShell½Å±¾¡¢
Shell½Å±¾µÄ³É·Ö
-×¢ÊͲ¿·Ö
 ÒÔ#¿ªÍ·µÄÐÐ
-ÃüÁî
 ÔÚShell½Å±¾ÖпÉÒÔ³öÏÖÈκÎÔÚ½»»¥·½Ê½Ï¿ÉÒÔʹÓõÄÃüÁî
-±äÁ¿
 ¼È¿ÉÒÔʹÓÃÓû§×Ô¶¨ÒåµÄ±äÁ¿£¬Ò²¿ÉÒÔʹÓÃϵͳ»·¾³±äÁ¿
-Á÷³Ì¿ØÖÆ
 ¶ÔÃüÁîµÄÖ´ÐÐÁ÷³ ......

LinuxϵͳÏ»ù±¾ÃüÁî

LinuxϵͳÏ»ù±¾ÃüÁ 񻂿·Ö´óСд uname ÏÔʾ°æ±¾ÐÅÏ¢£¨Í¬win2KµÄ ver£© dir ÏÔʾµ±Ç°Ä¿Â¼Îļþ,ls -al ÏÔʾ°üÀ¨Òþ²ØÎļþ£¨Í¬win2KµÄ dir£© pwd ²éѯµ±Ç°ËùÔÚµÄĿ¼λÖà cd cd¡¡..»Øµ½ÉÏÒ»²ãĿ¼£¬×¢Òâcd Óë..Ö®¼äÓпոñ¡£cd¡¡/·µ»Øµ½¸ùĿ¼¡£ cat ÎļþÃû ²é¿´ÎļþÄÚÈÝ cat >abc.txt Íùabc.txtÎļþÖÐдÉÏÄÚÈÝ¡£ more Î ......

LinuxÄÚºËÉý¼¶µÄ»ù±¾²½Öè

Ò»¡¢±¾´ÎÄں˱àÒëÐÂÄÚºËËùÉæ¼°Èí¼þ°æ±¾
 
“gcc –version”¿É²éѰGCC°æ±¾------4.3.2 20081105£¨Red Hat 4.3.2-7£©
“make –v”¿É²éѯ Gnu make°æ±¾-----3.81
“ld –V£¨v£©¿É²éѯGNU ld°æ±¾-----2.18.50.0.9-7¡£f c10 20080822
“fdformat --version”ÃüÁî ......

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ºÅ