关闭

minicom无法输入问题

标签: protocolsfilenameskeyboardfilec
11279人阅读 评论(0) 收藏 举报
分类:

 31人阅读 评论(0) 收藏 举报
在使用minicom查看log时候,今天发现无法回车进入到命令行模式输入命令了,通过查找资料发现关键点就在串口的配置中有个Serial port setup-->Hardware Flow Contorl选项被改成了Yes,这样就造成了键盘没有用了,接受不了任何输入。把他改成No就好了。具体修改操作如下:

sudo minicom -s

+-----[configuration]------+
| Filenames and paths |
| File transfer protocols |
| Serial port setup |
| Modem and dialing |
| Screen and keyboard |
| Save setup as dfl |
| Save setup as.. |
| Exit |
| Exit from Minicom |
+--------------------------+

进入Serial port setup界面

+-----------------------------------------------------------------------+
| A - Serial Device : /dev/ttyS1 |
| B - Lockfile Location : /var/lock |
| C - Callin Program : |
| D - Callout Program : |
| E - Bps/Par/Bits : 115200 8N1 |
| F - Hardware Flow Control : No |
| G - Software Flow Control : No |
| |
| Change which setting? |
+-----------------------------------------------------------------------+

此时F - Hardware Flow Contorl项为Yes,按下F键就修改为No了,即关闭硬件流控,回车回到上级菜单

+-----[configuration]------+
| Filenames and paths |
| File transfer protocols |
| Serial port setup |
| Modem and dialing |
| Screen and keyboard |
| Save setup as dfl |
| Save setup as.. |
| Exit |
| Exit from Minicom |
+--------------------------+

选择| Save setup as dfl |,然后选择 Exit from Minicom  重启minicom

这样就可以输入命令了。

0
0

查看评论
* 以上用户言论只代表其个人观点,不代表CSDN网站的观点或立场
    个人资料
    • 访问:2670077次
    • 积分:24075
    • 等级:
    • 排名:第281名
    • 原创:52篇
    • 转载:755篇
    • 译文:1篇
    • 评论:288条
    最新评论