You are not logged in.

#1 2011-04-14 07:11:17

GourdCaptain
Member
Registered: 2009-04-18
Posts: 121

Xorg crashes when gamepads removed

I have a cheap off-brand PS2 (as in the system, not the old interface) gamepad to USB hookup I use for gaming. Recently, when I started plugging it in (hadn't used it for a while, no idea what update broke it) Xorg started crashing when I unplugged it. It works fine when plugged in, but Xorg immediately crashes back to the console (but doesn't close out, so I have to hard power the system) when I remove the controller. Mice and other devices work without problem, but my roommate's 360 USB controller also causes the problem.

Will provide more info if needed.

http://paste.ubuntu.com/593895/ - Xorg log when it crashes (reproduced).

Last edited by GourdCaptain (2011-04-14 07:16:08)

Offline

#2 2011-04-14 09:39:45

Drexya
Member
Registered: 2009-07-28
Posts: 23

Re: Xorg crashes when gamepads removed

I had some problems too with latest xorg releases and a xbox360 gamepad, try to rename/remove the "/etc/X11/xorg.conf.d/50-joystick.conf" file to see if the crashes still occurs.


Sorry for my poor english.

Offline

#3 2011-04-14 15:29:53

GourdCaptain
Member
Registered: 2009-04-18
Posts: 121

Re: Xorg crashes when gamepads removed

Seems to have worked great - snes9x and such still recognize it, it no longer works as a mouse, and seeing as how my computer hasn't crashed after trying both my contraption and the 360 controller, solved the main problem.

Thanks!

Offline

#4 2011-04-16 01:32:38

duckinator
Member
From: Virginia, USA
Registered: 2011-04-16
Posts: 2
Website

Re: Xorg crashes when gamepads removed

I'd just like to say I have the same issue, about to check in a minute or two if this fix works.

EDIT: Works. Isn't this in a core arch package, so might sneak back in? If that's the case, is there a more "proper" fix?
EDIT 2: A quick `pacman -Qo ...` says it's part of xorg-server. That could be a major pain. A proper fix is very welcome wink

Last edited by duckinator (2011-04-16 01:36:49)

Offline

#5 2011-04-16 16:40:00

lf88
Member
Registered: 2009-12-09
Posts: 4

Re: Xorg crashes when gamepads removed

Try adding this line to /etc/X11/xorg.conf.d/50-joystick.conf

Option "StartMouseEnabled" "off"

Offline

#6 2011-04-17 16:53:23

Drexya
Member
Registered: 2009-07-28
Posts: 23

Re: Xorg crashes when gamepads removed

lf88 wrote:

Try adding this line to /etc/X11/xorg.conf.d/50-joystick.conf

Option "StartMouseEnabled" "off"

Thanks for the tip, no more conflicts with the mouse.


Sorry for my poor english.

Offline

Board footer

Powered by FluxBB