ttyS
和ttyM
串行设备有什么区别?
它们都可以通过setserial
和ttys
配置吗?
发布于 2017-03-18 17:53:17
ttyS
是最初的“标准”串行设备;ttyM
是更新的(不是唯一的串行设备)。MAKEDEV
手册页总结了清单(最初在Linux文档/drivers.txt中,但现在在其他地方作为“Linux分配设备列表”):
SERIAL DEVICES
ttyS{0..63}
Standard serial ports. There is no group keyword, you must
specify these individually. However ttyS{0..3} are created under
the generic option for most architectures.
和
PAM or ttyM
Creates PAM multimodem (or ISI serial card) ports ttyM{0..15}.
快速浏览一下就会发现人们确实使用setserial
和ttyM
.
https://unix.stackexchange.com/questions/351884
复制相似问题