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

Linux ´®¿ÚÉ豸

 
ÔÚLinuxÖÐÓÃttySxµÄÐÎʽÀ´±íʾ´®¿ÚÉ豸Ãû£¬Èç COM1±»±íʾΪttyS0£¬COM2±»±íʾΪttyS1£¬ÒÔ´ËÀàÍÆ¡£ÏÂÃæÕâ¸öÃüÁîÏÔʾϵͳÖб»¼ì²âµ½µÄ´®¿Ú£º
# dmesg | grep ttyS
[   25.942157] serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
[   25.942840] 00:08: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
setserial ÃüÁîÓÃÀ´µ÷Õû»ò±¨¸æÓë´®¿ÚÓйصÄÉèÖ㬰üÀ¨´®¿ÚËùʹÓõÄI/O¶Ë¿ÚºÍÖжÏ:
# setserial -g /dev/ttyS[0123]
/dev/ttyS0, UART: 16550A, Port: 0x03f8, IRQ: 4
/dev/ttyS1, UART: unknown, Port: 0x02f8, IRQ: 3
/dev/ttyS2, UART: unknown, Port: 0x03e8, IRQ: 4
/dev/ttyS3, UART: unknown, Port: 0x02e8, IRQ: 3


Ïà¹ØÎĵµ£º

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

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

ʵսLinux Bluetooth±à³Ì(Áù) L2CAP±à³ÌʵÀý

ÀýÒ»£º·¢ËÍSignaling Packet£º
Signaling CommandÊÇ2¸öBluetoothʵÌåÖ®¼äµÄL2CAP²ãÃüÁî´«Êä¡£ËùÒÔµÃSignaling CommandʹÓÃCID 0x0001.
¶à¸öCommand¿ÉÒÔÔÚÒ»¸öC-frame£¨control frame£©Öз¢ËÍ¡£
 Èç¹ûÒªÖ±½Ó·¢ËÍSignaling Command.ÐèÒª½¨Á¢SOCK_RAWÀàÐ͵ÄL2CAPÁ¬½ÓSocket¡£ÕâÑù²ÅÓлú»á×Ô¼ºÌî³äCommand Code£¬Identi ......

linux ϳ£ÓÃÃüÁî

½âѹgz°ü
tar zxvf xxxx.tar.gz
²é¿´Îļþ´óС 
du -sh xxx.tar
½âѹisoÎļþ   
mount -o loop /soft/TIM_IDS6.0.ISO /mntrom
ɾ³ýÎļþ(Àý£ºÉ¾³ýtar°ü)
rm -fr *.tar
ѹËõtar°ü
tar cvf othername.tar filename     ......

linuxÂÒÂëÎÊÌâ:LANG±äÁ¿µÄÃؾ÷

¶ÔÓÚ¹úÄÚµÄLinuxÓû§,¾­³£·³ÄÕµÄÒ»¸öÎÊÌâÊÇ:ϵͳ³£³£ÔÚÐèÒªÏÔʾÖÐÎĵÄʱºòÈ´ÏÔʾ³ÉÁËÂÒÂë,¶øÓÉÓÚijЩԭÒò,ÐèÒªÓ¢ÎĽçÃæµÄϵͳµÄʱºò,È´¿àÓÚϵͳ²»ÄÜÕý³£ÊäÈëºÍÏÔʾÖÐÎÄ.ÁíÍâ,ÓÉÓڴ󲿷ÖÖ÷ÒªLinux·¢Ðа涼ÊÇÒÔÓ¢ÓïΪÖ÷ÌåµÄ,Ó¢ÎĽçÃæµÄϵͳºÍÓ¦ÓóÌÐò²»¹ÜÔÚ½çÃæµÄÃÀ¹Û³Ì¶ÈºÍÎȶ¨³Ì¶ÈÉ϶¼±ÈÖÐÎĵÄÂÔºÃһЩ,¸÷ÖÖÆæ¹ÖµÄBUGÒ²ÒªÉÙ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ