USB physical port mapping: Mistake in Proxmoxwiki?

fireon

Distinguished Member
Oct 25, 2010
4,593
543
183
Austria/Graz
deepdoc.at
Hi,

I've added some usbdongel to an windowsguest. But the description from the wiki: http://pve.proxmox.com/wiki/USB_physical_port_mapping
looks not correct. When i testet Option

usb0: host=3-1

It show me an wrong device. But when ein do something like this:

usb0: host=0e50:0002

It works pretty good.

Greetings
fireon
 
Hi,

I've added some usbdongel to an windowsguest. But the description from the wiki: http://pve.proxmox.com/wiki/USB_physical_port_mapping
looks not correct. When i testet Option

usb0: host=3-1

It show me an wrong device. But when ein do something like this:

usb0: host=0e50:0002

It works pretty good.

Greetings
fireon

> usb0: host=0e50:0002
That connects usb device to a VM but not a specific physical port.

> usb0: host=3-1
this maps the specific physical port to a VM
 
So you mean the USBport from the host is after that only for this "one" VM?
 
See: man qm

Code:
-usb[n]    host=HOSTUSBDEVICE

                    Configure an USB device (n is 0 to 4). This can be used to
                    pass-through usb devices to the guest. HOSTUSBDEVICE syntax
                    is:

                    '[B]bus-port[/B]' (decimal numbers) or
                    '[B]vendor_id[/B]:[B]product_id[/B]' (hexadeciaml numbers)

                    You can use the 'lsusb -t' command to list existing usb
                    devices.

                    Note: This option allows direct access to host hardware. So it
                    is no longer possible to migrate such machines - use with
                    special care.
 
See: man qm

Code:
-usb[n]    host=HOSTUSBDEVICE

                    Configure an USB device (n is 0 to 4). This can be used to
                    pass-through usb devices to the guest. HOSTUSBDEVICE syntax
                    is:

                    '[B]bus-port[/B]' (decimal numbers) or
                    '[B]vendor_id[/B]:[B]product_id[/B]' (hexadeciaml numbers)

                    You can use the 'lsusb -t' command to list existing usb
                    devices.

                    Note: This option allows direct access to host hardware. So it
                    is no longer possible to migrate such machines - use with
                    special care.

When I say physical port mapping to a VM I mean not just host port mapping to a VM but "one specific physical port" to "one port in VM".