Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Hardware
User Name
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?


  Search this Thread
Old 08-07-2003, 06:11 AM   #1
LQ Guru
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672

Rep: Reputation: 47
Joystick support ?

Hi guys, ive just installed FlightGear (great free flight simulater !)

and would reeealy like to use a joystick.

the instruction manual provides info on how to get the game and my joystick working together, but assumes first that linux can detect your joystick and is accepting its input.

what do i have to do to get it 'installed'

its a very simple and quite old joystick... 2 buttons, 2 axis.
but is an unheard of manufacture. 'InterAct Pc Mission'.

Old 08-07-2003, 02:01 PM   #2
LQ Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
Moving to Linux - Hardware

Usually Joystick control is in the kernel, but I'm guessing your distro has enabled that for you (or hoping rather ).

Old 08-07-2003, 05:16 PM   #3
Registered: Jul 2003
Location: British Columbia, Canada
Distribution: CollegeLinux 2.5
Posts: 148

Rep: Reputation: 15
Well, this is what I use to get my interact (dif model, though) working.

First, start up a console, then:

$ su
$ [enter root password]
$ /sbin/modprobe joydev
$ /sbin/modprobe ns558
$ /sbin/modprobe analog
$ /sbin/modprobe interact

Then, to test it, do this:

$ jstest /dev/js0

You'll see a bunch of number if everything is okay. Now try pushing all the buttons on your joystic and move the control pad around and make sure everything gets a response.

If that works, then you must edit the file (i THINK) /etc/rc.d/rc.local and add the /sbin/modprobes to it and that will get your gamepad loaded on startup.

This works for me in Red Hat 9, and I am assuming that your controller is plugged into the gameport, not a usb port.

Good luck!
Old 08-10-2003, 04:00 PM   #4
LQ Guru
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672

Original Poster
Rep: Reputation: 47
thanX yeah that worked


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 using an USB joystick dispatcher Linux - Newbie 1 08-06-2005 09:43 AM
Recompiling XMAME for Joystick Support CooManChu Linux - Games 2 05-10-2005 09:46 PM
Game port joystick support in FC2 MarkhamNR Linux - Hardware 2 01-29-2005 08:24 PM
USB Joystick support in RH9 billygotee Red Hat 3 11-03-2003 10:55 AM
Getting joystick support cmckay Linux - Hardware 1 05-19-2003 03:54 AM > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 01:58 AM.

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