attaching usb 2.0 (or 3) host device fails

Bug #1727313 reported by Christian Ehrhardt 
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
libvirt (Ubuntu)
Opinion
Undecided
Unassigned

Bug Description

While verifying bugs related to usb passthrough I found that the default config can have issues with more modern USB devices.

Summary:
- for compatibility (with guests OSes) the default usb controller libvirt adds is a usb 1.1 controller
- If you want to attach a device that is USB >=2.0 only it will fail
- You can modify (or add) the usb controller to be of a newer type e.g. ich9-ehci1 then it will work

See [1] for more details

[1]: https://libvirt.org/formatdomain.html#elementsControllers

Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

Tools that try to simplify for the user like virt-manager already define a whole array of usb controllers (that is one of the effects when you select the Guest OS to be a modern Linux).

Libvirt as core helper has to rely on the lowest denominator unless otherwise instructed.

This bug was mostly for documentation, I think it would be wrong to change the default and break older guests. So closing as opinion, but now available for others to find - and the suggestion to add such a controller might help a few people.

Changed in libvirt (Ubuntu):
status: New → Opinion
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.