setserial /dev/ttyS2 port 0x3e8 UART 16550A irq 10 发送数据 echo abcdefg > /dev/ttyS2 转载于:https://www.cnblogs.com/sankye/p/4757678.html