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.
 
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.

Hello :)
I also have this problem after upgrading ProxMox to version 2.3 or install it on a clean server.
To resolve this (for example your machine has a number ID 100):
lsusb
qm set 100 -usb0 host=vendorID:productID
After run command in configfile 100.conf auto add row of parameters
usb0: host=vendorID:productID
After on/off VM you must have your usb-device in your VM-100

Best regards ;)
 
Last edited:

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!