I am trying to passthrough my USB Webcam into my Windows 7 Enterprise x86-64 QEMU/KVM guest, which is managed by virt-manager.

First I lookup the bus/device ID:

$ lsusb
Bus 002 Device 008: ID 046d:0825 Logitech, Inc. Webcam C270

Then I open the running guest in virt-manager and click Hardware Details > Add Hardware > USB Host Device and select the correct device ID. Here the first oddity shows up: virt-manager shows no name for the device, only the ID.

Immediately after I click "Finish", Windows 7 detects a new device being plugged in and installs a driver for it. Sadly it detects it as "NEC USB HUB", instead of as a webcam.

My question is:

  • How do I correctly passthrough a device from Linux to Windows, so that it shows up as a webcam there?

The host OS is Ubuntu 14.04 x86-64 and the guest is Windows 7 Enterprise x86-64, both having installed all updates.

Ubuntu runs Linux 3.13.0-43-generic, virt-manager 0.9.5-1ubuntu3 and qemu 2.0.0+dfsg-2ubuntu1.9.

During the installation of Windows, I installed the Windows virtio drivers version 0.1-94, and after the installation of Windows added the Windows spice-guest-tools version 0.74. Another oddity that the guest shows is that it is unable to shutdown after installing the spice-guest-tools.

This same question was already asked on Stack Overflow, which seems to be the wrong place for this type of questions.

3 Answers 3


This problem is caused because the virtual USB hubs default to USB 1.1 - if you change it to USB 2 before launching the VM the camera should appear ok. But USB 3+ devices still cause problems.


Check this link: https://bugzilla.redhat.com/show_bug.cgi?id=1135488 , quote from there:

There are too many usb devices. Four spice usb redirection slots. One usb tablet. Leaving only one usb port free, where qemu automagically plugs in a usb hub to avoid running out of usb ports. This is where the "nec usb hub" comes from. And as the emulated usb hub supports usb 1.1 only the webcam ends up on a slow port. This is where the speed mismatch comes from, which is root cause why the webcam doesn't show up in the guest.

The solution could be: Delete a couple of the USB redirector devices,

  • Thanks for this hint! In my case I configured only one usb-host-device and no usb-redirector at all. So I do not think the proposed solution is possible here.
    – devurandom
    Commented Jan 19, 2015 at 8:43

When using a USB redirector, devices such as a webcam, USB audio interface usually do not work correctly. Adding a webcam as a USB Host Device also won't help you. The only working solution I have found at the time of this answer is the use of an additional PCIe device that the webcam can be connected (PCIe card passthrough solution). Maybe an additional PCIe Gen3 x4 USB 3.2 card necessarily with IOMMU-support is right for you. Of course, a lot depends on the architecture of your system.

You will probably also encounter freezing of your guest machine. See GPU PASSTHROUGH TROUBLESHOOTING, namely: My guest machine freezes consequently my USB audio interface crashing (for passthrough solution using an additional PCIe Gen3 x4 USB 3.2 card).

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .