promeneur commented on issue #1613 at QEMU / QEMU

promeneur
2023-07-19T13:54:05Z

@sylv-io

Yes with xhci hub we can increase the quantity of ports.

Previously I used :

-device qemu-xhci,p2=5,p3=5,id=xhci

this means all 5 ports are usb 1,2,3 ports. I can use :

-device qemu-xhci,p2=5,p3=4,id=xhci

This means that port 1-4 are USB 1,2,3 ports and port 5 is an USB 2 port according to this doc

https://www.kraxel.org/blog/2018/08/qemu-usb-tips/

But I did not find any doc about how to assign the port 5 to the webcam.

I use till now this qemu option :

-device usb-host,vendorid=0x046d,productid=0x0942