LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 12-23-2004, 11:13 AM   #1
MarkhamNR
LQ Newbie
 
Registered: Dec 2004
Distribution: Fedora Core 2
Posts: 4

Rep: Reputation: 0
Game port joystick support in FC2


I'm wondering if someone can help me get my joystick (well, gamepad, actually) working with Fedora Core 2 (kernel 2.6.9-1.6_FC2). I have a generic gamepad plugged into the game port on my sound card, and I see the devices /dev/js0, /dev/js1, /dev/js2 and /dev/js3. However, running "jstest /dev/js0" produces the output "jstest: No such device".

The relevant lines from lspci:

Code:
02:0a.0 Multimedia audio controller: Creative Labs SB Live! EMU10k1 (rev 07)
02:0a.1 Input device controller: Creative Labs SB Live! MIDI/Game Port (rev 07)
Some lines from lsmod that might be relevant:

Code:
Module                  Size  Used by
joydev                  8705  0
emu10k1_gp              3777  0
gameport                5057  1 emu10k1_gp
Can anyone point me in the right direction? Thanks.
 
Old 01-25-2005, 11:08 AM   #2
semlak
LQ Newbie
 
Registered: May 2004
Location: Illinois
Distribution: Fedora
Posts: 8

Rep: Reputation: 0
I'm having the same problem. If anyone understands what is going on here, I'd also appreciate the help.
 
Old 01-29-2005, 08:24 PM   #3
semlak
LQ Newbie
 
Registered: May 2004
Location: Illinois
Distribution: Fedora
Posts: 8

Rep: Reputation: 0
Well, I got mine working

Well, I got mine working.

Just so people know what I'm working with, I'm using FC2, and wanted to get my old (circa 1993) Gravis PC Gamepad to work. It has four buttons and a directional pad-thingie, and it plugs into the gameport on the soundcard.

One thing I discovered from other webpages (http://www.freelink.cx/joystick.html) is that in addition to having the module gameport and joydev loaded, you need a more specific module for your specific type of joystick.

I don't know if this is correct, but for mine, It seems that I'm supposed to load two modules (you can find the available modules in /lib/modules/2.6.8-1.521smp/kernel/drivers/input/joystick (2.6.8-1.521smp is my kernel).

The two modules I loaded are ns558 and analog

insmod analog
insmod ns558

then, you need to recreate an input node (I don't know what they're called)

rm /dev/input/js0 /dev/js0
mknod input/js0 c 13 0
ln -s /dev/input/js0 /dev/js0

after this, my gamepad worked.
 
  


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
aMSN game support? RedHatCore Linux - Software 7 08-18-2005 06:44 PM
Recompiling XMAME for Joystick Support CooManChu Linux - Games 2 05-10-2005 09:46 PM
USB Joystick support in RH9 billygotee Red Hat 3 11-03-2003 10:55 AM
Joystick support ? qwijibow Linux - Hardware 3 08-10-2003 04:00 PM
Getting joystick support cmckay Linux - Hardware 1 05-19-2003 03:54 AM

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

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