我已经在运行 Debian Wheezy 的机器上通过 ttyS9 将仪器连接到 /dev/ttyS1。各种仪器以不同的速度进行通信。
有没有更好的方法来设置波特率而不是像
stty -F /dev/ttyS1 19200 raw -echo stty -F /dev/ttyS2 4800 raw -echo etc...
在 rc.local 中?
boot debian tty
boot ×1
debian ×1
tty ×1