RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    Issue with twin usb controllers for arcade sticks

    Scheduled Pinned Locked Moved Help and Support
    sj@jxarcade controll
    11 Posts 3 Posters 3.6k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • mituM
      mitu Global Moderator
      last edited by

      Have you checked the Xin-Mo doc page ? If you're trying to set up something similar, then for a normal PC use the alternative method to add the usbquirks parameter, by creating a new configuration file in /etc/modprobe.d.

      M 1 Reply Last reply Reply Quote 0
      • M
        mburry83 @mitu
        last edited by

        @mitu i have just tried this method but the pc still does not recognize the controller as 2 different controllers

        1 Reply Last reply Reply Quote 0
        • M
          mburry83
          last edited by

          hi i have tried this method
          I have the same USB controller and finally got it recognized as 2 controllers in Emulationstation:

          The solution: You must set a "quirk" for the usbhid module

          Follow the instructions here:
          Be aware that the vendor / product ID might differ. (Check via lsusb, the USB name for the double usb CY-2121 controller is "Personal Communications Systems, Inc")
          https://github.com/RetroPie/RetroPie-Setup/wiki/Xin-Mo-Controller

          I'm using RetroPi via Ubuntu 16.04, so here's how I managed this for Ubuntu:

          Search for the vendor ID / Product ID via lsusb
          create a file named "usbhid.config" under /etc/modprobe.d/"
          Add the following line to the file: "options usbhid quirks=0x0810:0xe001:0x00000040"
          0810 is the VendorID
          e001 is the product ID
          Save the file
          run "sudo update-initramfs - u - k $(uname -r)"
          Restart your PC
          check via "cat /sys/mmodules/usbhid/parameters/quirks", if the quirk has been applied successfully
          Take al look into "/dev/input": There should be a js0 and a js1 now

          but i cannot get it to work

          then i tried this command

          sudo rmmod usbhid && sudo modprobe usbhid quirks=0x0810:0xe301:0x00000040

          it works but is gone the next time i boot the machine

          am i doing something wrong

          mituM 1 Reply Last reply Reply Quote 0
          • mituM
            mitu Global Moderator @mburry83
            last edited by

            @mburry83 The file name you create in /etc/modprobe.d must be named .conf , not .config.

            1 Reply Last reply Reply Quote 0
            • M
              mburry83
              last edited by

              I did see that issue and it is rename to .conf

              mituM 1 Reply Last reply Reply Quote 0
              • mituM
                mitu Global Moderator @mburry83
                last edited by

                @mburry83 Post the exact content of that file and the complete filename.

                1 Reply Last reply Reply Quote 0
                • M
                  mburry83
                  last edited by

                  Screenshot from 2019-07-25 17-21-38.png

                  1 Reply Last reply Reply Quote 0
                  • mituM
                    mitu Global Moderator
                    last edited by

                    @mburry83 said in Issue with twin usb controllers for arcade sticks:

                    sudo rmmod usbhid && sudo modprobe usbhid quirks=0x0810:0xe301:0x00000040

                    Your command line is different than the content of the file - the USB VendorID/ProductID in the file are not the same.

                    Replace the contents of the .conf file with:

                    options usbhid quirks=0x0810:0xe301:0x040
                    
                    1 Reply Last reply Reply Quote 0
                    • M
                      mburry83
                      last edited by

                      Thank you I had just noticed that. All working now

                      1 Reply Last reply Reply Quote 0
                      • HalvhjearneH
                        Halvhjearne
                        last edited by

                        @mburry83

                        the way it says in the docs might not work anymore, i had to add it to grub or it would not accept it:

                        GRUB_CMDLINE_LINUX_DEFAULT="quiet splash usbhid.quirks=0x16c0:0x05e1:0x040"
                        
                        1 Reply Last reply Reply Quote 0
                        • First post
                          Last post

                        Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.

                        Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.