最近给树莓派接串口显示,买了一条usb转ttl线就搞定,
windows使用xshell 接上后,发现是串口3或者串口4
linux安装后,运行
dmesg | grep tty
显示
[ 0.000000] console [tty0] enabled
[ 0.489715] 00:09: ttyS0 at I/O 0x3f8 (irq = 4, base_baud = 115200) is a 16550A
[ 25.192563] usb 3-6: pl2303 converter now attached to ttyUSB0
[ 1152.998977] pl2303 ttyUSB0: pl2303 converter now disconnected from ttyUSB0
[ 1154.767507] usb 3-5: pl2303 converter now attached to ttyUSB0
[ 1404.426321] pl2303 ttyUSB0: pl2303 converter now disconnected from ttyUSB0
[ 6612.484871] usb 3-5: pl2303 converter now attached to ttyUSB0
使用minicom配置一下
sudo minicom -s
选择A
选择串口ttyUSB0,然后保存退出
运行 sudo minicom
ubuntu的好处就是不用安装pl2303驱动
阅读(1540) | 评论(0) | 转发(0) |