VirtualBox 串口设备(未完成)

VirtualBox 串口设备(未完成)

环境: Mac Pro 10.13.6 (17G3025)

安装

1
2
berm install socat
brew install minicom

VirtualBox配置串口为管道

配置管道

将socket端口567与管道文件链接起来。注意这里打开管道用的是gopen 而不是pipe(就因为这个浪费了很久时间,用pipe会在实际链接时提示不支持的操作)

1
sudo socat tcp4-listen:567 gopen:/Users/wv/dsm61

telnetl连接

1