USB Passthrough works only 1 time - then crash

fpdragon

Member
Feb 24, 2022
46
2
13
39
Hi,

I have several proxmox nodes that are working well.
I am using a Wifi USB Stick to temorary passthrough to defined VMs for installing updates over the internet. This concept works also quite well for me.

However, lately I took an old Fujitsu Siemens Machine, also with Proxmox to be used in the lab as a kind of test machine. Same setup but less ressources and just 2 VMs.
Here also the technique with USB passthrough the Wifi Stick is working, but just one time. I am able to remove the passthrough from the VM config and I can also add it back to the same or an other VM but doing so will cause the PVE GUI in freezing. Also no access to SSH.

I need to hard reset the node and afterwards everything works fine again.

The usb passthrough seems to work just one time on exactly this machine.
On other machines the same Wifi Stick works every time.

I am just guessing:
First I thought the stick may be not cleanly initialized on the second time. However, the same stick works on an other setup so the stick or it's drivers may not be the problem?
Then maybe it is something HW related with the USB controler?

Where to start?

Thanks!
 
If you use another USB-Device, like usb-networkcard, or an datastick, is then the same behavior?
 
Thanks for the answer.
Interesting question.

I now tested with
USB Mouse
USB Keyboard
USB to UART

All are working fine and can be passed trough multiple times without rebooting.

Maybe the combination with the Wifi Stick and the usb controller lead to troubles?
 
USB versions are greyed out for this device. Can't be selected.
This is probably because it is not a USB3 port or device. You can find this out with lsusb on the proxmox host.

Code:
lsusb -vvv
After search for your device. The parameter "bcdUSB" show you the version. You can also check it with "lsusb -t".

I have a USB 3.0 connection here, but the end device can only 2.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!