LinuxQuestions.org
Visit Jeremy's Blog.
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 02-29-2004, 04:03 PM   #1
derfaust
Member
 
Registered: Feb 2004
Location: TX, USA
Distribution: slack 9.1, 10, and 10.2
Posts: 144

Rep: Reputation: 15
joystick and slackware linux 9.1


i have searched and searched, but i can not get my Madcatz panther XL joystick to work in slackware Linux 9.1....

joystick support is enabled in the kernal(2.4.22)....after countless insmods, probemodes, config file edits, etc.....no love..

anybody?

thanks
-derfaust
 
Old 03-01-2004, 05:49 AM   #2
maroonbaboon
Senior Member
 
Registered: Aug 2003
Location: Sydney
Distribution: debian
Posts: 1,495

Rep: Reputation: 48
I guess you've checked the home site for Linux joystick drivers?

http://atrey.karlin.mff.cuni.cz/~vojtech/joystick/

There is also a joystick HOWTO at

http://www.freelink.cx/joystick.html

You also need to supply more detail. e.g. what software you have tried, if the driver modules load successfully and anything else that seems relevant.

I've had joysticks working with Linux in the past, but no recent experience.

Last edited by maroonbaboon; 03-01-2004 at 05:52 AM.
 
Old 03-01-2004, 03:28 PM   #3
derfaust
Member
 
Registered: Feb 2004
Location: TX, USA
Distribution: slack 9.1, 10, and 10.2
Posts: 144

Original Poster
Rep: Reputation: 15
i had already researched about driver issues....and was pleased to discover that my Panther XL has support for the 4.6.22 kernel....and had searched for quite a bit....just to run into the same walls everytime

but

well i got it.....module a3d was not loading correctly.....ok...it is working...
after cat /dev/js0 i get output and all axis and buttons give me working love.

now onward to UT 2004 demo....but some of the buttons dont work at all..one of two hats dont work.... two joystick buttons emulate mouse buttons.....hmmmm....anybody?

is there some sort of editing i have to do to get it to work correctly?
i can assume that if i get output in cat /dev/js0 from all axis and buttons then all buttons are seen, yes?

thanks and please reply....i wanna GAME!!!....(with all the buttons).....lol

-derfaust
 
Old 03-01-2004, 03:36 PM   #4
derfaust
Member
 
Registered: Feb 2004
Location: TX, USA
Distribution: slack 9.1, 10, and 10.2
Posts: 144

Original Poster
Rep: Reputation: 15
also i might add....

it is a 17 button controller...it has two 4-way hats 9 other buttons, a throttle(z-axis), and of course the stick(x and y axis)...

thanks
 
Old 03-02-2004, 09:38 PM   #5
maroonbaboon
Senior Member
 
Registered: Aug 2003
Location: Sydney
Distribution: debian
Posts: 1,495

Rep: Reputation: 48
Sorry - I don't know any more than is in the above docs. There is also some documentation in the kernel source in the file Documentation/input/joystick.txt (not Documentation/joystick.txt as given in the HOWTO).

The HOWTO also says there are various utilities for testing the joystick, which would certainly be better than cat /dev/js0.

Even when you get the raw output from the js I guess there must be some configuration files to match this up to whatever your game is expecting.
 
Old 03-10-2004, 10:50 AM   #6
derfaust
Member
 
Registered: Feb 2004
Location: TX, USA
Distribution: slack 9.1, 10, and 10.2
Posts: 144

Original Poster
Rep: Reputation: 15
ok ....i got it to work....it was all about the order in which the drivers were loading....i ended having to just insmod a3d...a3d is the driver....now...the problem is that the joystick is seen as an 8 axis, 9 button controller....it is in fact a 4 axis, 17 button controller.....

http://enpc3240.eas.asu.edu/lxr/linu...char/joystick/

is a listing of the actual driver...

it is called a3d.c
>
> check it out....
>
> ...i have been digging and digging for information and had a
> question....i think i know the problem.... and maybe a solution....i dont
> know how to code in C, so any suggestions would be useful...

> on lines 157 and 158 you define HAT1X and HAT1Y as axis....this hat is
> actually
> suppossed to be normal buttons not an axis.... the MadCatz Panther XL is a 6
> axis, 13 button controller....

one main problem is that joy2text type programs only respond to buttons...not axis!!..
so basically there a total of eight buttons that dont work on my joystick....because of this
>
> i think if you changed these lines and added two to define the hat as 4
> buttons, not an axis...
> not many games support the extra axis and buttons would be more
> useful....in fact if the above idea would work then you could define HAT0X
> and HAT0Y as buttons as well....it would work better....in other words if
> you could make it a 4 axis, 17 button controller....that would be
> awesome!!!! it would work much much better.... this is how it is
> configured in windows....and has always worked very well...
>
> thank you for your time... i look forward to your reply....
>
> -derfaust
>
>

Last edited by derfaust; 03-10-2004 at 10:53 AM.
 
Old 07-23-2004, 03:47 AM   #7
derfaust
Member
 
Registered: Feb 2004
Location: TX, USA
Distribution: slack 9.1, 10, and 10.2
Posts: 144

Original Poster
Rep: Reputation: 15
UPDATE....the axis thing is still happening....but i found a nice program called....kjoy..

it binds keyboard input to joystick buttons
....
\
there it is.....or 'viola' as the french would say...

ROCK!!!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Joystick Driver and API under kernel 2.6.12.3 using an USB joystick dispatcher Linux - Newbie 1 08-06-2005 09:43 AM
Joystick calibration with Slackware wellmt Slackware 4 08-05-2004 06:28 AM
Madcatz Panter XL joystick and Slackware 9.1 derfaust Linux - Newbie 3 07-23-2004 03:39 AM
Joystick Problem after re-installation of Slackware GT_Onizuka Linux - Hardware 1 01-19-2004 06:10 PM
joystick in linux? lpriyamb Linux - Software 2 10-09-2003 03:27 AM

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

All times are GMT -5. The time now is 09:24 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