QEMU USB passthrough -device usb-host: drive exists Announcing the arrival of Valued Associate...

Active filter with series inductor and resistor - do these exist?

Simulating Exploding Dice

New Order #5: where Fibonacci and Beatty meet at Wythoff

What to do with post with dry rot?

Cold is to Refrigerator as warm is to?

How to say 'striped' in Latin

Statistical model of ligand substitution

Determine whether f is a function, an injection, a surjection

Can I add database to AWS RDS MySQL without creating new instance?

Typsetting diagram chases (with TikZ?)

Classification of bundles, Postnikov towers, obstruction theory, local coefficients

Was credit for the black hole image misattributed?

What LEGO pieces have "real-world" functionality?

What can I do if my MacBook isn’t charging but already ran out?

3 doors, three guards, one stone

How do I automatically answer y in bash script?

Did the new image of black hole confirm the general theory of relativity?

Why is there no army of Iron-Mans in the MCU?

How to say that you spent the night with someone, you were only sleeping and nothing else?

What is the order of Mitzvot in Rambam's Sefer Hamitzvot?

Is 1 ppb equal to 1 μg/kg?

Using "nakedly" instead of "with nothing on"

When communicating altitude with a '9' in it, should it be pronounced "nine hundred" or "niner hundred"?

What do you call a plan that's an alternative plan in case your initial plan fails?



QEMU USB passthrough -device usb-host: drive exists



Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)USB passthrough for QEMU gets error “qemu: could not add USB device”low usb speed file transfer using KVM host CentOsvga-passthrough with kvm/qemu on optimus-capable laptopNeed qemu to run headless on host, but still forward graphical output via x11QEMU/KVM: USB3 passthrough to FreeBSDlibvirt - ssh into qemu/kvm host from Fedora 23Qemu KVM Passthrough - could not add USB deviceQemu: Is it possible to have BOTH the virtual display and VGA passthrough in a Windows guest?Unable to do USB passthrough with QEMUQemu pci passthrough with a black screenVFIO permission issue with dGPU passthrough





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ height:90px;width:728px;box-sizing:border-box;
}







0















I am using Qemu, running on an Arch Host to use a Windows VM, and I need to passthrough the webcam. It is an integrated webcam using USB>=2.



lsusb yields for this device
Bus 001 Device 002: ID 0c45:6723 Microdia



Here is the script I am using (win-start.sh):



#! /bin/bash
sudo qemu-system-x86_64
-m 8G
-enable-kvm -cpu host -smp cores=4
-vga virtio -display sdl,gl=on
-drive file=win,format=raw
-device nec-usb-xhci
-device usb-host,hostbus=1,hostaddr=2
2>&1 win.log


But this stops with:
qemu-system-x86_64: -device usb-host,hostbus=1,hostaddr=2: drive with bus=0, unit=0 (index=0) exists

And I cannot find where the error is. The VM boots without a problem when I remove the 2 -device lines.



This script is based on what I could find there :
https://superuser.com/a/1077369/1021190



And the folder is setup as such:



ls -lh win*
-rw-r--r-- 1 soulthym users 128G Apr 13 19:34 win
-rw-r--r-- 1 soulthym users 4.4G Apr 11 20:28 win.iso
-rw-r--r-- 1 soulthym users 0 Apr 13 18:57 win.log
-rwxr-xr-x 2 soulthym users 297 Apr 13 19:57 win-start.sh









share|improve this question









New contributor




Soulthym is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.



























    0















    I am using Qemu, running on an Arch Host to use a Windows VM, and I need to passthrough the webcam. It is an integrated webcam using USB>=2.



    lsusb yields for this device
    Bus 001 Device 002: ID 0c45:6723 Microdia



    Here is the script I am using (win-start.sh):



    #! /bin/bash
    sudo qemu-system-x86_64
    -m 8G
    -enable-kvm -cpu host -smp cores=4
    -vga virtio -display sdl,gl=on
    -drive file=win,format=raw
    -device nec-usb-xhci
    -device usb-host,hostbus=1,hostaddr=2
    2>&1 win.log


    But this stops with:
    qemu-system-x86_64: -device usb-host,hostbus=1,hostaddr=2: drive with bus=0, unit=0 (index=0) exists

    And I cannot find where the error is. The VM boots without a problem when I remove the 2 -device lines.



    This script is based on what I could find there :
    https://superuser.com/a/1077369/1021190



    And the folder is setup as such:



    ls -lh win*
    -rw-r--r-- 1 soulthym users 128G Apr 13 19:34 win
    -rw-r--r-- 1 soulthym users 4.4G Apr 11 20:28 win.iso
    -rw-r--r-- 1 soulthym users 0 Apr 13 18:57 win.log
    -rwxr-xr-x 2 soulthym users 297 Apr 13 19:57 win-start.sh









    share|improve this question









    New contributor




    Soulthym is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.























      0












      0








      0








      I am using Qemu, running on an Arch Host to use a Windows VM, and I need to passthrough the webcam. It is an integrated webcam using USB>=2.



      lsusb yields for this device
      Bus 001 Device 002: ID 0c45:6723 Microdia



      Here is the script I am using (win-start.sh):



      #! /bin/bash
      sudo qemu-system-x86_64
      -m 8G
      -enable-kvm -cpu host -smp cores=4
      -vga virtio -display sdl,gl=on
      -drive file=win,format=raw
      -device nec-usb-xhci
      -device usb-host,hostbus=1,hostaddr=2
      2>&1 win.log


      But this stops with:
      qemu-system-x86_64: -device usb-host,hostbus=1,hostaddr=2: drive with bus=0, unit=0 (index=0) exists

      And I cannot find where the error is. The VM boots without a problem when I remove the 2 -device lines.



      This script is based on what I could find there :
      https://superuser.com/a/1077369/1021190



      And the folder is setup as such:



      ls -lh win*
      -rw-r--r-- 1 soulthym users 128G Apr 13 19:34 win
      -rw-r--r-- 1 soulthym users 4.4G Apr 11 20:28 win.iso
      -rw-r--r-- 1 soulthym users 0 Apr 13 18:57 win.log
      -rwxr-xr-x 2 soulthym users 297 Apr 13 19:57 win-start.sh









      share|improve this question









      New contributor




      Soulthym is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.












      I am using Qemu, running on an Arch Host to use a Windows VM, and I need to passthrough the webcam. It is an integrated webcam using USB>=2.



      lsusb yields for this device
      Bus 001 Device 002: ID 0c45:6723 Microdia



      Here is the script I am using (win-start.sh):



      #! /bin/bash
      sudo qemu-system-x86_64
      -m 8G
      -enable-kvm -cpu host -smp cores=4
      -vga virtio -display sdl,gl=on
      -drive file=win,format=raw
      -device nec-usb-xhci
      -device usb-host,hostbus=1,hostaddr=2
      2>&1 win.log


      But this stops with:
      qemu-system-x86_64: -device usb-host,hostbus=1,hostaddr=2: drive with bus=0, unit=0 (index=0) exists

      And I cannot find where the error is. The VM boots without a problem when I remove the 2 -device lines.



      This script is based on what I could find there :
      https://superuser.com/a/1077369/1021190



      And the folder is setup as such:



      ls -lh win*
      -rw-r--r-- 1 soulthym users 128G Apr 13 19:34 win
      -rw-r--r-- 1 soulthym users 4.4G Apr 11 20:28 win.iso
      -rw-r--r-- 1 soulthym users 0 Apr 13 18:57 win.log
      -rwxr-xr-x 2 soulthym users 297 Apr 13 19:57 win-start.sh






      qemu linux-kvm usb-2






      share|improve this question









      New contributor




      Soulthym is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.











      share|improve this question









      New contributor




      Soulthym is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      share|improve this question




      share|improve this question








      edited yesterday







      Soulthym













      New contributor




      Soulthym is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      asked yesterday









      SoulthymSoulthym

      1




      1




      New contributor




      Soulthym is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.





      New contributor





      Soulthym is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






      Soulthym is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






















          0






          active

          oldest

          votes












          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "3"
          };
          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',
          autoActivateHeartbeat: false,
          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
          });


          }
          });






          Soulthym is a new contributor. Be nice, and check out our Code of Conduct.










          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1425042%2fqemu-usb-passthrough-device-usb-host-drive-exists%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes








          Soulthym is a new contributor. Be nice, and check out our Code of Conduct.










          draft saved

          draft discarded


















          Soulthym is a new contributor. Be nice, and check out our Code of Conduct.













          Soulthym is a new contributor. Be nice, and check out our Code of Conduct.












          Soulthym is a new contributor. Be nice, and check out our Code of Conduct.
















          Thanks for contributing an answer to Super User!


          • 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%2fsuperuser.com%2fquestions%2f1425042%2fqemu-usb-passthrough-device-usb-host-drive-exists%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

          Why not use the yoke to control yaw, as well as pitch and roll? Announcing the arrival of...

          Couldn't open a raw socket. Error: Permission denied (13) (nmap)Is it possible to run networking commands...

          VNC viewer RFB protocol error: bad desktop size 0x0I Cannot Type the Key 'd' (lowercase) in VNC Viewer...