PDA

View Full Version : [ubuntu] Is it Possible to Connect a Wired USB Xbox 360 Controller in Ubuntu?



sting547
November 15th, 2009, 12:18 AM
I have ubuntu and I have an Xbox 360 wired controller. Is it possible to play games in ubuntu using the controller? Thanks in advance

skatinjj
November 15th, 2009, 12:19 AM
Not sure but you can always google around or just plug it in and see if it works.

Kreaper
November 15th, 2009, 12:35 AM
I'm not sure but i know on windows when you plug it in it automatically downloads something from microsoft, so you may need a driver for it.

sting547
November 15th, 2009, 12:35 AM
I tried plugging it in and the light turned on on the controller, but Ubuntu didn't do anything.

oboewan
November 15th, 2009, 12:59 AM
This tutorial should help you:
https://help.ubuntu.com/community/Xbox360Controller

sting547
November 15th, 2009, 01:08 AM
I put in all of the commands, but the same thing happened.

skatinjj
November 19th, 2009, 12:19 AM
Did you get eny errors at some point? If so, which commands gave the error(s)?

echotone
November 21st, 2009, 04:20 AM
I cant download the jscalibrator package. It says not found.

sting547
November 25th, 2009, 05:19 AM
Did you get eny errors at some point? If so, which commands gave the error(s)?

I had the same problem.

John Forseti
December 7th, 2009, 04:13 AM
I got too;



Compiling and installing the drivers


Assuming your current directory is your working directory ("xpad"), all you need to do is to execute the following commands:

make
sudo make install
sudo modprobe -r xpad
sudo depmod -a
sudo modprobe xpadThis will compile the module, install it, remove the old one, and load the new one. If the process return errors, you probably missed a step. Otherwise, check the Testing and Troubleshooting (https://help.ubuntu.com/community/Xbox360Controller#Troubleshooting) section.
I use "make";

forseti@Forseti:~/xpad$ make
make modules -C /usr/src/linux-headers-2.6.31-16-generic SUBDIRS=/home/forseti/xpad
make[1]: Entering directory `/usr/src/linux-headers-2.6.31-16-generic'
scripts/Makefile.build:44: /home/forseti/xpad/Makefile: No such file or directory
make[2]: *** No rule to make target `/home/forseti/xpad/Makefile'. Stop.
make[1]: *** [_module_/home/forseti/xpad] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.31-16-generic'
make: *** [all] Error 2

Kreaper
December 8th, 2009, 07:04 PM
Does the directory " /home/forseti/xpad/Makefile" exist and contain a makefile?

axldavis2012
October 2nd, 2010, 02:42 PM
i tried to use the instructions from that link and did not work

Kain000
October 6th, 2010, 07:57 PM
I also got the same error after giving the command make.. any ideas?