LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Virtualization and Cloud (http://www.linuxquestions.org/questions/linux-virtualization-and-cloud-90/)
-   -   USB redirection issues on WinXP guest, KVM host (created with virt-manager) (http://www.linuxquestions.org/questions/linux-virtualization-and-cloud-90/usb-redirection-issues-on-winxp-guest-kvm-host-created-with-virt-manager-4175445906/)

gradinaruvasile 01-16-2013 12:26 PM

USB redirection issues on WinXP guest, KVM host (created with virt-manager)
 
Hello. I recently migrated from VirtualBox to KVM. I created the VMs with virt-manager.
All works well, except certain redirected USB host devices are not recognized in Windows XP guest. Others work.
Booting the same guest from a live Debian dvd image has no issues with the devices in question.
One problematic device is a webcam:
Code:

ID 1871:0101 Aveo Technology Corp.
This presents itself as "USB 2.0 Webcam".
Also, connecting USB flash disks usually dont work on Windows XP.

Another webcam works:
Code:

ID 0ac8:305b Z-Star Microelectronics Corp. ZC0305 Webcam
This seems to be a USB 1.1 webcam.

The UHCI and EHCI devices are visible on the guest. I even installed the Intel ICH9 drivers for both UHCI and EHCI, but nothing changed. The guest is fully patched.

After connecting the device, a message appears that a USB device is detected, then another saying that the device malfunctioned.
In the hardware tree appears as "Unknown device", the devices ID is not visible, SIV (System information viewer) says "Device failed enumeration".

Given that Linux guests dont have these issues, i assume this is something related to Windows XPs handling of the USB devices.
Maybe it has issues with devices that are USB 2.0.

Anyone had this issue?

Edit: It seems that this issue is Windows XP only as Win7 can access all USB devices so far.

gradinaruvasile 03-13-2013 02:56 AM

Ok. The issue solved itself it seems after i upgraded both libvirt and kvm to the latest versions found in the Debian Experimental repos (actually removed kvm and installed a newer qemu that replaces kvm).

Now i have:
Code:

qemu: 1.4.0+dfsg-1exp
libvirt0: 1.0.3-1

Mind you, these are Debian's versioning, in essence qemu is at 1.4 and libvirt is at 1.0.3.
Additionally there are additional packages (in Debian at least) such as python-libvirt, libvirt-bin, libnetcf1 that have to be upgraded too (these are the above packages dependencies so they will prompt for upgrade).


All times are GMT -5. The time now is 01:33 AM.