Update December 28, 2015: The wired and wireless versions of the XBox 360 controllers should work out of the box. Load these kernel modules:

modprobe usbhid joydev xpad

To load these modules at boot, simply add them to your /etc/modules file:

# /etc/modules

  Original article: I've wanted to try out some games running under Linux with a wireless Xbox 360 controller. Everything worked really well except the LED lights would not stopped blinking even though the controller was connected and the game was receiving the input. In comes xboxdrv. Here is how to operate it in the least amount of commands to use an Xbox 360 controller in a default setting. First we need to install xboxdrv. Open a terminal and input the following.

$ sudo apt-get install xboxdrv

Now we need to plug in the receiver and turn on the controller. The lights will start blinking. Now we need to stop the xpad driver.

$ sudo rmmod xpad

And finally we can run the xboxdrv driver and finally get rid of that nagging LED light while using our Xbox 360 controller with default settings.

$ sudo xboxdrv -w 0 -l 2 -s --mimic-xpad

And that's it! The -w flag chooses the first 360 controller with 0 while the -l flag turns on the player 1 LED with 2. The -s flag silences the button presses in the terminal and --mimic-xpad gives it default settings. And even better news, xboxdrv works with most game pads even generic Logitech controllers. Use the -L flag to determine the single digit id number while multiple controllers are plugged in and use the --mimic-xpad flag to give it default settings. You can test the controller by installing and running jstest-gtk. I uninstalled the xpad driver but you can also blacklist it by typing "blacklist xpad" into /etc/modeprobe.d/blacklist.conf The documentation for xboxdrv can be found here: xboxdrv Documentation