zoukankan      html  css  js  c++  java
  • 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

    这样就可以输入命令了。


  • 相关阅读:
    log4j(七)——log4j.xml简单配置样例说明
    log4j(六)——log4j.properties简单配置样例说明
    三元运算符注意事项
    单精度浮点数操作
    反转链表算法Java实现
    VBS计时器2
    肖申克的救赎影评
    计算机中K到底是1000还是1024?
    二进制补码除法——计算机底层整数除法模拟之Java实现
    VBS计时器
  • 原文地址:https://www.cnblogs.com/lyyyuna/p/4123938.html
Copyright © 2011-2022 走看看