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?

  • 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/.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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