USB physical port mapping: Mistake in Proxmoxwiki?

fireon

Distinguished Member
Oct 25, 2010
4,135
390
153
42
Austria/Graz
iteas.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
 
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".
 

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!