LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
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?

Notices


Reply
  Search this Thread
Old 11-03-2011, 06:18 AM   #1
Gune
LQ Newbie
 
Registered: Jan 2009
Posts: 8

Rep: Reputation: 0
Joystick/Gamepad causing segfault.


Alright so this is an issue that i have already resolved but seeing as i didn't find any information about it when i was trying to fix it i thought i might put up this post so people could find the fix in the future.

I have a saitek p380 and every time i moved the analog sticks the software segfaulted, it worked however in qjoypad.

The saitek p380 uses the joydev module and seeing as that module is very common i can imagine the same thing happening on several types of joysticks and gamepads.

The software that segfaulted was emulators, thats what i used the gamepad for, and the only thing those 2 emulators had in common was SDL. It seems that there is a bug in SDL-1.2.14 that makes it recognize the joystick/gamepad with the wrong number of axis, so whenever an axis is being moved that isn't recognized by SDL it segfaults.

A simple downgrade to SDL-1.2.13 will solve this entire issue, so now you don't have to search much for the fix as i did:P Happy gaming!

Gune.

Last edited by Gune; 11-03-2011 at 06:19 AM.
 
  


Reply



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
[SOLVED] joystick / gamepad and -current wadsworth Slackware 6 04-25-2011 12:50 AM
use SDL to read joystick/gamepad input samel_tvom Programming 7 10-09-2006 03:11 PM
Gamepad/Joystick as Mouse nirj Linux - Hardware 1 03-26-2005 11:38 AM
Joystick/Gamepad help. ProtoformX Linux - Hardware 3 11-17-2004 11:24 AM
how do i get my joystick, gamepad, & wheel working? LavaDevil94 Linux - Hardware 4 10-07-2003 03:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 06:42 PM.

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