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

    Xbox360 wireless controllers - receiver connectivity issues

    Scheduled Pinned Locked Moved Help and Support
    56 Posts 29 Posters 56.2k 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.
    • trixter1981T
      trixter1981 @pomme
      last edited by trixter1981

      @pomme

      sudo su -
      curl 'http://pastebin.com/download/e2ZKSMr1' -o 'patched_rpi-update.sh' -L -B
      cp patched_rpi-update.sh /usr/bin/rpi-update
      chmod +x /usr/bin/rpi-update
      /usr/bin/rpi-update 771a503cfc2a1130e2df2a4ddfc45ffa0f592b3f

      the script is not from me, this awesome guy created it but I had issues with the curl command (certificates?!?) https://github.com/Hexxeh/rpi-update

      if you want to upgrade to the latest firmware simply use:

      /usr/bin/rpi-update

      good luck! let me know how it goes

      UDb23U 1 Reply Last reply Reply Quote 0
      • R
        raelik
        last edited by raelik

        @trixter1981 your post is missing some necessary line breaks:

        sudo su -
        curl 'http://pastebin.com/raw/e2ZKSMr1' -o 'patched_rpi-update.sh' -L -B
        tr -d '\015' < patched_rpi-update.sh > /usr/bin/rpi-update
        chmod +x /usr/bin/rpi-update
        /usr/bin/rpi-update 771a503cfc2a1130e2df2a4ddfc45ffa0f592b3f
        rm ~/patched_rpi-update.sh
        exit
        
        N A 2 Replies Last reply Reply Quote 3
        • J
          JPL
          last edited by

          Sorry, but I'm having trouble getting the instructions above to work properly. I get this error after following them and running the rpi-update script:

          -bash: /usr/bin/rpi-update: /bin/bash^M: bad interpreter: No such file or directory

          I undid my work and followed the instructions again and got the same error.
          Is it reading an ^M character after the shell declaration on the top line? I tried re-typing that line with nano and vim and neither made a difference.

          R 1 Reply Last reply Reply Quote 0
          • R
            raelik @JPL
            last edited by

            @JPL I've edited my post to reflect how to fix that.

            J 1 Reply Last reply Reply Quote 0
            • J
              JPL @raelik
              last edited by

              @raelik This works for me, thank you very much!

              1 Reply Last reply Reply Quote 0
              • pommeP
                pomme
                last edited by

                Getting good results so far with most recent commands posted. Thanks you! This was driving me crazy!

                1 Reply Last reply Reply Quote 0
                • UDb23U
                  UDb23 @trixter1981
                  last edited by

                  @trixter1981 thanks for posting this downgrade script.
                  I'll try it to solve the Logitech controller not working issue after 3.8 update.

                  Did you report the kernel problem on Github ?
                  I would do it but I'm not skilled enough to technically explain this kernel problem.

                  1 Reply Last reply Reply Quote 0
                  • R
                    rossoe
                    last edited by rossoe

                    Can you please tell me what I'm doing wrong here with permissions?

                    First line works ok:

                    sudo curl 'http://pastebin.com/raw/e2ZKSMr1' -o 'patched_rpi-update.sh' -L -B
                    % Total % Received % Xferd Average Speed Time Time Time Current
                    Dload Upload Total Spent Left Speed
                    100 11038 0 11038 0 0 90959 0 --:--:-- --:--:-- --:--:-- 91983

                    Then I have trouble with:

                    sudo tr -d '\015' < patched_rpi-update.sh > /usr/bin/rpi-update

                    -bash: /usr/bin/rpi-update: Permission denied

                    which means I get the certificate errors carrying on with the further commands.

                    pommeP 1 Reply Last reply Reply Quote 0
                    • pommeP
                      pomme @rossoe
                      last edited by

                      @rossoe said in [Xbox360 wireless controllers - receiver connectivity issues]

                      -bash: /usr/bin/rpi-update: Permission denied
                      which means I get the certificate errors carrying on with the further commands.

                      I got this error too. Make sure you are logged in as root user. You may need to create a root user account.

                      R 1 Reply Last reply Reply Quote 0
                      • R
                        raelik @pomme
                        last edited by raelik

                        @pomme Yeah, I should have mentioned you should run sudo su - (to switch to root) before doing any of this. Fixed my post (again).

                        1 Reply Last reply Reply Quote 0
                        • R
                          rossoe
                          last edited by

                          worked perfectly thank you.

                          can we easily upgrade to the newly released 3.8.1 without the kernel jumping back up to the broken version?

                          1 Reply Last reply Reply Quote 0
                          • trixter1981T
                            trixter1981
                            last edited by

                            done the upgrade to 3.8.1, it's okay. The kernel is untouched.

                            1 Reply Last reply Reply Quote 0
                            • Z
                              zanie420
                              last edited by

                              RPI 3
                              Retropie 4.0-dev

                              Having the same issues getting wireless 360 receiver to work consistently after fresh install and enabling xboxdrv via the script. Tearing my hair out! No output from jstest /dev/input/js0.

                              However, I too can get it to work by logging into SSH as root and using:

                              killall xboxdrv
                              xboxdrv --trigger-as-button --id 0 --led 2 --deadzone 4000 --silent & sleep 1

                              This didn't work until I blacklisted xpad and installed xboxdrv via apt-get

                              Randomly the controller stops working and you have to redo it. Restarting puts you back a square one, but the workaround IS consistent it seems.....

                              What the hell am I doing wrong?

                              B 1 Reply Last reply Reply Quote 0
                              • B
                                backstander @zanie420
                                last edited by

                                @zanie420 if you read down below my post (trixter1981 & raelik posts), there is a workaround that will downgrade the kernel. The xboxdrv seams to work pretty consistently after this downgrade.

                                1 Reply Last reply Reply Quote 0
                                • A
                                  ataritoday
                                  last edited by

                                  Hi All,

                                  Apologies, another Newb.....

                                  I tried the script in above...sudo worked, curl worked and it downloaded something...

                                  hard to tell if tr-d worked or not.....

                                  same with chmod , did not seem to do much, but no error either....

                                  when I get to the line /usr/ line I get a syntax error.... is this suppose to be a continuation of the line above ? what does it do ?

                                  Apologies for the basic questions.

                                  Thx
                                  Jim

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

                                    Another Newb when it comes to installing scripts and Linux Kernels, ..cannot get past the first part without errors so far... Attempting this on clean install of V3.81 , over an hour struggling... will keep trying.

                                    I would hope there would be an updated image release soon that officially addresses this??

                                    Update: I gave up. had to start over with a clean install of retropie V 3.6 which uses an older Kernel. Works fine now.... Hopefully there is an update soon that addresses out of box issues with 3.81.

                                    1 Reply Last reply Reply Quote 0
                                    • S
                                      sberrieman
                                      last edited by

                                      Hi,

                                      I'm getting a gzip error when running the final command and it performs the rollback - any ideas?

                                      1 Reply Last reply Reply Quote 0
                                      • N
                                        NizZ8 @raelik
                                        last edited by

                                        @raelik Thanks for posting, fixed the issue for me with a fresh install of 3.8.1

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

                                          An issue has been logged here: https://github.com/raspberrypi/linux/issues/1540

                                          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
                                          • P
                                            PhantombrainM
                                            last edited by

                                            Thank you. This worked so far.
                                            But one question for the future: how to roll back?
                                            apg-get update and upgrade does not install the newest kernel anymore.
                                            How do I switch back to an upgrading distribution when the problems have been fixed?
                                            regards PhantombrainM

                                            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.