Navigation

    全志在线开发者论坛

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • 在线文档
    • 社区主页

    如何打开两个串口的终端

    MR Series
    1
    1
    963
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      missdangerous LV 4 last edited by

      启动完成之后,想把另外一个串口作为也同时作为终端输出,修改/etc/inittab 中增加一个ttyS5还是没有,是因为波特率的问题吗?inittab中能不能设置波特率

      ::sysinit:/etc/init.d/rcS S boot
      ::shutdown:/etc/init.d/rcS K shutdown
      tts/0::askfirst:/bin/ash --login
      ttyS0::askfirst:/bin/ash --login
      tty1::askfirst:/bin/ash --login
      ttyS5::askfirst:/bin/ash --login
      
      1 Reply Last reply Reply Quote Share 0
      • 1 / 1
      • First post
        Last post

      Copyright © 2024 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号

      行为准则 | 用户协议 | 隐私权政策