QEMU/KVM/Virt-Manager: Passthrough of USB Webcam to Windows 7 Enterprise creates “NEC USB HUB”











up vote
1
down vote

favorite












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.










share|improve this question




























    up vote
    1
    down vote

    favorite












    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.










    share|improve this question


























      up vote
      1
      down vote

      favorite









      up vote
      1
      down vote

      favorite











      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.










      share|improve this question















      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.







      usb windows-7 webcam qemu virt-manager






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited May 23 '17 at 12:39









      Community

      1




      1










      asked Dec 23 '14 at 16:20









      devurandom

      1116




      1116






















          2 Answers
          2






          active

          oldest

          votes

















          up vote
          0
          down vote













          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,






          share|improve this answer





















          • 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
            Jan 19 '15 at 8:43


















          up vote
          0
          down vote













          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.






          share|improve this answer





















            Your Answer








            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "89"
            };
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function() {
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled) {
            StackExchange.using("snippets", function() {
            createEditor();
            });
            }
            else {
            createEditor();
            }
            });

            function createEditor() {
            StackExchange.prepareEditor({
            heartbeatType: 'answer',
            convertImagesToLinks: true,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            imageUploader: {
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            },
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            });


            }
            });














            draft saved

            draft discarded


















            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f564708%2fqemu-kvm-virt-manager-passthrough-of-usb-webcam-to-windows-7-enterprise-creates%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            2 Answers
            2






            active

            oldest

            votes








            2 Answers
            2






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes








            up vote
            0
            down vote













            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,






            share|improve this answer





















            • 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
              Jan 19 '15 at 8:43















            up vote
            0
            down vote













            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,






            share|improve this answer





















            • 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
              Jan 19 '15 at 8:43













            up vote
            0
            down vote










            up vote
            0
            down vote









            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,






            share|improve this answer












            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,







            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered Jan 18 '15 at 7:31









            kevin Chen

            1




            1












            • 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
              Jan 19 '15 at 8:43


















            • 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
              Jan 19 '15 at 8:43
















            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
            Jan 19 '15 at 8:43




            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
            Jan 19 '15 at 8:43












            up vote
            0
            down vote













            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.






            share|improve this answer

























              up vote
              0
              down vote













              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.






              share|improve this answer























                up vote
                0
                down vote










                up vote
                0
                down vote









                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.






                share|improve this answer












                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.







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Dec 16 '15 at 21:37









                David Kohen

                11




                11






























                    draft saved

                    draft discarded




















































                    Thanks for contributing an answer to Ask Ubuntu!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid



                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.


                    To learn more, see our tips on writing great answers.





                    Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


                    Please pay close attention to the following guidance:


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid



                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.


                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function () {
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f564708%2fqemu-kvm-virt-manager-passthrough-of-usb-webcam-to-windows-7-enterprise-creates%23new-answer', 'question_page');
                    }
                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    Ellipse (mathématiques)

                    Quarter-circle Tiles

                    Mont Emei