December 23, 20223 yr Running ubuntu 22.04 on a Celeron N4020 mini-pc. I set up a VM using KVM virtual Machine Manager. I am having trouble attaching needed USB devices to it. there are 4 USB ports, two each USB2 and 3. I can attach 3 devices (002, 003, and 004 in attached file) but when I try to attach a 4th device Manager says "no free ports." Can I fix that? I need to attach the bluetooth, which is internal to the pc and the USB device listed under IMC Networks. Thanks for any help.
December 24, 20223 yr This is an Unraid forum, suggest you look for an Ubuntu forum to have a better chance of getting some help.
December 24, 20223 yr Solution 12 hours ago, modernhistorian said: Running ubuntu 22.04 on a Celeron N4020 mini-pc. I set up a VM using KVM virtual Machine Manager. I am having trouble attaching needed USB devices to it. there are 4 USB ports, two each USB2 and 3. I can attach 3 devices (002, 003, and 004 in attached file) but when I try to attach a 4th device Manager says "no free ports." Can I fix that? I need to attach the bluetooth, which is internal to the pc and the USB device listed under IMC Networks. Thanks for any help. Standard USB has only 4 ports so you may need to change the driver and one is the root port so only 3 usable. Change to use xhci driver to see if that helps. -device '{"driver":"qemu-xhci","p2":15,"p3":15,"id":"usb","bus":"pcie.0","addr":"0x7"}' or Libvirt <controller type='usb' index='0' model='qemu-xhci' ports='15'> <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0'/> </controller> Edited December 24, 20223 yr by SimonF
December 24, 20223 yr Author 6 hours ago, SimonF said: Standard USB has only 4 ports so you may need to change the driver and one is the root port so only 3 usable. Change to use xhci driver to see if that helps. -device '{"driver":"qemu-xhci","p2":15,"p3":15,"id":"usb","bus":"pcie.0","addr":"0x7"}' or Libvirt <controller type='usb' index='0' model='qemu-xhci' ports='15'> <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0'/> </controller> I went to Controller USB 0 (stopped the VM first) and changed the dropdown to USB3. Looking at the XML, it was as you wrote above. Restarted the VM and was able to add my bluetooth. Thank you very much, and Merry Christmas!
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.