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

    One controller connected, ES says there are two

    Scheduled Pinned Locked Moved Help and Support
    controllers
    7 Posts 2 Posters 332 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.
    • C
      calcu10n
      last edited by

      Hi folks,

      I am using an SN30 Pro wired controller. When I initially tried to set it up, I noticed the trigger buttons weren't working. After updating the firmware, trying again, and poking around some more I found a thread where someone described the same issue. The solution was to install xboxdrv. I did so and this solve the problem and the controller has been working great since.

      However, since installing xboxdrv I have noticed that ES thinks there are two controllers connected when there is only one connected. Doing some searching on the forums, I came across this:

      https://retropie.org.uk/forum/topic/17650/dualshock-controllers-on-4-4-with-3b/22

      Running cat /proc/bus/input/devices

      I can see the same controller showing up twice:

      I: Bus=0000 Vendor=0000 Product=0000 Version=0000
      N: Name="Xbox Gamepad (userspace driver)"
      P: Phys=
      S: Sysfs=/devices/virtual/input/input1
      U: Uniq=
      H: Handlers=event1 js1
      B: PROP=0
      B: EV=b
      B: KEY=7fdb0000 0 0 0 0 0 0 0 0 0
      B: ABS=3001b
      
      I: Bus=0000 Vendor=0000 Product=0000 Version=0000
      N: Name="Xbox Gamepad (userspace driver) #2"
      P: Phys=
      S: Sysfs=/devices/virtual/input/input2
      U: Uniq=
      H: Handlers=event2 js2
      B: PROP=0
      B: EV=b
      B: KEY=7fdb0000 0 0 0 0 0 0 0 0 0
      B: ABS=3001b
      

      So it looks like creating a udev rule may solve it? I've never done that before, so I'm not exactly sure where to start. I could also be completely wrong. Any guidance would be appreciated!

      xboxdrv install method: Installed from source
      Emulationstation Version: 2.9.6RP
      Built From: Pre made SD image on RetroPie website
      RetroPie Version Used: 4.7.1
      RetroPie Image Filename: retropie-buster-4.7.1-rpi4_400.img.gz
      Installed Hardware: Raspberry Pi 4 8GB, SN30 Pro USB controller, USB extension cable (I've tried with and without the extension cable, issue is the same)
      How to replicate: Not entirely sure

      Thanks in advance!

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

        Update your RetroPie-Setup script to the latest version, remove the xboxdrv 'driver' (which is not really a driver), then re-install the xpad driver. Re-configure the gamepad in EmulationStation and the triggers should be recognized.

        C 1 Reply Last reply Reply Quote 0
        • C
          calcu10n @mitu
          last edited by

          @mitu said in One controller connected, ES says there are two:

          Update your RetroPie-Setup script to the latest version, remove the xboxdrv 'driver' (which is not really a driver), then re-install the xpad driver. Re-configure the gamepad in EmulationStation and the triggers should be recognized.

          Ok, I've just done that, but ES still sees two controllers when there is only one connected. Any suggestions? (I also restarted ES just to be sure)

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

            The 2nd controller appears because of xboxdrv - make sure it's uninstalled.

            C 1 Reply Last reply Reply Quote 0
            • C
              calcu10n @mitu
              last edited by

              @mitu said in One controller connected, ES says there are two:

              The 2nd controller appears because of xboxdrv - make sure it's uninstalled.

              I just verified again, it is uninstalled. I have rebooted the host and that sorted it out. thank you!

              C 1 Reply Last reply Reply Quote 0
              • C
                calcu10n @calcu10n
                last edited by

                @calcu10n said in One controller connected, ES says there are two:

                @mitu said in One controller connected, ES says there are two:

                The 2nd controller appears because of xboxdrv - make sure it's uninstalled.

                I just verified again, it is uninstalled. I have rebooted the host and that sorted it out. thank you!

                Hmm... well I sort of spoke too soon. Now the controller isn't working right. After rebooting I have re-mapped the controls again, but the buttons aren't functioning correctly. As an example: it's taking the trigger as the start button, even though I mapped the buttons correctly. I remapped again and it's still the same. Suggestions?

                C 1 Reply Last reply Reply Quote 0
                • C
                  calcu10n @calcu10n
                  last edited by

                  @calcu10n said in One controller connected, ES says there are two:

                  @calcu10n said in One controller connected, ES says there are two:

                  @mitu said in One controller connected, ES says there are two:

                  The 2nd controller appears because of xboxdrv - make sure it's uninstalled.

                  I just verified again, it is uninstalled. I have rebooted the host and that sorted it out. thank you!

                  Hmm... well I sort of spoke too soon. Now the controller isn't working right. After rebooting I have re-mapped the controls again, but the buttons aren't functioning correctly. As an example: it's taking the trigger as the start button, even though I mapped the buttons correctly. I remapped again and it's still the same. Suggestions?

                  hmm. just reinstalled xpad from source again, remapped and it seems to be working now. all good. thanks again!

                  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.