axeolin 21. Nov. 2012 um 8:44 Uhr
TF2 SIGSEGV if you have Xbox 360 Wireless Receiver plugged in
What the title says.

I had the Xbox 360 Wireless Receiver plugged into my PC and this causes TF2 on linux to segfault on start up.

Presumably this has something to do with the /dev/input/event* interfaces that the Receiver has and which TF2 is checking at startup.

Unplugging it gets me a bit closer towards TF2 on linux... :-)
Beiträge 1-13 von 13
< >
§§ Sno |Alpha Wolf| 21. Nov. 2012 um 10:42 Uhr 
Happens to me with my wireless microsoft keyboard and mouse.
Mikkel 3. Dez. 2012 um 7:46 Uhr 
Happens to me also. Possibly due to the vendor name?

[ 5144.364650] usb 3-3: >Manufacturer: \xffffffc2\xffffffa9\xffffffa9Microsoft
FiggyG 3. Dez. 2012 um 11:21 Uhr 
I'm also affected.
NeptNutz 3. Dez. 2012 um 15:29 Uhr 
Same here. If the dongle is lit up (usually when rebooting from Windows), TF2 always crashes on startup. No two ways about it. xboxdrv is no help either.

(First I'm blue, then I'm green, then I'm blue again.)
axeolin 3. Dez. 2012 um 21:36 Uhr 
I thought "fixed a common joystick crash" in the last update referred to this.

Evidently not.

Easy enough to workaround thankfully.
flibitijibibo 3. Dez. 2012 um 22:27 Uhr 
Out of curiosity, what do you get when you put the receiver through this?

http://www.flibitijibibo.com/files/VesselJoystickDetector.c

I recently dealt with a segfault in Eversion and a bug in Vessel that had to do with one of Microsoft's wireless keyboard/mouse transmitters... in SDL, it was acting like a controller with something ridiculous like 30 axes and 50 buttons. You may get something similar with the 360 wireless receiver... if so, post the device info from that C program here.

As far as I know, if there's no way to disable joystick input, you have to just ignore the device if it has that specific name. Looks sucky in code, but it does the job.
axeolin 3. Dez. 2012 um 22:46 Uhr 
Ursprünglich geschrieben von flibitijibibo:
Out of curiosity, what do you get when you put the receiver through this?

Gamepad: Xbox 360 Wireless Receiver
Number of axes: 6
Number of hats: 0
Number of buttons: 15

Awaiting new joystick input...

Axis #0, Config value: 0

Zuletzt bearbeitet von axeolin; 3. Dez. 2012 um 22:46 Uhr
Benjamin 4. Dez. 2012 um 21:39 Uhr 
If you use the "xboxdrv" driver instead of the built-in xpad module, it doesn't crash. It's a much better driver, with proper LED support and lots of customization options. The quick and dirty way to get running is to install xboxdrv (from Ubuntu repos or PPA), and put the following at the end of your /etc/rc.local file (before exit 0):

rmmod xpad
xboxdrv --silent --mimic-xpad

axeolin 5. Dez. 2012 um 23:17 Uhr 
Ursprünglich geschrieben von Benjamin:
If you use the "xboxdrv" driver instead of the built-in xpad module, it doesn't crash. It's a much better driver, with proper LED support and lots of customization options. The quick and dirty way to get running is to install xboxdrv (from Ubuntu repos or PPA), and put the following at the end of your /etc/rc.local file (before exit 0):

rmmod xpad
xboxdrv --silent --mimic-xpad

Thanks for the info.
Benjamin 6. Dez. 2012 um 1:26 Uhr 
No problem. Xboxdrv is a much better driver all around. I might write up a newbie-thread about how to install it in Ubuntu if there is interest, since that's what most people new to Linux are using. People not on Ubuntu tend to not need any guidance on these things.
axeolin 6. Dez. 2012 um 3:17 Uhr 
Ursprünglich geschrieben von Benjamin:
No problem. Xboxdrv is a much better driver all around. I might write up a newbie-thread about how to install it in Ubuntu if there is interest, since that's what most people new to Linux are using. People not on Ubuntu tend to not need any guidance on these things.

Installing it is trivial, knowing it exists was really the only thing (although I note post #4 suggests it doesn't stop the crash)

But, in some ways it's moot, the game shouldn't crash with either driver.
ZeXx86 6. Dez. 2012 um 3:33 Uhr 
Same problem with classic joystick
Benjamin 6. Dez. 2012 um 4:49 Uhr 
Strange, stops the crash for me...
Beiträge 1-13 von 13
< >
Pro Seite: 15 30 50
Geschrieben am: 21. Nov. 2012 um 8:44 Uhr
Beiträge: 13