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

    RetroPie detects USB controller but buttons don't work

    Scheduled Pinned Locked Moved Help and Support
    joypadcontroller confconf
    19 Posts 2 Posters 5.4k 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.
    • N
      nicolasludwig
      last edited by

      Pi Model: Raspberry Pi 3 Model B V1.2
      Power Supply used: 5V - 3A
      RetroPie Version Used: 4.5.1
      USB Devices connected: Keyboard Goldship K5002
      Controller used: Multilaser JS071 Joypad PS2/PS3/PC

      Hi everyone.
      I recently bought the USB controller to use in RetroPie, but I'm getting stuck on the inicial screen where the buttons are configured. The two gamepads are detected (keyboard and USB controller), but trying to press every button of the controller, no one works. If I use the keyboard, it works fine.

      I connected the controller to my notebook, and it works fine in my emulators. And looking in the Device Manager, it appears as if it were the Xbox 360 controller.

      d6b40134-9a53-4814-99f1-63f60ec74b22-image.png

      I already tried to install xboxdrv and enabled it, but the issue persists. I also tried to use jstest on the terminal. Again, the controller configs are listed, but when the buttons are pressed, nothing changes.

      Does anyone know what can I do to solve the problem?
      Thanks in advance!

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

        If jstest doesn't show your buttons working, it means there is no proper driver installed and the controller won't work. If it's identifying like an Xbox 360 controller, it should be handled by the xpad driver (which is installed by default on RetroPie). Can you run

        cat /proc/bus/input/devices
        

        and post the output ?

        N 1 Reply Last reply Reply Quote 0
        • N
          nicolasludwig @mitu
          last edited by

          @mitu Hello! Thanks for your quick reply.

          I ran it and this was the output:

          terminal.jpg

          Sorry for my bad "print" screen.

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

            @nicolasludwig This only shows the xboxdrv virtual devices, not your real USB gamepad device. Can you remove xboxdrv, then reboot and then try again ?

            N 1 Reply Last reply Reply Quote 0
            • N
              nicolasludwig @mitu
              last edited by

              @mitu Removing xboxdrv:

              Novo Documento 2020-01-03 10.55.42_1.jpg

              After reboot:

              Novo Documento 2020-01-03 10.57.28_1.jpg

              Seems to be almost the same output.

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

                @nicolasludwig said in RetroPie detects USB controller but buttons don't work:

                Seems to be almost the same output.

                Yes, it is. But I thought you installed xboxdrv from the RetroPie-Setup, from the drivers section - can you check and see if it appears as installed in the setup and - if so - remove it from that place also.

                N 1 Reply Last reply Reply Quote 0
                • N
                  nicolasludwig @mitu
                  last edited by

                  @mitu Oh, sure. I removed xboxdrv from the drivers section now.

                  That's the output now:

                  Novo Documento 2020-01-03 11.23.45_1.jpg

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

                    @nicolasludwig I only see an USB Keyboard device here - is the gamepad plugged in ? If it is, then it's not detected as a gamepad/joypad, but as a keyboard.

                    N 2 Replies Last reply Reply Quote 0
                    • N
                      nicolasludwig @mitu
                      last edited by

                      @mitu Yes, both devices are plugged. One keyboard (which works on RetroPie) and the gamepad (doesn't work on anything).

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

                        Well, the gamepad doesn't appear as an input USB device, so there's little to do to make it work. Try running from the terminal (just to debug):

                        1. unplug the gamepad
                        2. run sudo dmesg -c
                        3. plug back the gamepad (make sure it's correctly plugged in)
                        4. run dmesg and post the output - if any.
                        1 Reply Last reply Reply Quote 0
                        • N
                          nicolasludwig @mitu
                          last edited by

                          @mitu Sorry man. I unplugged the gamepad and plugged it again, now it appears on the output. I don't know why this happened, but sometimes it happens, even though I haven't touched the USB cable.

                          The output:

                          Novo Documento 2020-01-03 11.35.31_1.jpg

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

                            @nicolasludwig said in RetroPie detects USB controller but buttons don't work:

                            . I unplugged the gamepad and plugged it again, now it appears on the output.

                            OK, but still, execute the commands I posted previously - this will show which drivers are loaded when the gamepad is detected.

                            N 1 Reply Last reply Reply Quote 0
                            • N
                              nicolasludwig @mitu
                              last edited by

                              @mitu Right. I did it and this was the output:

                              Novo Documento 2020-01-03 11.50.10_1.jpg

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

                                Looks like the device is switching its config/identification on the run, first it looks like a PS3 clone, then it disconnects and then identifies itself as an Xbox 360 gamepad.

                                Try installing the PS3 drivers (one a time, see which one works) - doc pagehere - from the RetroPie-Setup script and see if the gamepad is configured and detected properly.

                                N 1 Reply Last reply Reply Quote 0
                                • N
                                  nicolasludwig @mitu
                                  last edited by

                                  @mitu I tried both drivers (sixaxis and ps3controller), without success. Nothing happens when I try to config buttons, but still appears 1 gamepad detected.

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

                                    Based on the provided log, the correct driver should be xpad, but I don't see it handling the controller, even though the Vendor/Product IDS are known to the driver.
                                    Can you check if the xpad driver is installed - in the drivers section of RetroPie-Setup ?

                                    N 1 Reply Last reply Reply Quote 0
                                    • N
                                      nicolasludwig @mitu
                                      last edited by

                                      @mitu Yes, the xpad is installed. I removed it and installed it again. The issue persists.

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

                                        I don't have any other ideas - I see the controller has a windows driver - maybe it needs a special driver to work, but the driver is only for Windows.

                                        N 1 Reply Last reply Reply Quote 0
                                        • N
                                          nicolasludwig @mitu
                                          last edited by

                                          @mitu Yes, on Windows it works normally. Anyway, thanks for your help. I'll try to find more information all over google.

                                          1 Reply Last reply Reply Quote 0
                                          • B bigsdawg referenced this topic on
                                          • 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.