Homepage › Forums › RetroPie Project › Everything else related to the RetroPie Project › XBox 360 wireless controller – blinking lights
- This topic has 9 replies, 7 voices, and was last updated 9 years, 4 months ago by frankysan.
-
AuthorPosts
-
02/16/2015 at 14:39 #87665RooParticipant
From the (too long) Pi 2 compatibility thread…
[quote=87561]I noted that the .img comes already with the xbox controller driver already installed, my wireless xbox360 controller worked right out of the box, yay!
The only thing is: all 4 leds on the controllers are flashing all the time, instead of having just 1 fixed led saying which controller it is.
I googled it and tried fixing it inserting into /etc/rc.local the following lines, just before “exit 0″:
xboxdrv –trigger-as-button –wid 0 –led 2 –deadzone 4000 –silent & sleep 1
xboxdrv –trigger-as-button –wid 1 –led 3 –deadzone 4000 –silent & sleep 1
xboxdrv –trigger-as-button –wid 2 –led 4 –deadzone 4000 –silent & sleep 1
xboxdrv –trigger-as-button –wid 3 –led 5 –deadzone 4000 –silent & sleep 1but the led are still blinking..
Anyone experiencing this? Is there any solution? Is driving me nuts!
[/quote][quote=87613]
xboxdrv –trigger-as-button –wid 0 –led 2 –deadzone 4000 –silent & sleep 1
xboxdrv –trigger-as-button –wid 1 –led 3 –deadzone 4000 –silent & sleep 1
xboxdrv –trigger-as-button –wid 2 –led 4 –deadzone 4000 –silent & sleep 1
xboxdrv –trigger-as-button –wid 3 –led 5 –deadzone 4000 –silent & sleep 1Not sure if it is the same issue or not, but I had to place sudo in front of each of the above statements. Don’t know why, but if I don’t, all 4 leds flash on mine. Worth a shot.
[/quote]I could be wrong, but I don’t think xboxdrv is installed with the image. At least not the 2.5.0 image, I haven’t checked the older images. It should be at
/usr/bin/xboxdrv
but I don’t see it there. I also checked/sbin
,/usr/sbin
and/bin
.When I try to load it from the command line I get
-bash: xboxdrv: command not found
I’d like to get rid of the blinking lights too, but I don’t want to install xboxdrv if the RetroPie image is using some other driver. Has anyone figured this out?
02/16/2015 at 17:52 #87690brakanjeParticipantAFAIK xboxdrv has not been included in any image. In addition even when you install xboxdrv you need to rmmod the old driver before you can run the new one in my experience unless you prevent it from booting at all. (Which is what I did.)
My advice is to install xboxdrv as it is the only driver that has working lights. the stock linux drivers for xbox 360 are rubbish.
02/16/2015 at 18:54 #87699frankysanParticipantxboxdrv is not installed by default. Also, you have to disable the previous driver to get the new one to work properly. This can be done by adding
blacklist xpad
to /etc/modprobe.d/raspi-blacklist.conf02/16/2015 at 21:56 #87730AnonymousInactiveAs frankysan said, you have to blacklist xpad in /etc/modprobe.d/raspi-blacklist.conf , you can use nano to edit the file:
sudo nano /etc/modprobe.d/raspi-blacklist.conf
and add
blacklist xpad
then you can follow this tutorial to set it up correctly: https://github.com/retropie/RetroPie-Setup/wiki/Setting-up-the-XBox360-controller
I had a couple of issues but after blacklisting xpad, my wireless controllers are working properly (including the leds).
02/17/2015 at 05:32 #87764RooParticipantAll great information, thanks guys!
02/17/2015 at 15:23 #87817jacknParticipantHi,
i got my Controllers to work with XBOXDRV,too.
One Problem is to solve:
All Retroarch-Emus won’t accept inputs from XBOXDRV driven controllers.
Register controler in the setup-script won’t even accept inputs from XBOXDRV driven controller.Only mame4all and other emus linke VICE can be steered with them.
Please try out if Retroarch-Emus (PSX for example) work on your setup
02/17/2015 at 16:35 #87824evilllamaParticipantI may have missed it, and it might be a silly question, but this would also work for wired xbox360 controllers? What about a generic (IE: MadCatz) version of the wired and wireless controllers?
02/17/2015 at 17:49 #87832frankysanParticipantWired controller will work the same, you just have to change the command line a bit. the wid should be just id for wired controllers.
And for third party controllers, if they follow the basic Xbox 360 standard, and thus work without any dongles or such in an actual 360, they will work fine using this method as well.
08/04/2015 at 13:16 #103356AnonymousInactivei am new to this, so sorry for the stupid question:
Will i need an USB Receiver vor every xbox360 wireless controller, or can one receiver be used for two controllers?
Thanks
08/04/2015 at 22:03 #103390frankysanParticipantOne reciever can sync with up to four controllers at the same time.
-
AuthorPosts
- The forum ‘Everything else related to the RetroPie Project’ is closed to new topics and replies.