I am trying to configure a Ubuntu 12.04 VM to use a physical serial port on host. When configuring the serial port in vSphere, I am presented with two options – uart0 and uart1. From what I can see, there is only one physical serial port. How am I to determine which one to use? Also should “Connected” and “Yield CPU on poll” be checked in order for this to work?
I have been testing with both as I do not know which one should be selected. Both give identical results. Running “dmesg | grep ttyS” shows that the serial port(s) are both being loaded on start up. To my knowledge ttyS0 and ttyS1 correspond with COM1 and COM2. Why are there two and how can I tell which one works?
To my knowledge, the user and group for ttyS0 and ttyS1 should be root:dialout. However, on the reboot, the group for ttyS0 resets back to tty – regardless of how many times I change it. Why does this happen?
If anyone can provide any assistance on this it would be greatly appreciated.