
dev/ttyS0), or create a unix socket on the host side (use qm terminal to open a terminal connection). Any ideas how to do this?Ĭreate a serial device inside the VM (n is 0 to 3), and pass through a host serial device (i.e. Of the two python progarms that will be using pySerial, only one of them will respond back with anything. So what I plan on doing is have one python program read from a physical serial port, and then have it copy the EXACT data it received from the serial port to the virtual serial ports, where the other python programs can read it via pySerial API. From what I understand, you can not have two programs reading from the same serial port.


I have two python programs that need to read from the same serial port via pySerial API.
