Xbox360 wireless controllers - receiver connectivity issues
-
@trixter1981 said in Xbox360 wireless controllers - receiver connectivity issues:
Just copy and paste the script, save it in /usr/bin/rpi-update. Then chmod +x rpi-update /usr/bin/rpi-update.
The command to use is this one:
rpi-update 771a503cfc2a1130e2df2a4ddfc45ffa0f592b3f
This didn't work for me, but I think the problem might be my noobness.
I did not have a file called rpi-update in my /usr/bin directory. So i copied your script and put it in notepad++ and saved it without and extension. I had permission problems and errors about the file not existing, even though i could nano into the file and see that it looked normal.
Basically, I got to where I was in the directory and attempting to run rpi-update 771a503cfc2a1130e2df2a4ddfc45ffa0f592b3f - it wouldn't work, i tried sudo rpi..., sudo ./usr/bin/rpi.. then finally I tried sudo sh rpi-update 771a503cfc2a1130e2df2a4ddfc45ffa0f592b3f and it didn't throw and error and it kicked me to the next line. I thought maybe it worked, but it didn't (was expecting some scrolling text if it were to finally work.
Do you care to elaborate a little more on applying the rollback with your script? You're speaking a little above my level (and my even nerdier friend I had on the phone with me).
-
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
-
@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
-
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. -
@JPL I've edited my post to reflect how to fix that.
-
@raelik This works for me, thank you very much!
-
Getting good results so far with most recent commands posted. Thanks you! This was driving me crazy!
-
@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. -
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 --:--:-- --:--:-- --:--:-- 91983Then 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.
-
@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.
-
@pomme Yeah, I should have mentioned you should run
sudo su -
(to switch to root) before doing any of this. Fixed my post (again). -
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?
-
done the upgrade to 3.8.1, it's okay. The kernel is untouched.
-
RPI 3
Retropie 4.0-devHaving 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 1This 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?
-
@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.
-
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 -
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.
-
Hi,
I'm getting a gzip error when running the final command and it performs the rollback - any ideas?
-
@raelik Thanks for posting, fixed the issue for me with a fresh install of 3.8.1
-
An issue has been logged here: https://github.com/raspberrypi/linux/issues/1540
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.