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

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µÄÈíÁ¬½ÓÓëÓ²Á¬½Ó ln s

¶ÔÓÚÒ»¸öÎļþÀ´Ëµ£¬ÓÐΨһµÄË÷Òý½ÓµãÓëÖ®¶ÔÓ¦£¬¶ø¶ÔÓÚÒ»¸öË÷Òý½ÓµãºÅ£¬È´¿ÉÒÔÓжà¸öÎļþÃûÓëÖ®¶ÔÓ¦¡£Òò´Ë£¬ÔÚ´ÅÅÌÉϵÄͬһ¸öÎļþ¿ÉÒÔͨ¹ý²»Í¬µÄ·¾¶È¥·ÃÎÊ
¸ÃÎļþ¡£
¡¡¡¡£±.Á¬½ÓÓÐÈíÁ¬½ÓºÍÓ²Á¬½Ó(hard link)Ö®·ÖµÄ£¬ÈíÁ¬½Ó(symbolic
link)ÓֽзûºÅÁ¬½Ó¡£·ûºÅÁ¬½ÓÏ൱ÓÚWindowsϵĿì½Ý·½Ê½¡£
ÈíÁ´½Óʵ¼ÊÉÏÖ»ÊÇÒ»¶ÎÎÄ× ......

linuxÖпìËÙ²éÕÒÎļþ

Ö÷ÒªÓÐÏÂÃæÈýÖÖ·½Ê½£º
1.whereis ÎļþÃû
ÌØµã:¿ìËÙ, Ö´ÐÐ׼ȷ²éÕÒ¡£
2.find / -name ÎļþÃû
²é³öºÜ¶à¶«Î÷£¬Óкܶà
“Permission Denied".
#find / -name php.ini
3.locate ÎļþÃû
×î¿ìµÄ·½·¨.Ö´ÐÐÄ£ºý²éÕÒ¡£
×¢Òâ:µÚÒ»´ÎʹÓøÃÃüÁî,¿ÉÄÜÐèÒª¸üÐÂÊý¾Ý¿â,°´ÕÕÌáʾµÄÃüÁîÖ´ÐÐһϾͺÃÁË.
ÕâÀï¾ÍҪ˵˵loc ......

linux vs windows

Ê×Ïȼòµ¥µÄ½éÉÜÁ½Õߣº
¡¾linux²Ù×÷ϵͳ£º¼ò³ÆÃüÁ²Ù×÷ϵͳ¡¿
¼ò½é£º
¼òµ¥µØËµ£¬LinuxÊÇÒ»Ì×Ãâ·ÑʹÓúÍ×ÔÓÉ´«²¥µÄÀàUnix²Ù×÷ϵͳ£¬ËüÖ÷ÒªÓÃÓÚ»ùÓÚx86ϵÁÐCPUµÄ¼ÆËã»úÉÏ¡£Õâ¸öϵͳÊÇÓÉÊÀ½ç¸÷µØµÄ³ÉǧÉÏÍòµÄ³ÌÐòÔ±Éè¼ÆºÍʵÏֵġ£ÆäÄ¿µÄÊǽ¨Á¢²»ÊÜÈκÎÉÌÆ·»¯Èí¼þµÄ°æÈ¨ÖÆÔ¼µÄ¡¢È«ÊÀ½ç¶¼ÄÜ×ÔÓÉʹÓõÄUnix¼æÈݲúÆ·¡£
ÌØµã£º ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ