1,硬件连接
2,Ubuntu终端中输入命令:
brep@Kylin:~$ cu -l /dev/ttyUSB0 -s 115200 cu: open (/dev/ttyUSB0): Permission denied cu: /dev/ttyUSB0: Line in use brep@Kylin:~$ ls -al /dev/ttyUSB0 crw-rw---- 1 root dialout 188, 0 Jan 13 15:39 /dev/ttyUSB0 brep@Kylin:~$ sudo chmod o+rw /dev/ttyUSB0 brep@Kylin:~$ ls -al /dev/ttyUSB0 crw-rw-rw- 1 root dialout 188, 0 Jan 13 15:39 /dev/ttyUSB0 brep@Kylin:~$ cu -l /dev/ttyUSB0 -s 115200 Connected.
原文:http://www.cnblogs.com/brep/p/5127647.html