Bug 731719

Summary: virt-manager doesn't display USB devices properly
Product: Red Hat Enterprise Linux 5 Reporter: olaf
Component: virt-managerAssignee: Cole Robinson <crobinso>
Status: CLOSED DUPLICATE QA Contact: Virtualization Bugs <virt-bugs>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 5.6CC: mzhan, rwu, zpeng
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-08-22 02:44:48 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description olaf 2011-08-18 13:06:07 UTC
Description of problem:

When I want to add a physical USB device to the guest, the virt-manager presents all devices as "0000:0000 USB Raw Device Access"

But lsusb gives correctly:

Bus 003 Device 001: ID 0000:0000  
Bus 001 Device 001: ID 0000:0000  
Bus 004 Device 001: ID 0000:0000  
Bus 005 Device 002: ID 1546:01a5 U-Blox AG 
Bus 005 Device 001: ID 0000:0000  
Bus 006 Device 001: ID 0000:0000  
Bus 007 Device 001: ID 0000:0000  
Bus 008 Device 001: ID 0000:0000  
Bus 002 Device 001: ID 0000:0000 

And even virsh reports the device:

virsh # nodedev-list --cap usb
usb_device_0_0_0000_00_1a_0
usb_device_0_0_0000_00_1a_0_if0
usb_device_0_0_0000_00_1a_1
usb_device_0_0_0000_00_1a_1_if0
usb_device_0_0_0000_00_1a_2
usb_device_0_0_0000_00_1a_2_if0
usb_device_0_0_0000_00_1a_7
usb_device_0_0_0000_00_1a_7_if0
usb_device_0_0_0000_00_1d_0
usb_device_0_0_0000_00_1d_0_if0
usb_device_0_0_0000_00_1d_1
usb_device_0_0_0000_00_1d_1_if0
usb_device_0_0_0000_00_1d_2
usb_device_0_0_0000_00_1d_2_if0
usb_device_0_0_0000_00_1d_7
usb_device_0_0_0000_00_1d_7_if0
usb_device_1546_1a5_noserial
usb_device_1546_1a5_noserial_if0
usb_device_1546_1a5_noserial_if1


Version-Release number of selected component (if applicable):
virt-manager-0.6.1-13.el5.centos
python-virtinst-0.400.3-11.el5
libvirt-0.8.2-15.el5_6.4
libvirt-python-0.8.2-15.el5_6.4


How reproducible:
Always

Steps to Reproduce:
1. Plug in a USB device
2. Try to connect this device to a virtual machine using virt-manager
  
Additional info:

If I add this device editing the .xml file by hand, it works well in the guest system.