qemu usb mouse passthrough to windows 10 guest

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
0
down vote

favorite












Trying to passthrough a usb mouse with qemu 2.0 fails however I try it. What I have tried so far:



  • evdev passthrough:
    -object input-linux,id=mouse,evdev=/dev/input/by-id/usb-413c_Dell_Premium_USB_Optical_Mouse-event-mouse

  • usb passthrough with xhci emulation:
    -device nec-usb-xhci,id=xhci
    -device usb-host,bus=xhci.0,vendorid=0x413c,productid=0x3016


I've also tried to pass the whole controller with vfio but with no success. The closest I've got to success was with evdev and usb controller where I can see the mouse in the windows guest device manager listed as HID compliant mouse but I cannot interact with it. The device manager recognize the mouse and says it is working properly but trying to move the mouse around or click through rdp does not work. Unchecking Allow the computer to turn off this device to save power changes nothing.

I'm not using libvirt.

I only have usb3.0 ports on my machine and changing the controller to ehci or uhci does not work either.



Update:

Connecting to the VM via vnc confirms that the mouse redirection through qemu is working however when connecting with RDP the mouse does not work anymore.



Update 1:

It appears that the mouse is only connected to the local session and microsoft disabled rdp to session 0 which would give access to physical session.







share|improve this question

























    up vote
    0
    down vote

    favorite












    Trying to passthrough a usb mouse with qemu 2.0 fails however I try it. What I have tried so far:



    • evdev passthrough:
      -object input-linux,id=mouse,evdev=/dev/input/by-id/usb-413c_Dell_Premium_USB_Optical_Mouse-event-mouse

    • usb passthrough with xhci emulation:
      -device nec-usb-xhci,id=xhci
      -device usb-host,bus=xhci.0,vendorid=0x413c,productid=0x3016


    I've also tried to pass the whole controller with vfio but with no success. The closest I've got to success was with evdev and usb controller where I can see the mouse in the windows guest device manager listed as HID compliant mouse but I cannot interact with it. The device manager recognize the mouse and says it is working properly but trying to move the mouse around or click through rdp does not work. Unchecking Allow the computer to turn off this device to save power changes nothing.

    I'm not using libvirt.

    I only have usb3.0 ports on my machine and changing the controller to ehci or uhci does not work either.



    Update:

    Connecting to the VM via vnc confirms that the mouse redirection through qemu is working however when connecting with RDP the mouse does not work anymore.



    Update 1:

    It appears that the mouse is only connected to the local session and microsoft disabled rdp to session 0 which would give access to physical session.







    share|improve this question























      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      Trying to passthrough a usb mouse with qemu 2.0 fails however I try it. What I have tried so far:



      • evdev passthrough:
        -object input-linux,id=mouse,evdev=/dev/input/by-id/usb-413c_Dell_Premium_USB_Optical_Mouse-event-mouse

      • usb passthrough with xhci emulation:
        -device nec-usb-xhci,id=xhci
        -device usb-host,bus=xhci.0,vendorid=0x413c,productid=0x3016


      I've also tried to pass the whole controller with vfio but with no success. The closest I've got to success was with evdev and usb controller where I can see the mouse in the windows guest device manager listed as HID compliant mouse but I cannot interact with it. The device manager recognize the mouse and says it is working properly but trying to move the mouse around or click through rdp does not work. Unchecking Allow the computer to turn off this device to save power changes nothing.

      I'm not using libvirt.

      I only have usb3.0 ports on my machine and changing the controller to ehci or uhci does not work either.



      Update:

      Connecting to the VM via vnc confirms that the mouse redirection through qemu is working however when connecting with RDP the mouse does not work anymore.



      Update 1:

      It appears that the mouse is only connected to the local session and microsoft disabled rdp to session 0 which would give access to physical session.







      share|improve this question













      Trying to passthrough a usb mouse with qemu 2.0 fails however I try it. What I have tried so far:



      • evdev passthrough:
        -object input-linux,id=mouse,evdev=/dev/input/by-id/usb-413c_Dell_Premium_USB_Optical_Mouse-event-mouse

      • usb passthrough with xhci emulation:
        -device nec-usb-xhci,id=xhci
        -device usb-host,bus=xhci.0,vendorid=0x413c,productid=0x3016


      I've also tried to pass the whole controller with vfio but with no success. The closest I've got to success was with evdev and usb controller where I can see the mouse in the windows guest device manager listed as HID compliant mouse but I cannot interact with it. The device manager recognize the mouse and says it is working properly but trying to move the mouse around or click through rdp does not work. Unchecking Allow the computer to turn off this device to save power changes nothing.

      I'm not using libvirt.

      I only have usb3.0 ports on my machine and changing the controller to ehci or uhci does not work either.



      Update:

      Connecting to the VM via vnc confirms that the mouse redirection through qemu is working however when connecting with RDP the mouse does not work anymore.



      Update 1:

      It appears that the mouse is only connected to the local session and microsoft disabled rdp to session 0 which would give access to physical session.









      share|improve this question












      share|improve this question




      share|improve this question








      edited Jun 2 at 21:12
























      asked May 29 at 18:23









      2A-66-42

      34




      34

























          active

          oldest

          votes











          Your Answer







          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "106"
          ;
          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: false,
          noModals: false,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );








           

          draft saved


          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f446765%2fqemu-usb-mouse-passthrough-to-windows-10-guest%23new-answer', 'question_page');

          );

          Post as a guest



































          active

          oldest

          votes













          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes










           

          draft saved


          draft discarded


























           


          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f446765%2fqemu-usb-mouse-passthrough-to-windows-10-guest%23new-answer', 'question_page');

          );

          Post as a guest













































































          Popular posts from this blog

          How to check contact read email or not when send email to Individual?

          Bahrain

          Postfix configuration issue with fips on centos 7; mailgun relay