QEMU USB HID device (gamepad) is reset all the time when in use2019 Community Moderator ElectionHow can I simulate USB storage device connection with qemu?Qemu 2.0 Windows guest - mouse stops working (vnc) when using usb-passthroughVirtual USB HID deviceHow can I write to the Buzz controllers HID device created by hid-sony.c to work the LEDs?How can I figure out why an HID unikey device is not being recognized by the software needing it?Why QEMU can't use the linux memory buffers memory?Howto Edit the USB driver to identify as an HID deviceHow to set the guest hardware time for QEMU from libvirt?How to write data to a HID USB device?How to make a USB device register as HID?

New brakes for 90s road bike

Why Shazam when there is already Superman?

What does chmod -u do?

Lowest total scrabble score

How to explain what's wrong with this application of the chain rule?

Has any country ever had 2 former presidents in jail simultaneously?

Travelling outside the UK without a passport

Does an advisor owe his/her student anything? Will an advisor keep a PhD student only out of pity?

Infinite dials to reset ever?

What percentage of fillings performed today are done with mercury amalgam?

Are Captain Marvel's powers affected by Thanos' actions in Infinity War

Is there a RAID 0 Equivalent for RAM?

Multiplicative persistence

Does a 'pending' US visa application constitute a denial?

Are paving bricks differently sized for sand bedding vs mortar bedding?

How much character growth crosses the line into breaking the character

How does a computer interpret real numbers?

Why should universal income be universal?

Count the occurrence of each unique word in the file

Basic combinatorial probability problem

Aragorn's "guise" in the Orthanc Stone

Is preaching recommended or mandatory to a temple priest?

Not using 's' for he/she/it

Did arcade monitors have same pixel aspect ratio as TV sets?



QEMU USB HID device (gamepad) is reset all the time when in use



2019 Community Moderator ElectionHow can I simulate USB storage device connection with qemu?Qemu 2.0 Windows guest - mouse stops working (vnc) when using usb-passthroughVirtual USB HID deviceHow can I write to the Buzz controllers HID device created by hid-sony.c to work the LEDs?How can I figure out why an HID unikey device is not being recognized by the software needing it?Why QEMU can't use the linux memory buffers memory?Howto Edit the USB driver to identify as an HID deviceHow to set the guest hardware time for QEMU from libvirt?How to write data to a HID USB device?How to make a USB device register as HID?










0















I try to run a Windows 10 VM with GPU passthru, that works fine but my gamepad , actualy a Betaflight flight controller running in HID mode, is resetted all the time.



The controller works on the host system (Ubuntu 18).
Kernel version:
Linux sil 4.18.0-16-generic #17~18.04.1-Ubuntu SMP Tue Feb 12 13:35:51 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux



dmesg after plugging it in:

[ 5236.675786] usb 3-1: new full-speed USB device number 23 using xhci_hcd
[ 5236.828939] usb 3-1: New USB device found, idVendor=0483, idProduct=3256, bcdDevice= 2.00
[ 5236.828943] usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 5236.828945] usb 3-1: Product: MatekF411
[ 5236.828947] usb 3-1: Manufacturer: Betaflight
[ 5236.828949] usb 3-1: SerialNumber: 0x8000000
[ 5236.831498] input: Betaflight MatekF411 as /devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1:1.0/0003:0483:3256.0020/input/input59
[ 5236.831704] hid-generic 0003:0483:3256.0020: input,hidraw2: USB HID v1.11 Gamepad [Betaflight MatekF411] on usb-0000:00:14.0-1/input0
[ 5236.831928] cdc_acm 3-1:1.1: ttyACM0: USB ACM device



dmesg after VM is started:

[ 5286.246448] audit: type=1400 audit(1552424464.131:129): apparmor="STATUS" operation="profile_load" profile="unconfined" name="libvirt-78575cdf-adbb-4437-8a18-a4615f5575a0" pid=10341 comm="apparmor_parser"
[ 5286.750741] audit: type=1400 audit(1552424464.635:130): apparmor="STATUS" operation="profile_replace" profile="unconfined" name="libvirt-78575cdf-adbb-4437-8a18-a4615f5575a0" pid=10357 comm="apparmor_parser"
[ 5286.924865] audit: type=1400 audit(1552424464.811:131): apparmor="STATUS" operation="profile_replace" profile="unconfined" name="libvirt-78575cdf-adbb-4437-8a18-a4615f5575a0" pid=10360 comm="apparmor_parser"
[ 5287.098850] audit: type=1400 audit(1552424464.983:132): apparmor="STATUS" operation="profile_replace" info="same as current profile, skipping" profile="unconfined" name="libvirt-78575cdf-adbb-4437-8a18-a4615f5575a0" pid=10363 comm="apparmor_parser"
[ 5287.102253] virbr0: port 2(vnet0) entered blocking state
[ 5287.102255] virbr0: port 2(vnet0) entered disabled state
[ 5287.102294] device vnet0 entered promiscuous mode
[ 5287.102439] virbr0: port 2(vnet0) entered blocking state
[ 5287.102440] virbr0: port 2(vnet0) entered listening state
[ 5287.278592] audit: type=1400 audit(1552424465.163:133): apparmor="STATUS" operation="profile_replace" profile="unconfined" name="libvirt-78575cdf-adbb-4437-8a18-a4615f5575a0" pid=10389 comm="apparmor_parser"
[ 5287.912886] vfio_ecap_init: 0000:01:00.0 hiding ecap 0x1e@0x258
[ 5287.912897] vfio_ecap_init: 0000:01:00.0 hiding ecap 0x19@0x900
[ 5289.120700] virbr0: port 2(vnet0) entered learning state
[ 5289.249049] usb 3-1: reset full-speed USB device number 23 using xhci_hcd
[ 5289.524998] usb 3-1: reset full-speed USB device number 23 using xhci_hcd
[ 5291.136692] virbr0: port 2(vnet0) entered forwarding state
[ 5291.136699] virbr0: topology change detected, propagating
[ 5296.117002] usb 3-1: reset full-speed USB device number 23 using xhci_hcd
[ 5296.512972] usb 3-1: reset full-speed USB device number 23 using xhci_hcd
[ 5297.641034] usb 3-1: reset full-speed USB device number 23 using xhci_hcd
[ 5297.941119] usb 3-1: reset full-speed USB device number 23 using xhci_hcd
[ 5298.241075] usb 3-1: reset full-speed USB device number 23 using xhci_hcd
[ 5298.517109] usb 3-1: reset full-speed USB device number 23 using xhci_hcd










share|improve this question


























    0















    I try to run a Windows 10 VM with GPU passthru, that works fine but my gamepad , actualy a Betaflight flight controller running in HID mode, is resetted all the time.



    The controller works on the host system (Ubuntu 18).
    Kernel version:
    Linux sil 4.18.0-16-generic #17~18.04.1-Ubuntu SMP Tue Feb 12 13:35:51 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux



    dmesg after plugging it in:

    [ 5236.675786] usb 3-1: new full-speed USB device number 23 using xhci_hcd
    [ 5236.828939] usb 3-1: New USB device found, idVendor=0483, idProduct=3256, bcdDevice= 2.00
    [ 5236.828943] usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
    [ 5236.828945] usb 3-1: Product: MatekF411
    [ 5236.828947] usb 3-1: Manufacturer: Betaflight
    [ 5236.828949] usb 3-1: SerialNumber: 0x8000000
    [ 5236.831498] input: Betaflight MatekF411 as /devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1:1.0/0003:0483:3256.0020/input/input59
    [ 5236.831704] hid-generic 0003:0483:3256.0020: input,hidraw2: USB HID v1.11 Gamepad [Betaflight MatekF411] on usb-0000:00:14.0-1/input0
    [ 5236.831928] cdc_acm 3-1:1.1: ttyACM0: USB ACM device



    dmesg after VM is started:

    [ 5286.246448] audit: type=1400 audit(1552424464.131:129): apparmor="STATUS" operation="profile_load" profile="unconfined" name="libvirt-78575cdf-adbb-4437-8a18-a4615f5575a0" pid=10341 comm="apparmor_parser"
    [ 5286.750741] audit: type=1400 audit(1552424464.635:130): apparmor="STATUS" operation="profile_replace" profile="unconfined" name="libvirt-78575cdf-adbb-4437-8a18-a4615f5575a0" pid=10357 comm="apparmor_parser"
    [ 5286.924865] audit: type=1400 audit(1552424464.811:131): apparmor="STATUS" operation="profile_replace" profile="unconfined" name="libvirt-78575cdf-adbb-4437-8a18-a4615f5575a0" pid=10360 comm="apparmor_parser"
    [ 5287.098850] audit: type=1400 audit(1552424464.983:132): apparmor="STATUS" operation="profile_replace" info="same as current profile, skipping" profile="unconfined" name="libvirt-78575cdf-adbb-4437-8a18-a4615f5575a0" pid=10363 comm="apparmor_parser"
    [ 5287.102253] virbr0: port 2(vnet0) entered blocking state
    [ 5287.102255] virbr0: port 2(vnet0) entered disabled state
    [ 5287.102294] device vnet0 entered promiscuous mode
    [ 5287.102439] virbr0: port 2(vnet0) entered blocking state
    [ 5287.102440] virbr0: port 2(vnet0) entered listening state
    [ 5287.278592] audit: type=1400 audit(1552424465.163:133): apparmor="STATUS" operation="profile_replace" profile="unconfined" name="libvirt-78575cdf-adbb-4437-8a18-a4615f5575a0" pid=10389 comm="apparmor_parser"
    [ 5287.912886] vfio_ecap_init: 0000:01:00.0 hiding ecap 0x1e@0x258
    [ 5287.912897] vfio_ecap_init: 0000:01:00.0 hiding ecap 0x19@0x900
    [ 5289.120700] virbr0: port 2(vnet0) entered learning state
    [ 5289.249049] usb 3-1: reset full-speed USB device number 23 using xhci_hcd
    [ 5289.524998] usb 3-1: reset full-speed USB device number 23 using xhci_hcd
    [ 5291.136692] virbr0: port 2(vnet0) entered forwarding state
    [ 5291.136699] virbr0: topology change detected, propagating
    [ 5296.117002] usb 3-1: reset full-speed USB device number 23 using xhci_hcd
    [ 5296.512972] usb 3-1: reset full-speed USB device number 23 using xhci_hcd
    [ 5297.641034] usb 3-1: reset full-speed USB device number 23 using xhci_hcd
    [ 5297.941119] usb 3-1: reset full-speed USB device number 23 using xhci_hcd
    [ 5298.241075] usb 3-1: reset full-speed USB device number 23 using xhci_hcd
    [ 5298.517109] usb 3-1: reset full-speed USB device number 23 using xhci_hcd










    share|improve this question
























      0












      0








      0








      I try to run a Windows 10 VM with GPU passthru, that works fine but my gamepad , actualy a Betaflight flight controller running in HID mode, is resetted all the time.



      The controller works on the host system (Ubuntu 18).
      Kernel version:
      Linux sil 4.18.0-16-generic #17~18.04.1-Ubuntu SMP Tue Feb 12 13:35:51 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux



      dmesg after plugging it in:

      [ 5236.675786] usb 3-1: new full-speed USB device number 23 using xhci_hcd
      [ 5236.828939] usb 3-1: New USB device found, idVendor=0483, idProduct=3256, bcdDevice= 2.00
      [ 5236.828943] usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
      [ 5236.828945] usb 3-1: Product: MatekF411
      [ 5236.828947] usb 3-1: Manufacturer: Betaflight
      [ 5236.828949] usb 3-1: SerialNumber: 0x8000000
      [ 5236.831498] input: Betaflight MatekF411 as /devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1:1.0/0003:0483:3256.0020/input/input59
      [ 5236.831704] hid-generic 0003:0483:3256.0020: input,hidraw2: USB HID v1.11 Gamepad [Betaflight MatekF411] on usb-0000:00:14.0-1/input0
      [ 5236.831928] cdc_acm 3-1:1.1: ttyACM0: USB ACM device



      dmesg after VM is started:

      [ 5286.246448] audit: type=1400 audit(1552424464.131:129): apparmor="STATUS" operation="profile_load" profile="unconfined" name="libvirt-78575cdf-adbb-4437-8a18-a4615f5575a0" pid=10341 comm="apparmor_parser"
      [ 5286.750741] audit: type=1400 audit(1552424464.635:130): apparmor="STATUS" operation="profile_replace" profile="unconfined" name="libvirt-78575cdf-adbb-4437-8a18-a4615f5575a0" pid=10357 comm="apparmor_parser"
      [ 5286.924865] audit: type=1400 audit(1552424464.811:131): apparmor="STATUS" operation="profile_replace" profile="unconfined" name="libvirt-78575cdf-adbb-4437-8a18-a4615f5575a0" pid=10360 comm="apparmor_parser"
      [ 5287.098850] audit: type=1400 audit(1552424464.983:132): apparmor="STATUS" operation="profile_replace" info="same as current profile, skipping" profile="unconfined" name="libvirt-78575cdf-adbb-4437-8a18-a4615f5575a0" pid=10363 comm="apparmor_parser"
      [ 5287.102253] virbr0: port 2(vnet0) entered blocking state
      [ 5287.102255] virbr0: port 2(vnet0) entered disabled state
      [ 5287.102294] device vnet0 entered promiscuous mode
      [ 5287.102439] virbr0: port 2(vnet0) entered blocking state
      [ 5287.102440] virbr0: port 2(vnet0) entered listening state
      [ 5287.278592] audit: type=1400 audit(1552424465.163:133): apparmor="STATUS" operation="profile_replace" profile="unconfined" name="libvirt-78575cdf-adbb-4437-8a18-a4615f5575a0" pid=10389 comm="apparmor_parser"
      [ 5287.912886] vfio_ecap_init: 0000:01:00.0 hiding ecap 0x1e@0x258
      [ 5287.912897] vfio_ecap_init: 0000:01:00.0 hiding ecap 0x19@0x900
      [ 5289.120700] virbr0: port 2(vnet0) entered learning state
      [ 5289.249049] usb 3-1: reset full-speed USB device number 23 using xhci_hcd
      [ 5289.524998] usb 3-1: reset full-speed USB device number 23 using xhci_hcd
      [ 5291.136692] virbr0: port 2(vnet0) entered forwarding state
      [ 5291.136699] virbr0: topology change detected, propagating
      [ 5296.117002] usb 3-1: reset full-speed USB device number 23 using xhci_hcd
      [ 5296.512972] usb 3-1: reset full-speed USB device number 23 using xhci_hcd
      [ 5297.641034] usb 3-1: reset full-speed USB device number 23 using xhci_hcd
      [ 5297.941119] usb 3-1: reset full-speed USB device number 23 using xhci_hcd
      [ 5298.241075] usb 3-1: reset full-speed USB device number 23 using xhci_hcd
      [ 5298.517109] usb 3-1: reset full-speed USB device number 23 using xhci_hcd










      share|improve this question














      I try to run a Windows 10 VM with GPU passthru, that works fine but my gamepad , actualy a Betaflight flight controller running in HID mode, is resetted all the time.



      The controller works on the host system (Ubuntu 18).
      Kernel version:
      Linux sil 4.18.0-16-generic #17~18.04.1-Ubuntu SMP Tue Feb 12 13:35:51 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux



      dmesg after plugging it in:

      [ 5236.675786] usb 3-1: new full-speed USB device number 23 using xhci_hcd
      [ 5236.828939] usb 3-1: New USB device found, idVendor=0483, idProduct=3256, bcdDevice= 2.00
      [ 5236.828943] usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
      [ 5236.828945] usb 3-1: Product: MatekF411
      [ 5236.828947] usb 3-1: Manufacturer: Betaflight
      [ 5236.828949] usb 3-1: SerialNumber: 0x8000000
      [ 5236.831498] input: Betaflight MatekF411 as /devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1:1.0/0003:0483:3256.0020/input/input59
      [ 5236.831704] hid-generic 0003:0483:3256.0020: input,hidraw2: USB HID v1.11 Gamepad [Betaflight MatekF411] on usb-0000:00:14.0-1/input0
      [ 5236.831928] cdc_acm 3-1:1.1: ttyACM0: USB ACM device



      dmesg after VM is started:

      [ 5286.246448] audit: type=1400 audit(1552424464.131:129): apparmor="STATUS" operation="profile_load" profile="unconfined" name="libvirt-78575cdf-adbb-4437-8a18-a4615f5575a0" pid=10341 comm="apparmor_parser"
      [ 5286.750741] audit: type=1400 audit(1552424464.635:130): apparmor="STATUS" operation="profile_replace" profile="unconfined" name="libvirt-78575cdf-adbb-4437-8a18-a4615f5575a0" pid=10357 comm="apparmor_parser"
      [ 5286.924865] audit: type=1400 audit(1552424464.811:131): apparmor="STATUS" operation="profile_replace" profile="unconfined" name="libvirt-78575cdf-adbb-4437-8a18-a4615f5575a0" pid=10360 comm="apparmor_parser"
      [ 5287.098850] audit: type=1400 audit(1552424464.983:132): apparmor="STATUS" operation="profile_replace" info="same as current profile, skipping" profile="unconfined" name="libvirt-78575cdf-adbb-4437-8a18-a4615f5575a0" pid=10363 comm="apparmor_parser"
      [ 5287.102253] virbr0: port 2(vnet0) entered blocking state
      [ 5287.102255] virbr0: port 2(vnet0) entered disabled state
      [ 5287.102294] device vnet0 entered promiscuous mode
      [ 5287.102439] virbr0: port 2(vnet0) entered blocking state
      [ 5287.102440] virbr0: port 2(vnet0) entered listening state
      [ 5287.278592] audit: type=1400 audit(1552424465.163:133): apparmor="STATUS" operation="profile_replace" profile="unconfined" name="libvirt-78575cdf-adbb-4437-8a18-a4615f5575a0" pid=10389 comm="apparmor_parser"
      [ 5287.912886] vfio_ecap_init: 0000:01:00.0 hiding ecap 0x1e@0x258
      [ 5287.912897] vfio_ecap_init: 0000:01:00.0 hiding ecap 0x19@0x900
      [ 5289.120700] virbr0: port 2(vnet0) entered learning state
      [ 5289.249049] usb 3-1: reset full-speed USB device number 23 using xhci_hcd
      [ 5289.524998] usb 3-1: reset full-speed USB device number 23 using xhci_hcd
      [ 5291.136692] virbr0: port 2(vnet0) entered forwarding state
      [ 5291.136699] virbr0: topology change detected, propagating
      [ 5296.117002] usb 3-1: reset full-speed USB device number 23 using xhci_hcd
      [ 5296.512972] usb 3-1: reset full-speed USB device number 23 using xhci_hcd
      [ 5297.641034] usb 3-1: reset full-speed USB device number 23 using xhci_hcd
      [ 5297.941119] usb 3-1: reset full-speed USB device number 23 using xhci_hcd
      [ 5298.241075] usb 3-1: reset full-speed USB device number 23 using xhci_hcd
      [ 5298.517109] usb 3-1: reset full-speed USB device number 23 using xhci_hcd







      qemu hid






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Mar 12 at 21:14









      DanielDaniel

      12




      12




















          0






          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',
          autoActivateHeartbeat: false,
          convertImagesToLinks: false,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          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%2funix.stackexchange.com%2fquestions%2f505963%2fqemu-usb-hid-device-gamepad-is-reset-all-the-time-when-in-use%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















          draft saved

          draft discarded
















































          Thanks for contributing an answer to Unix & Linux Stack Exchange!


          • 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%2funix.stackexchange.com%2fquestions%2f505963%2fqemu-usb-hid-device-gamepad-is-reset-all-the-time-when-in-use%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







          -hid, qemu

          Popular posts from this blog

          Creating 100m^2 grid automatically using QGIS?Creating grid constrained within polygon in QGIS?Createing polygon layer from point data using QGIS?Creating vector grid using QGIS?Creating grid polygons from coordinates using R or PythonCreating grid from spatio temporal point data?Creating fields in attributes table using other layers using QGISCreate .shp vector grid in QGISQGIS Creating 4km point grid within polygonsCreate a vector grid over a raster layerVector Grid Creates just one grid

          What is this called? Old film camera viewer?What makes a good film camera?What to do with an old film camera?What should one look for when buying a used film camera?What is the value and age of this pre-1967 Ricoh 35 mm camera?DSLR recommendation, question about old Canon 35mm film Camera & lensesCan anyone identify the silver rangefinder-style camera in this advertisement?What kind of a Polaroid 600-camera is this?Will an old film camera still work even when not used in a very long time?What is this camera / Can I develop the film?How to fit an action camera into antique (bellows) housing?What to check when buying used and old film bodies?

          Why is this plane circling around the Lucknow airport every day?Why do aircraft on Flight Radar 24 jump around randomly sometimes?What airport has this walkway over a taxiway?How does Chicago O'Hare's tower sequence aircraft at peak capacity?Which airport is featured in this Delta commercial?After a crash, for how long is the airport closed?Can a passenger plane stand still in the air, or hover at a fixed location above a ground?What are those trucks towing around, and why?What is this airport outside of Cairo, Egypt?Which US airport has the lowest circling MDH?What is this airport video?