Linux中minicom终端无法输入的问题

2019独角兽企业重金招聘Python工程师标准>>> hot3.png

在使用minicom打开串口,出现无法回车进入到命令行模式输入命令,问题就在串口的配置中有个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 这样就可以输入命令了。

转载于:https://my.oschina.net/shelllife/blog/1528901

你可能感兴趣的:(Linux中minicom终端无法输入的问题)