Option serial is ambiguous

eduardosilva

New Member
Sep 10, 2012
4
0
1
Hello,

I'm trying to add a serial port (usb adapter) to a KVM Guest (pve 3.3)

Code:
# qm set 100 -serial /dev/ttyUSB0 
Option serial is ambiguous (serial0, serial1, serial2, serial3)
400 unable to parse option

Any ideas or suggestions?

Thank you
 
Just as an update,

Maybe the problem is related to the name /dev/ttyUSB0?

I manually added
Code:
args: -serial /dev/ttyUSB0
to 100.conf and after powering off/on the Serial port was correctly mapped :)

Thanks
 
Cheers dietmar,

Simply use:

# qm set 100 -serial0 /dev/ttyUSB0

I've tried that before posting, also didn't worked. The error is a bit different
Code:
# qm set 100 -serial0 /dev/ttyUSB0
400 Parameter verification failed.
serial0: value does not match the regex pattern
qm set <vmid> [OPTIONS]

Same issue with 1,2 and 3 :p

Hand editing the vm conf file did the trick.

Maybe qm set is expecting for a device like /dev/ttyS[0-9] ?


Thank you :)
 

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!