Serial Port pass through

powder8

Member
Apr 25, 2021
12
0
6
47
Hy,

I need a serial port in a VM.

root@proxmox:~# dmesg | grep tty [ 0.167574] printk: console [tty0] enabled [ 0.522816] 0000:00:16.3: ttyS4 at I/O 0xf0a0 (irq = 19, base_baud = 115200) is a 16550A [ 5.113878] systemd[1]: Created slice system-getty.slice. root@proxmox:~#

So I have a serial port at ttyS4 ?! But if I add a serial port to the vm I only have port 0-3

44679524jt.png


Can please anyone give me a hint how to get a serial port in the vm?!

Thanks
 
I think that Add Serial Port adds a virtual serial port (of which there can be four), which is not what you want.
I expect that adding serial0: /dev/ttyS4 to the VM configuration file allows the VM to use the physical serial port (via the first virtual serial port with number 0).
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!