Hi all,
Environment
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
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
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
- Disabled USB autosuspend on both the PVE host and inside the Debian guest (usbcore.autosuspend=-1).
- Verified qemu-guest-agent is enabled and vzdump uses --mode snapshot on ZFS local storage.
- Tested usb3=1 vs usb3=0 on usb0—resets still happen intermittently during backup freeze/thaw or heavy disk sync.