Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have somes problems with some games in Ubuntu 12.04 64 bit, both in WINE and with native games in that I can't control the characters since they always move forward or in circles.

That happens in Grand Theft Auto: San Andreas, but also in the native Linux games Psychonauts and Shank making the games unplayable (so it's not a problem with WINE, I guess).

Does anyone know what's happening?

Is there a possible fix?

share|improve this question
Do you use a gamepad or keyboard / mouse ? – Mark Kirby Aug 8 '12 at 9:59
I use both. I have a x360 controller that I use in some games, like super meat boy. but it happened before I hooked the controller. – faceless Aug 8 '12 at 10:36
Ok. Found the source of the problem, the joystick input. Namely, the file /dev/input/js0 related to joysticks. I just renamed the file and everything went to normal. Is there a better workaround? how do I disable joystick input in Ubuntu? – faceless Aug 8 '12 at 12:03


$ cat /sys/class/input/js0/device/name


$ jstest /dev/input/js0

to find out the name of the device that is causing the problem. It's probably the laptops accelerometer that you should be able to blacklist via /etc/modprobe.d/.

share|improve this answer
Found the source of the problem, my microsoft keyboard 600 is detected as a joystick. I guess that's a curse for using microsoft hardware in an open-source operating system :P. Still I would like to prevent this. Any ideias? – faceless Aug 9 '12 at 3:21
there is a description of this bug here: – faceless Aug 9 '12 at 3:34
also there's the description of a quick fix here: – faceless Aug 9 '12 at 4:17

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.