1、enviroment
a.host -----win7
b virtul tool---vxbox
c .virtul os---ubuntu
2、config
a vxbox-setting
add->com->select pipe type
a) name \\.pipe\myvxboxcom
b)the end is the server
c)the end is the client
3、serical open
a) win7
putty ->setting
name : \\.pipe\myvxboxcom
b) ubuntu
---> dmesg | grep tty find com dev name:
ttyS0
-->stty -F /dev/ttyS0-a
--->echo -e -en "hello com" > /dev/ttyS0
hexdump -C -n 5 /dev/ttyS0 // show the front n bytes ,then exit;