LinuxÇý¶¯ USB
USBÊÇ´ó¼Ò³£¼ûµÄ£¬É豸×ÜÏß¡£ Õâ¸öUSB·ÖΪÁ½¸ö²¿·Ö£ºÖ÷»ú£¬É豸¡£ ËûÊÇÒ»¸öÊ÷ÐεĹØϵ£º Ö÷»ú
É豸 É豸 É豸 Ö÷»úÀï×°µÄÊÇ£¬Ö÷»ú¿ØÖÆÆ÷£¬É豸ÖÐ×°µÄÊÇÉ豸¿ØÖÆÆ÷ Host Controller ºÍ UDC ´ÓÖ÷»ú²à¿´ ´ÓÉ豸²à¿´ USBÉ豸Çý¶¯ GadgetÇý¶¯ USBºËÐÄ Gadget API USBÖ÷»ú¿ØÖÆÆ÷Çý¶¯ UDCÇý¶¯ USB¿ØÖÆÆ÷ USB¿ØÖÆÆ÷ ÔÚÖ÷»ú²àҪʵÏÖµÄÇý¶¯ÓÐÁ½²¿·Ö£¬USBÉ豸Çý¶¯ºÍUSBÖ÷»ú¿ØÖÆÆ÷Çý¶¯¡£Ïֽ׶ÎÎÒÃÇÏȹØ×¢£¬ÏÂÃæµÄ¡£Ö÷»ú¿ØÖÆÆ÷Çý¶¯¡£ ÔÚÉ豸²à·ÖΪ3¸ö²ã´Î£¬UDCÇý¶¯¡¢Gadget API¡¢Gadget Çý¶¯¡£ÆäÖеÄUSB¿ØÖÆÆ÷£¬ÓëÖ÷»ú²àµÈͬ¡£ LinuxÖУ¬USBÉ豸ÓÃusb_device½á¹¹Ç÷ÃèÊö£¬¶øUSBÉ豸ÃèÊö·û¶¨ÒåΪusb_device_descriptor½á¹¹Ìå.
usbÅäÖÃÔÚÄÚºËÖÐʹÓÃusb_host_config½á¹¹Ìå, USBÅäÖÃÃèÊö·ûÓÃusb_config_descriptor½á¹¹Ìå,
usb½Ó¿Ú£ºusb_interface½á¹¹ÌåÃèÊö£¬usb½Ó¿ÚÃèÊö·û¶¨ÒåΪ½á¹¹Ìåusb_interface_descriptor½á¹¹Ì壬
usb¶Ëµã£º¶ËµãÔÚÄÚºËÖÐÓÃusb_host_endpoint½á¹¹ÌåÃèÊö£¬¶ø¶ËµãÃèÊö·ûÔò¶¨ÒåΪusb_endpoint_descriptor½á¹¹Ì壬
ÕâÑùÎÒÃǾͿÉÒÔ°ÑÒ»¸öUSBÉ豸³éÏó³ÉÒ»¸öÓÉËĸö»ù±¾ÔªËØ×é³ÉµÄ£¬¶ÔÏó¡£ÆäÖл¹ÓÐÒ»¸öÊÂ×Ö·û´®½á¹¹Ì壬usb_string_descriptor½á¹¹Ìå¡£
Ïà¹ØÎĵµ£º
LinuxºËÐļ¸¸öÖØÒª¸úʱ¼äÓйصÄÃû´Ê»ò±äÊý£¬µ×Ͻ«½éÉÜHZ¡¢tickÓëjiffies¡£
£¨1£©HZ
LinuxºËÐÄÿ¸ô¹Ì¶¨ÖÜÆڻᷢ³ötimer interrupt (IRQ 0)£¬HZÊÇÓÃÀ´¶¨ÒåÿһÃëÓм¸´Îtimer interrupts¡£¾ÙÀýÀ´Ëµ£¬HZΪ1000£¬´ú±íÿÃëÓÐ1000´Îtimer interrupts¡£ HZ¿ÉÔÚ±àÒëºËÐ ......
linux ÊÂÇéÒª´ÓSSH˵Æð£¬×ʼÎÒÃÇÔ¶³Ì·ÃÎÊlinux·þÎñÆ÷£¬¶¼ÊÇÓõÄSSH£¬Õâ¸ö¶«Î÷ºÜ·½±ãÁË£¬ÌṩÁËÃüÁîÐУ¬»¹Óд°¿Ú½çÃ棬ÓÃÆðÀ´·½±ã£¬ÏàÐÅÓùýµÄÈ˶¼ÓÐÌå»á£¬µ«Êǵ±ÎÒ»»³ÉflashFXPÁ¬½ÓͬÑùµÄlinux·þÎñÆ÷ʱÔõô¶¼Á¬²»ÉÏ£¬ÕâÏÂÓôÃÆ»µÁË£¬Ôõô°ìÄØ£¿ ÔÚ¾ÀúÁËÎÞÊý´ÎµÄ³¢ÊÔÖ®ºó£ ......
1. 10 ¸ö×î¿áµÄ Linux µ¥ÐÐÃüÁî(ת) (http://linuxtoy.org/archives/top-10-one-liners.html )
ÏÂÃæÊÇÀ´×Ô Commandlinefu ÍøÕ¾ÓÉÓû§Í¶Æ±¾ö³öµÄ 10 ¸ö×î¿áµÄ Linux µ¥ÐÐÃüÁϣÍû¶ÔÄãÓÐÓá£
sudo !!
ÒÔ root ÕÊ»§Ö´ÐÐÉÏÒ»ÌõÃüÁî¡£
python -m SimpleHTTPServer
ÀûÓà Python ´î½¨Ò»¸ö¼òµ¥µÄ Web · ......
°²×°samba
ÎÄÕÂÖÐÌáµ½µÄsmaba°²×°³ÌÐò samba-3.0.20b-1.i386.rpm (ISO)
1 Ê×ÏÈ£¬ÔÚVMwareÄÚ°Ñsamba°²×°ÎļþµÄ¾µÏñÎļþÓ³ÉäΪ¹âÇý£¬Èçͼ1-1²½Öè1-2-3¡£
ͼ1-1
2 È»ºó£¬Ê¹ÓÃÃüÁîmount /dev/cdrom /mnt/cdrom ×÷ÓÃÊǰѹâÇýÔØÈëµ½Îļþ¼Ð/mnt/cdromÖУ¬Èçͼ1-2 ......
ÎÊÌâÃèÊö£º
µ±linuxÆô¶¯µ½sendmail·þÎñʱ£¬ÎÞ·¨Õý³£½øÈëϵͳ
½â¾öÎÊÌ⣺
1¡¢²¢²»ÊÇÎÞ·¨½øÈ¥£¬¶øÊÇÕâÒ»¸ö·þÎñÆô¶¯µÄÌرðÂý£¬ËùÒÔ¾´ÇëµÈ´ý
2¡¢ÈçÆô¶¯Ê±²»ÏëµÈ´ý£¬OK£¬Äǵ±ÎÒÃǽøÈëÒԺ󣬹صôsendmail·þÎñ£º ......