USB tethering makes VM stop

albertoZurini

Member
Dec 7, 2019
19
0
21
24
I've added a USB device to my VM (via BUS id) and when I connect my mobile phone it gets correctly detected by the VM. Then I turn on USB tethering and the VM doesn't see it (no new network interface is being created), eventually when I turn off tethering the VM stops without anything being logged by PVE.

PVE version:
Code:
pve-manager/6.1-8/806edfe1 (running kernel: 5.3.18-3-pve)

The VM is running Ubuntu 20.04, but I've faced the same issue on an OpenWRT VM.
 
I've added a USB device to my VM (via BUS id) and when I connect my mobile phone it gets correctly detected by the VM. Then I turn on USB tethering and the VM doesn't see it (no new network interface is being created), eventually when I turn off tethering the VM stops without anything being logged by PVE.

PVE version:
Code:
pve-manager/6.1-8/806edfe1 (running kernel: 5.3.18-3-pve)

The VM is running Ubuntu 20.04, but I've faced the same issue on an OpenWRT VM.


Seems to be a bug in PVE 6: in case of assigning an usb device via bus id a possible Device-ID change (this is what happens when activating tethering) it is not correctly processed for the VM.

But it works if you specify the device by its Vednor-ID and tethering Device ID.