KVM USB-to-RS485 passthrough resets during vzdump backups

tekhabeeb

New Member
Nov 25, 2026
2
0
1
Hi all,

Environment
  • Proxmox: PVE 8.4 / 9.0 (Intel NUC / ThinkCentre node)
  • VM: Debian 12 KVM guest (VM 112, q35, usb0: host=0403:6001,usb3=0)
  • Attached Hardware: FTDI FT232RL USB-to-RS485 adapter wired to physical locker solenoid boards
We host the local controller for an on-prem smart locker system inside a Debian 12 KVM VM (VM 112), which polls 4 RS485 lock-control boards at 9600 baud to handle badge/QR compartment unlocks and door-sensor telemetry.

SymptomThe serial link runs cleanly all day, except during nightly vzdump snapshot backups (or brief host I/O spikes), when QEMU USB passthrough resets the FTDI device inside the guest and drops active RS485 polling until our daemon reopens /dev/ttyUSB0.

Guest dmesg:

text

[28419.104822] usb 1-1: reset full-speed USB device number 2 using xhci_hcd
[28419.261015] ftdi_sio ttyUSB0: FTDI USB Serial Device converter now disconnected from ttyUSB0
[28419.261490] ftdi_sio 1-1:1.0: device disconnected
Relevant qm config 112 excerpt:

text

bios: ovmf
machine: q35
scsihw: virtio-scsi-single
usb0: host=0403:6001

What we've tried
  1. Disabled USB autosuspend on both the PVE host and inside the Debian guest (usbcore.autosuspend=-1).
  2. Verified qemu-guest-agent is enabled and vzdump uses --mode snapshot on ZFS local storage.
  3. Tested usb3=1 vs usb3=0 on usb0—resets still happen intermittently during backup freeze/thaw or heavy disk sync.
For latency-sensitive RS485 serial hardware on Proxmox VE, is it more reliable to pass the host serial TTY directly with qm set 112 -serial0 /dev/ttyUSB0 (or bind an entire PCIe USB controller via VFIO) rather than using QEMU's usb0 device passthrough?
 
Hello, if the box has a USB controller you can spare, passing the whole controller through with VFIO takes QEMU's USB emulation out of the picture. Another way people go is a small RS485 to Ethernet converter, then backups don't touch the serial link at all.