Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Hardware
User Name
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?


  Search this Thread
Old 12-04-2007, 02:59 PM   #1
LQ Newbie
Registered: Nov 2006
Posts: 7

Rep: Reputation: 0
Xbox 360 Controller in PCLInuxOS 2007?

Hi, all. I'm using an Acer Aspire 3680, and I have PCLinuxOS 2007 installed. I can run Resident Evil 4 under Wine, and I need a joypad to play it. I used an Xbox 360 pad to play before I switched to Linux, and I'd like to continue to do so. I need a driver to make it work, but I don't know where to find one. Does anyone have one that will work, or know where I can get one from on Synaptic?
Old 12-04-2007, 03:23 PM   #2
Registered: Oct 2007
Location: The States, Florida
Distribution: Lonely Werewolf
Posts: 251

Rep: Reputation: 30
I don't believe Synaptic has anything for Xbox 360 controllers. However, you can go to and they have an xbox 360 controller guide. Even though it's in the Ubuntu forums, it's applicable to other Linux operating systems.


Old 12-04-2007, 03:24 PM   #3
Mega Man X
LQ Guru
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 65
Some got it to work by recompiling the kernel and adding the necessary modules to make it work, like in Gentoo:

Others managed to do so by simply applying a patch without recompiling the kernel, like Ubuntu:

The problem with this controller is that I can't find one single effective source of information on the net. The Gentoo tutorial is the best one around, while getting it to work in Ubuntu is a big mess: people are mixing different versions of Ubuntu, with different kernels and linking from one thread to another.

I've tried both methods (in Ubuntu), gentoo's and Ubuntu's and I could not get any to work. I hope the above links work better for you than it did for me.

Just a question: How did you managed to run RE4 in Linux? I suppose you are not running with the latest patch, since it needs a newer version of DirectX 9.0c right? Or did you patch the game?

Regards and good luck!

Last edited by Mega Man X; 12-04-2007 at 03:25 PM.
Old 12-04-2007, 03:34 PM   #4
LQ Newbie
Registered: Nov 2006
Posts: 7

Original Poster
Rep: Reputation: 0
The Wine Program Database probably would explain it better than me...

I already had a windows partition, with all my data even though my MBR died.(That's why I switched) I had the game installed already, and I mounted the ISO using KISO. After I found the game.exe file, I tried to open it with wine, and it worked. I haven't actually went in-game, though, so wish me luck on that. It DOES work, according to the aforementioned database. If you'll wait a bit, I'll see if I can get another of my gamepads to work, and if I can get in game, I'll let you know.
Old 12-04-2007, 03:49 PM   #5
Mega Man X
LQ Guru
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 65
Thanks DarkSol!

I've checked the AppDB in wine's page. It looks like RE4 runs fine. I always recommend people to look at the database first, but I didn't do it myself this time. Shame on me .

I think my problem is... sniff...sniff... I've got an ATI card :'(

If I manage to get the pad going I will post here as well. Sorry I brought your topic a bit off-topic, but I kinda miss RE4 .

Good luck!
Old 12-08-2007, 02:12 AM   #6
Mega Man X
LQ Guru
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 65
Hi again DarkSol!

Hope you are still checking this thread. I've finally managed to get my wired Xbox 360 Controller to work in Ubuntu Gutsy 7.10 with the default kernel (Linux 2.6.22-14-generic).

I am not sure if this will work for you though. Download this file:

This is what I did:

tar xvzf xpad360.tar.gz
cd xpad360
sudo make install
sudo modprobe joydev xpad
sudo shutdown -r now
I am not familiar with PCLinuxOS, so you may need to make small changes on the makefile. You maybe don't use "sudo" either, so use "su" to change to root. I really don't know how your OS works .

Make sure to disconnect the joypad from the USB slot before booting up, or else it can be a problem. This is indeed annoying. Once your computer has rebooted, connect the joypad. If the big "X" on the center of the controller is not blinking, that is a very good sign. Open up a terminal and type:

cat /dev/input/js0
Press some random buttons/axis on your pad. If a lot of "garbage" characters are being displayed, it means it is working.

I've tested the pad with the following games/Emulators:

- ZSnes
- Extreme Tux Racer
- Frets on Fire

No problems at all.

Best of luck!

P.S: I got this file/driver from the Ubuntu forums. Not sure who fixed the Makefile, but my thanks to him/her.

Last edited by Mega Man X; 12-08-2007 at 02:19 AM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
I'm a Noob and i don't know how to use my Xbox 360 controller! bman000 Linux - Hardware 2 03-02-2007 03:14 AM
Setting up XBOX 360 Controller on Linux (Fedora 5 and openSuSE 10.2) TaaDow Linux - Hardware 0 02-09-2007 04:35 PM
xbox 360 controller programming ma1069 Programming 3 01-30-2007 07:47 AM
Xbox 360 controller for windows...errrr....linux hkl8324 Linux - Hardware 1 03-01-2006 12:49 PM > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 09:15 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration