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