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

    xbox one controller bug

    Scheduled Pinned Locked Moved Help and Support
    @herbfargus
    44 Posts 3 Posters 1.3k 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 @herb_fargus
      last edited by mitu

      @herb_fargus I actually didn't install this - since I don't have an Xbox controller - but I followed the development and updates.
      I ran the install myself just a minute ago and didn't notice any messages about headers. I did notice it said

      Kernel preparation unnecessary for this kernel.  Skipping...
      

      which means it didn't need to download the kernel headers. Maybe on @aatheronb's system they weren't installed and the script installed them (via dkms - the package is raspberrypi-kernel-headers) - in which case they'll be updated anytime an update will be available in Raspbian, so I wouldn't worry about it.

      Since the module is added via dkms, this should take care of kernel upgrades (i.e. the module is re-compiled on upgrade and added to the new kernel).

      In my system, probably the kernel headers package was added from my tests with the xpad driver (which automatically installs the raspberrypi-kernel-headers package).

      EDIT: The author is trying to upstream the driver (Linux kernel), so at some point it might be included in the stock kernel. But I wouldn't expect this to land in Stretch, more likely will be in Buster.

      1 Reply Last reply Reply Quote 0
      • aatheronbA
        aatheronb
        last edited by

        correction does not work

        1 Reply Last reply Reply Quote 0
        • aatheronbA
          aatheronb
          last edited by

          @mitu
          can there be a fix for the names of the controllers since they are the same name
          errors
          control's changed on each game pad
          players switched controllers
          so now player 2 is player 4 etc...

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

            @aatheronb said in xbox one controller bug:

            can there be a fix for the names of the controllers since they are the same name

            Not without some fiddling. For now, try to see if the connect order will order dictate which player gets assigned.

            1 Reply Last reply Reply Quote 0
            • aatheronbA
              aatheronb
              last edited by

              it doesnt
              if i pair the controller first it may be character 3 or 2 or 4 or 1

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

                @aatheronb Not pairing, but connecting (or maybe we're talking about the same thing ?) them from zero. Start 1 controller only, then the 2nd, etc. and see if the order has an impact on which player it gets assigned.

                1 Reply Last reply Reply Quote 0
                • aatheronbA
                  aatheronb
                  last edited by

                  @mitu @herb_fargus

                  1 Reply Last reply Reply Quote 0
                  • aatheronbA
                    aatheronb
                    last edited by

                    same thing

                    1 Reply Last reply Reply Quote 0
                    • aatheronbA
                      aatheronb
                      last edited by

                      @mitu

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

                        @aatheronb Please don't ping people unnecessarily. I watch the forum, if I have something new to add I will. This is not a chat.

                        herb_fargusH 1 Reply Last reply Reply Quote 0
                        • herb_fargusH
                          herb_fargus administrators @mitu
                          last edited by

                          @mitu I'll work with him to get the logs to see if we can narrow down the cause.

                          If you read the documentation it will answer 99% of your questions: https://retropie.org.uk/docs/

                          Also if you want a solution to your problems read this first: https://retropie.org.uk/forum/topic/3/read-this-first

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

                            @herb_fargus But do the controllers work now (independently) or is the same problem as before ? Honestly I don't know how to re-order them easily when they're identical (as name and model); there is xboxdrv that can maybe do that (expose them with different names), but it's quite complicated to configure and you'd need to select them based on their MAC and re-order them.

                            herb_fargusH 1 Reply Last reply Reply Quote 0
                            • herb_fargusH
                              herb_fargus administrators @mitu
                              last edited by

                              @mitu yeah I know @meleu had a tool for the joypad order, but I'm not as familiar with how that works and if is able to differentiate based on Mac or something else. Joypad order with Bluetooth has always been finicky particularly when connections are intermittent. I'd like to narrow down that the issue is really the joypad order and not an underlying driver issue

                              If you read the documentation it will answer 99% of your questions: https://retropie.org.uk/docs/

                              Also if you want a solution to your problems read this first: https://retropie.org.uk/forum/topic/3/read-this-first

                              1 Reply Last reply Reply Quote 0
                              • aatheronbA
                                aatheronb
                                last edited by

                                What do you need from me to fix this

                                herb_fargusH mituM 2 Replies Last reply Reply Quote 0
                                • herb_fargusH
                                  herb_fargus administrators @aatheronb
                                  last edited by

                                  @aatheronb we need the aforementioned logs so we can rule out whether or not this is a joypad ordering issue or an underlying driver issue

                                  If you read the documentation it will answer 99% of your questions: https://retropie.org.uk/docs/

                                  Also if you want a solution to your problems read this first: https://retropie.org.uk/forum/topic/3/read-this-first

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

                                    @aatheronb Update your Xbox controller firmware - https://support.xbox.com/en-US/xbox-on-windows/accessories/how-to-update-xbox-one-controller-windows-10 - before trying other tests. Do you have the exact model of the controller(s) ? I assume they're Xbox One S - are they MS genuine or clones ?
                                    Also, as Herb said, try to provide the logs I mentioned a while ago (/dev/shm/runcommand.log).

                                    1 Reply Last reply Reply Quote 0
                                    • aatheronbA
                                      aatheronb
                                      last edited by

                                      @mitu their genuine Xbox one controllers
                                      i'll send you the logs later today

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

                                        @aatheronb After getting the logs and posting them on pastebin.com, try the following configuration :

                                        1. Open the advanced configuration editor - see https://retropie.org.uk/docs/Configuration-Editor/#advanced-configuration - and go to
                                          a. 1. Configure basic libretro emulator options
                                          b. (next screen) 1. Configure default options for all libretro emulators
                                          c. 7. Choose joypad order
                                          b8a0790e-6f39-4854-9cf0-eccd87b30e01-image.png
                                        2. In the joypad order screen, each index (1 to 4) will appear as unset. Press enter on each index to assign it the corresponding Xbox controller:
                                          a. for index 1, assign controller #0
                                          b. for index 2 assign controller #1
                                          c. for index 3 assign controller #2 and
                                          d. for index 4 assign controller #3.
                                          After you do this, click Cancel to go to the previous screen, where the menu entry should read now 7. Choose joypad order (0 1 2 3) (just like in the picture above).

                                        This setting should make the controller connection order determine also the player number - i.e. 1st controller paired/connected should become P1, 2nd one P2, etc.

                                        Try going through the steps above and

                                        1 Reply Last reply Reply Quote 0
                                        • aatheronbA
                                          aatheronb
                                          last edited by

                                          its pasted

                                          1 Reply Last reply Reply Quote 0
                                          • aatheronbA
                                            aatheronb
                                            last edited by

                                            https://pastebin.com/jVvAG9Ei

                                            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.