Retropie - fix Controller issues (led blink, d-pad button)

Linux howto's, compile information, information on whatever we learned on working with linux, MACOs and - of course - Products of the big evil....
Post Reply
gilthanaz
Site Admin
Posts: 444
Joined: Fri Aug 29, 2003 9:29 pm
Contact:

Retropie - fix Controller issues (led blink, d-pad button)

Post by gilthanaz »

To get rid of the led blink (controller #led):

Disable "old" kernel driver:
Modify /etc/modprobe.d/raspi-blacklist.conf and add line:

Code: Select all

blacklist xpad
Install/Enable XBox Controller driver:
You can install the XB360 driver using the retropie_setup script. Run the script like this:

Code: Select all

sudo /home/pi/RetroPie-Setup/retropie_setup.sh
Use Option 3 (SETUP) and look for "Install XBox contr. 360 driver". In RPie 2.6 this was pretty much at the bottom of the list.
The driver installation should be pretty quick and should not require more manual intervention at this point. When the driver is installed, quit the setup script.

Modify config files:

/etc/rc.local

Code: Select all

# Print the IP address
_IP=$(hostname -I) || true
if [ "$_IP" ]; then
  printf "My IP address is %s\n" "$_IP"
fi
# --- probably  some old config, comment it out --- xboxdrv --daemon --id 0 --led 2 --deadzone 4000 --silent --trigger-as-button --next-controller --id 1 --led 3 --deadzone 4000
# Add one line per controller, if controllers are wireless, id becomes wid:
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

exit 0


Reboot the Retropie
Post Reply