Introduction - If you have any usage issues, please Google them yourself
Linux serial driver level design and interface, and pointed out that the level of association between the serial TTY terminal (serial port can be used for TTY terminal), and interrupt handling mechanism under Linux/interrupt sharing mechanism, as well as the serial buffer mechanism involving soft interrupt mechanism