pass external usb3.0 hdd to vm (kvm)

copymaster

Member
Nov 25, 2009
183
0
16
hi!
I have a server with usb3.0 and a toshiba external USB3.0 harddisk.

Tried to edit config of vm with values:

usb0: hostusb=0480:a006

But then the vm (windows7) says "unknown device" and i can nit use the disk

I read in the wiki about passing USB3.0 devices to vm and tried the line

(from: https://pve.proxmox.com/wiki/USB_Devices_in_Virtual_Machines)

qm set <number of vm> -args "-device nec-usb-xhci,id=xhci,addr=0x5 -device usb-host,bus=xhci.0,vendorid=0x0480,productid=0xa006"

I restartet the vm and plugged in the USB3.0 harddisk

But windows7 does not do anything, no errormessage, nothing.

when i check qm monitor <vm-number> and do an
info usb

i get:
qm> info usb
Device 0.1, Port 1, Speed 5000 Mb/s, Product External USB 3.0
Device 1.1, Port 1, Speed 12 Mb/s, Product QEMU USB Tablet

So it seems like the device is passed through the vm, but it does not see it

I have another USB HDD on the physical Server which is used by the proxmox OS for syncing the backups.

Maybe the value addr=0x5 is a problem here? I also tried with addr=0x6

After rebooting with these settings i have a new device USB (universal serial bus)-controller but windows does not find any drivers. Can i get the drivers somewhere?

Also tested:

qm monitor <vm-number>
device_add usb-host,vendorid=0x0480,productid=0xa006

Then windows 7 says unknown device an a new device under USB-COntroller appears in device manager. Same here, i can not find any driver to get it working





Please help.
 
Last edited: