<div dir="ltr"><div><div><div><div>Hi all,<br><br></div>Can anyone please advise the correct process for defining a USB device to point to a USB 2 Controller? Specifically, how do you define a USB device to use the EHCI controller in a guest xml file?<br>
<br></div>To summarize my problem:<br></div><br>I have 1 x USB1 device and 1 x USB2 device that I would like to use from within a Windows XP Guest. If I add the USB2 device (Avid M-box) to the guest machine via Virt-Manager it will not detect in the guest, when I check the libvirt logs for the VM it shows a "Device speed mismatch" error. Which leads me to think that its attaching itself to the default UHCI controller, as the USB1 device functions correctly.<br>
<br></div><div>I've followed a similar post on the list here which seems to detail what I am trying to achieve:<br><a href="https://www.redhat.com/archives/libvirt-users/2012-June/msg00139.html">https://www.redhat.com/archives/libvirt-users/2012-June/msg00139.html</a><br>
<br><div>I have tried using the controller type and model as below, however, when I try and define the "port" option, it
 disappears from the configuration file and won't attach to the EHCI 
controller.</div><div><pre><controller type='usb' index='0' model='ich9-ehci' /<br></pre></div></div><div>I've done some searching but can't find any information on how to specifically assign a USB device to a certain controller. <br>
</div><div>Any information or guides you could provide would be much appreciated.<br></div><br><div>I'm using RHEL 6.4 with latest updates available.<br></div><div><span style="font-family:courier new,monospace">qemu-kvm-0.12.1.2-2.355.el6.4.7<br>
</span></div><div><span style="font-family:courier new,monospace">libvirt-0.10.2-18.el6 4.9</span><br><br></div><div>I'm currently defining the USB2 device like this:<br></div><div><span style="font-family:courier new,monospace"><hostdev mode='subsystem' type='usb' managed='yes'<br>
</span></div><div><span style="font-family:courier new,monospace">         <source><br></span></div><div><span style="font-family:courier new,monospace">            <vendor id='0x0763' /><br></span></div>
<div><span style="font-family:courier new,monospace">            <product id='0x202a' /><br></span></div><div><span style="font-family:courier new,monospace">            <address bus='1' device='3' /><br>
</span></div><div><span style="font-family:courier new,monospace">         </source><br></span></div><div><span style="font-family:courier new,monospace"></hostdev><br></span></div><div><br></div><div>Thank you in advance for your assistance.<br>
<br>Kind Regards,<br>Cameron<br></div><div><br></div><br><div><div><div><div><br></div></div></div></div></div>