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

Unix/Linux ϵͳ×Ô¶¯»¯¹ÜÀí: ´ÅÅ̹ÜÀíƪ

2009 Äê 7 ÔÂ 30 ÈÕ
±¾ÎÄÊÇ Unix/Linux ϵͳ¹ÜÀí×Ô¶¯»¯ÏµÁÐÖеÄһƪ£¬Ö÷Òª½²ÊöÈçºÎʵÏÖ×Ô¶¯»¯¼à¿Ø´ÅÅÌ¿Õ¼ä״̬²¢¼°Ê±Í¨ÖªÏµÍ³¹ÜÀíÔ±²ÉÈ¡ÏàÓ¦´ëÊ©¡£
ÔÚ Unix/Linux ϵͳµÄÈÕ³£¹ÜÀí¹¤×÷ÖУ¬ÏµÍ³¹ÜÀíÔ±¿ÉÄÜ»áÓöµ½Òò´ÅÅÌ¿Õ¼äºÄ¾¡¶øµ¼Ö¶ªÊ§Êý¾Ý£¬»òÕßϵͳ±ÀÀ£µÈ¡£ÕâЩÑÏÖصÄʹʼ«´óµÄÓ°ÏìÁ˹¤×÷ЧÂÊ¡£Òò´Ë£¬¹ØעϵͳµÄ´ÅÅÌʹÓÃÇé¿ö£¬½¨Á¢Ò»¸ö¾¯¸æϵͳ¶Ô´ÅÅÌ¿Õ¼äµÄDZÔÚÎÊÌâ·¢³ö¾¯¸æ£¬È·±£ÎļþϵͳûÓб»ÌîÂú»òÀÄÓÃÊÇϵͳ¹ÜÀíµÄÒ»¸öÖØÒªµÄ·½Ãæ¡£
ÔÚ±¾ÎÄÖУ¬×÷Õß½éÉÜÁËһЩ²é¿´´ÅÅÌʹÓÃÇé¿öµÄ¹¤¾ßÃüÁî²¢½áºÏÕâЩ¹¤¾ßʵÏÖÁËÒ»¸ö×Ô¶¯»¯¼à¿Ø´ÅÅÌ¿Õ¼äµÄʾ·¶½Å±¾¡£Í¨¹ý½éÉÜ£¬¶ÁÕß½«Á˽âÈçºÎ¼àÊÓ´ÅÅ̿ռ䡢ÈçºÎ·¢ÏÖ¾¿¾¹ÊÇÄÄЩÎļþϵͳռÓÃÁ˴󲿷ֵĿռ䲢ÒÔ´ËΪÒÀ¾Ý×ö³öÏàÓ¦µÄµ÷Õû¡£
Unix/Linux ´ÅÅ̹ÜÀíÏà¹ØÃüÁî½éÉÜ
»ñÈ¡Ó²Å̵ÄÊôÐÔÐÅÏ¢
ÔÚ»ñÖª´ÅÅÌʹÓÃ״̬֮ǰ£¬Äã¿ÉÄÜÐèÒªÖªµÀÄ㵱ǰµÄϵͳʹÓõÄÊÇʲôÀàÐ͵ĴÅÅÌ£¬ËüµÄÊôÐÔ²ÎÊýÊÇʲô¡£Ä¿Ç°´ó¶àÊýµÄ Linux/Unix ·þÎñÆ÷Ó²ÅÌʹÓà SCSI »ò IDE Ó²ÅÌ¡£ÔÚ Linux ºÍ AIX Öв鿴ӲÅ̵ÄÊôÐÔʹÓò»Í¬µÄÃüÁÏÂÃæµÄÀý×Ó¸ø³öÁËÔÚ²»Í¬ÏµÍ³ÉÏÈçºÎ»ñµÃÓ²ÅÌÊôÐÔ£¬ÆäÖаüÀ¨ÖÆÔìÉÌ£¬»úÆ÷Ðͺţ¬ÐòÁкŵȡ£
Çåµ¥ 1. ÔÚ RHEL5.3 ϵͳÉϲ鿴 SCSI Ó²Å̵ÄÊôÐÔÇåµ¥ 2. ÔÚ AIX6.1 ϵͳÉÏÏÔʾӲÅÌÅäÖÃÐÅÏ¢²é¿´´ÅÅÌÓë·ÖÇøÒÔ¼°·ÖÇøÓë¹ÒÔصãµÄ¶ÔÓ¦¹Øϵ
# dmesg |grep scsi
vio_register_driver: driver ibmvscsi registering
ibmvscsi 30000002: SRP_VERSION: 16.a
scsi0 : IBM POWER Virtual SCSI Adapter 1.5.9
ibmvscsi 30000002: partner initialization complete
ibmvscsi 30000002: sent SRP login
ibmvscsi 30000002: SRP_LOGIN succeeded
ibmvscsi 30000002: host srp version: 16.a, host partition vios (1), OS 3, max io 1048576
sd 0:0:1:0: Attached scsi disk sda
sd 0:0:1:0: Attached scsi generic sg0 type 0
# lsdev -CHc disk
name status location description
hdisk0 Available 01-08-00-1,0 SCSI Disk Drive
ÉÏÃæµÄÃüÁî¸ø³öÁËϵͳ¿ÉÓõÄÓ²ÅÌÐÅÏ¢£¬´ÓÉÏÃæµÄÊä³ö¿ÉÒÔ¿´³ö£¬ÏµÍ³ÓÐÒ»¸ö¿ÉÓÃµÄ SCSI Ó²ÅÌ£¬Èç¹ûÒª»ñµÃÓ²Å̵ÄÅäÖÃÐÅÏ¢£¬¿ÉÒÔʹÓà lscfg À´²é¿´¡£
# lscfg -vl hdisk0
hdisk0 U788D.001.99DZG0B-P1-T10-L1-L0 SCSI Disk Drive (36400 MB)
Manufacturer................IBM-ESXS
Machine Type and Model.....


Ïà¹ØÎĵµ£º

ʵսLinux Bluetooth±à³Ì£¨Èý£© HCI²ã±à³Ì

1. HCI²ãЭÒé¸ÅÊö£º
HCIÌṩһÌ×ͳһµÄ·½·¨À´·ÃÎÊBluetoothµ×²ã¡£ÈçͼËùʾ£º
´ÓͼÉÏ¿ÉÒÔ¿´³ö£¬Host Controller Interface(HCI)  ¾ÍÊÇÓÃÀ´¹µÍ¨HostºÍModule¡£Hostͨ³£¾ÍÊÇPC£¬ ModuleÔòÊÇÒÔ¸÷ÖÖÎïÀíÁ¬½ÓÐÎʽ£¨USB,serial,pc-cardµÈ£©Á¬½Óµ½PCÉϵÄbluetooth Dongle¡£
ÔÚHostÕâÒ»¶Ë£ºapplication,SDP,L2capµÈЭÒé ......

ʵսLinux Bluetooth±à³Ì£¨ËÄ£© L2CAP²ã±à³Ì

£¨L2CAPЭÒé¼ò½é£¬L2CAPÔÚBlueZÖеÄʵÏÖÒÔ¼°L2CAP±à³Ì½Ó¿Ú£©
Ò»£ºL2CAPЭÒé¼ò½é£º
Logical Link Control and Adaptation Protocol(L2CAP)
Âß¼­Á¬½Ó¿ØÖƺÍÊÊÅäЭÒé (L2CAP) ΪÉϲãЭÒéÌṩÃæÏòÁ¬½ÓºÍÎÞÁ¬½ÓµÄÊý¾Ý·þÎñ£¬²¢Ìṩ¶àЭÒ鹦ÄܺͷָîÖØ×é²Ù×÷¡£L2CAP ³äÐíÉϲãЭÒéºÍÓ¦ÓÃÈí¼þ´«ÊäºÍ½ÓÊÕ×î´ó³¤¶ÈΪ 64K µÄ L2CAP Ê ......

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

Ò»£ºÇ°ÑÔ
×î½üÔÚÑо¿androidµÄsensor driver£¬Ö÷ÒªÊÇE-compass£¬ÆäÖÐÓõ½ÁËLinux input×Óϵͳ.ÔÚÍøÉÏÒ²¿´Á˺ܶàÕâ·½ÃæµÄ×ÊÁÏ£¬¸Ð¾õ»¹ÊÇÕâƪ·ÖÎöµÄ±È½ÏϸÖÂ͸³¹£¬Òò´ËתÔØÒ»ÏÂÒÔ±ã×Ô¼ºÑ§Ï°£¬Í¬Ê±ºÍ´ó¼Ò·ÖÏí£¡
£¨Õâƪ²©¿ÍÖ÷ÒªÊÇÒÔ¼üÅÌÇý¶¯ÎªÀýµÄ£¬²»¹ý½²½âµÄÊÇLinux Input Subsystem£¬¿ÉÒÔ×ÐϸµÄÑо¿Ò»Ï£¡£©
¼üÅÌÇý¶¯½«¼ì ......

¸ü¸ÄlinuxĿ¼µÄĬÈÏÑÕÉ«£¨ÎÒÑ¡ÔñÁËYellow£©

ÔÚ¿ØÖÆ̨Ï£¬ÓÃls£¬¾Í»á·¢ÏÖ£¬shell½«²»Í¬ÀàÐ͵ÄÎļþÏîÄ¿ÏÔʾΪ²»Í¬µÄÑÕÉ«¡£Õß¿ÉÒÔÌá¸ßЧÂÊ£¬²»ÓÃls -l±ãÄÜ´ó¸ÅµÄ°Ñ¸÷¸öÎļþµÄÀàÐÍÇé¿öÁ˽âһϡ£
ÄãÓÐûÓÐÏë¹ý¸ü¸ÄÕâ¸ö×ÅÉ«ÅäÖÃÄØ£¿
Æä
ʵ£¬ÔÚ/etcÏÂÓÐÒ»¸öDIR_COLORSµÄÎļþ£¬ÕâÊÇÒ»¸ö×ÅÉ«¿ØÖƵÄÄ£°æ¡£ÏÖ½«Õâ¸öÄ£°æ¿½³öÀ´¡£Èç¹ûÏëÈÃÕâ¸öÅäÖÃÔÚrootÓû§ÏÂÉúЧ£¬±ß¿½µ½
......

linux daemon() Ó÷¨

Ãû³Æ
      daemon-ÔËÐÐÓÚºǫ́
¸ÅÒª
      #include <unistd.h>
      int daemon(int nochdir, int noclose);
ÃèÊö
      daemon()º¯Êý£¬Ö÷ÒªÓÃÓÚijЩ³ÌÐòÏ£Íû×Ô¼ºÍÑÀëÖն˵ĿØÖƶøÔËÐÐ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ