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
Ïà¹ØÎĵµ£º
£¨L2CAPÐÒé¼ò½é£¬L2CAPÔÚBlueZÖеÄʵÏÖÒÔ¼°L2CAP±à³Ì½Ó¿Ú£©
Ò»£ºL2CAPÐÒé¼ò½é£º
Logical Link Control and Adaptation Protocol(L2CAP)
Âß¼Á¬½Ó¿ØÖƺÍÊÊÅäÐÒé (L2CAP) ΪÉϲãÐÒéÌṩÃæÏòÁ¬½ÓºÍÎÞÁ¬½ÓµÄÊý¾Ý·þÎñ£¬²¢Ìṩ¶àÐÒ鹦ÄܺͷָîÖØ×é²Ù×÷¡£L2CAP ³äÐíÉϲãÐÒéºÍÓ¦ÓÃÈí¼þ´«ÊäºÍ½ÓÊÕ×î´ó³¤¶ÈΪ 64K µÄ 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 ......
½âѹ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Óû§,¾³£·³ÄÕµÄÒ»¸öÎÊÌâÊÇ:ϵͳ³£³£ÔÚÐèÒªÏÔʾÖÐÎĵÄʱºòÈ´ÏÔʾ³ÉÁËÂÒÂë,¶øÓÉÓÚijЩÔÒò,ÐèÒªÓ¢ÎĽçÃæµÄϵͳµÄʱºò,È´¿àÓÚϵͳ²»ÄÜÕý³£ÊäÈëºÍÏÔʾÖÐÎÄ.ÁíÍâ,ÓÉÓڴ󲿷ÖÖ÷ÒªLinux·¢Ðа涼ÊÇÒÔÓ¢ÓïΪÖ÷ÌåµÄ,Ó¢ÎĽçÃæµÄϵͳºÍÓ¦ÓóÌÐò²»¹ÜÔÚ½çÃæµÄÃÀ¹Û³Ì¶ÈºÍÎȶ¨³Ì¶ÈÉ϶¼±ÈÖÐÎĵÄÂÔºÃһЩ,¸÷ÖÖÆæ¹ÖµÄBUGÒ²ÒªÉÙ ......