Proxmox 2.3 : issue with usb forwarding

it-christian

New Member
Mar 6, 2013
4
0
1
Russia
Hello everyone.

Please help us in case you are advanced or expert in usb forwarding in proxmox / qemu-kvm.

We have had worked with usb-hub on previous version of proxmox 2.2.

All guest machines were possible to attach any usb device connected to hub.
We have used command "usb_add host:1.6" (bus.addr) in console of qemu without any troubles.
Everything was good even after restart of VM host.

Our colleagues have successfully used variant with specific parameters in the configuration file of vm-host like that:
args: -device usb-host,hostbus=1,hostport=5.3

The trouble appeared after the update to proxmox 2.3 and qemu-kvm to 1.4.0

As I know some new features with USB support has been realized in kvm 1.4
But for now we could not use both methods mentioned before.

It looks USB-hub is no longer avaliable in VM host.

The bash console in proxmox 2.2 VM host show in the past:

root@vmhost:~# lsusb
Bus 001 Device 003: ID 0409:55aa NEC Corp. Hub
Bus 001 Device 002: ID 0627:0001 Adomax Technology Co., Ltd
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

and for now (proxmox 2.3) it is not the same

root@vmhost:~# lsusb
Bus 001 Device 002: ID 0627:0001 Adomax Technology Co., Ltd
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub


To the attempt of attaching new device with correct adress qemu console responses
"could not add USB device 'host:1.6'"

and no one method in the configuration file is not positive (we have tried several).
All string started with args are confusing the VM load (Error: unexpected status). Any other variants with combining keys like '-usb', '-usbdevice', '-device' are not opening neither usb devices nor hub.

Our internal VM farm is paralyzed. ;)

Could you please help ? It is not good variant to downgrade to old version of proxmox.

Thank you in advance.
 
As i understand, usb_add is deprecatred since Proxmox 2.3-13

Try this:

qm> info usbhost
Bus 2, Addr 3, Port 2, Speed 480 Mb/s
Class 00: USB device 0930:6545, DataTraveler G3

qm> device_add usb-host,hostbus=2,hostport=3

qm> info usb
Device 0.3, Port 2.1, Speed 480 Mb/s, Product DataTraveler G3

it's worked for me.
 
I am sorry but not worked for me.

Do anybody know how to add USB-device in proxmox 2.3 monitor (console of VM admin in the frontend)?
It was very useful in 2.2 because it was available form web-interface and the restart of VM has not been necessary.
 
Last edited:
As i understand, usb_add is deprecatred since Proxmox 2.3-13

Try this:

qm> info usbhost
Bus 2, Addr 3, Port 2, Speed 480 Mb/s
Class 00: USB device 0930:6545, DataTraveler G3

qm> device_add usb-host,hostbus=2,hostport=3

qm> info usb
Device 0.3, Port 2.1, Speed 480 Mb/s, Product DataTraveler G3

it's worked for me.

how to execute the command automatically at start up without going into "qm monitor"? thanks ...
 

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!