USB Port Mapping: Mapping a USB Hub

domsnet

New Member
Jul 29, 2013
4
0
1
I have a 7-port usb hub plugged into one of my host servers. Is it possible to map a hub to a guest so that any device I plug into it will be accessible by the guest?

Here is my lsusb:
lsusb -t
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=ehci_hcd/2p, 480M
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=ehci_hcd/2p, 480M
|__ Port 1: Dev 2, If 0, Class=hub, Driver=hub/6p, 480M
|__ Port 6: Dev 3, If 0, Class=hub, Driver=hub/6p, 480M
|__ Port 1: Dev 4, If 0, Class=HID, Driver=usbhid, 480M
|__ Port 1: Dev 4, If 1, Class=HID, Driver=usbhid, 480M
|__ Port 1: Dev 4, If 2, Class=HID, Driver=usbhid, 480M



Here's the view through qm:
info usbhost
Bus 1, Addr 2, Port 1, Speed 480 Mb/s
Hub: USB device 8087:0024
Bus 2, Addr 2, Port 1, Speed 480 Mb/s
Hub: USB device 8087:0024
Bus 1, Addr 3, Port 1.6, Speed 480 Mb/s
Hub: USB device 0624:0248, Gadget USB HUB
Bus 1, Addr 4, Port 1.6.1, Speed 480 Mb/s
Class 00: USB device 0624:0249, Keyboard/Mouse Function
Bus 2, Addr 4, Port 1.2, Speed 480 Mb/s
Hub: USB device 1a40:0201, USB 2.0 Hub [MTT]
Auto filters:
Bus 2, Addr *, Port 1.2, ID *:*

The hub is at 2-1.2. I currently have two devices (drives) connected to the usb hub.
 

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!