minicom无法输入问题

在使用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

这样就可以输入命令了。


你可能感兴趣的:(linux,ARM)