虚拟机 VM tcsetattr fd1: input/output error解决方法
来源:互联网 发布:mac引导修复工具 编辑:程序博客网 时间:2024/06/05 01:35
报错:串口通信时 tcsetattr fd1: input/output error
系统:ubuntu
环境:VMware
错误原因:VM设置中未开启串行端口
解决办法:
1.点击菜单条》虚拟机》编辑
2.点击添加》串行端口
3.使用主机上的物理串口
4.选择你要使用的串口即可,不推荐选自动检测。
5.完成之后即可看到相应的项目
配置完后,再登录虚拟机上的ubuntu系统看看,串口是不是又可以使用了呢~
其他的小错误
比如串口拒绝访问Can’t Open Serial Port: Permission denied:给相应的串口赋777权限即可 如命令sudo chmod 777 /dev/ttyUSB0
其他需要注意的是ttyS*表示直接的串口,通常如果在主机上测得端口为com5,则对应为ttyS5
而ttyUSB*表示 USB-UART即USB转串口,通常按照顺序命名,比如只插一个USB转串口,则对应为ttyUSB0
在应用打开串口时千万别搞错了~
未来计划推一期ubuntu串口博文,整理下这几天所学的分享给大家,也欢迎大家及时指正错误~
阅读全文
1 0
- 虚拟机 VM tcsetattr fd1: input/output error解决方法
- 一种解决方法tcsetattr fd1: input/output error
- 出现set_locale() failed (5): Input/output error的解决方法
- sshfs Input/output error
- linux input/output error
- fatal error: input/output error
- Oracle VM虚拟机 error
- mount出错 Input/output error
- Linux出现Input/output error
- Cannot remove : Input/output error
- 使用虚拟机安装Linux出现错误[Errno 5] Input/Output error
- error: cannot mount filesystem: input/output error
- 使用tornado运行web程序错误解决方法:IOError: [Errno 5] Input/output error
- PHP failed to ptrace(PEEKDATA) pid 13659: Input/output error错误解决方法
- Standard input, output, and error streams
- Linux服务器Input/output error错误
- 操作串口时,出现Input/output error
- tq2440移植Linux:input/output error
- 什么是存储过程,存储过程的作用及好处
- 简单c语言汇编后代码解释(1)
- 顺序表的实现以及简单的 插入,删除,查找,输出操作
- 关于spring boot整合mybatis使用oracle数据库出现could not load:oracle.jdbc.driver.OracleDriver问题的终极解决方案
- python 获取文件下所有文件或目录os.walk()
- 虚拟机 VM tcsetattr fd1: input/output error解决方法
- poj1330 lca倍增算法模板
- myeclips安装svn插件的方法
- 经典排序算法--冒泡排序
- putty上执行后台运行命令失效
- MySQL中查询后用查询结果当删除的判断条件,进行删除操作
- 【hihocoder】#1566 : 皇室成员的名字[Offer收割]编程练习赛25
- C语言形参和实参
- 输入与Module