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 11-28-2004, 05:46 PM   #1
ripat
LQ Newbie
 
Registered: Aug 2003
Distribution: Mandrake 9.2
Posts: 22

Rep: Reputation: 15
Problem with joystick/gameport (kernel 2.6.8.1-12mdk)


Hi!

I'm running Mandrake Linux 10.1 (kernel 2.6.8.1-12mdk), and my only problem is that I haven't managed to get the joystick/gamport to work. Any help would be appreciated!

The soundcard and gameport is integrated with the motherboard (Intel SE440BX-2). The sound works as it should in Linux, and the joystick and gameport works in Windows so at least nothings broken. :-)

The joystick is a Gravis Gamepad Pro.

"lspci" reports the soundcard as "Yamaha Corporation YMF-740C [DS-1L Audio Controller]", and it uses the module snd-ymfpci.

As far as I understand the problem is related to the module ns558. When I try to load it with modprobe says that "No such device" exists.

Any ideas?

Some more debug info follows below.

Thanks!

/Mattias

---

# modprobe -v ns558
insmod /lib/modules/2.6.8.1-12mdk/kernel/drivers/input/gameport/ns558.ko.gz
FATAL: Error inserting ns558 (/lib/modules/2.6.8.1-12mdk/kernel/drivers/input/gameport/ns558.ko.gz): No such device


# ls -l /lib/modules/2.6.8.1-12mdk/kernel/drivers/input/gameport/ns558.ko.gz
-rw-r--r-- 1 root root 2937 Oct 1 12:55 /lib/modules/2.6.8.1-12mdk/kernel/drivers/input/gameport/ns558.ko.gz


# dmesg
...
kobject_register failed for ns558 (-17)
[<c0107bfe>] dump_stack+0x1e/0x20
[<c01c179b>] kobject_register+0x5b/0x70
[<c0210c99>] bus_add_driver+0x69/0xc0
[<c02112a1>] driver_register+0x31/0x40
[<c01ea9df>] pnp_register_driver+0x2f/0x60
[<d4be4030>] ns558_init+0x30/0x4d [ns558]
[<c01337a2>] sys_init_module+0xd2/0x1c0
[<c0106dcd>] sysenter_past_esp+0x52/0x71


# lspci
...
00:0c.0 Multimedia audio controller: Yamaha Corporation YMF-740C [DS-1L Audio Controller] (rev 03)
...


# lspci -n -s 00:0c.0
00:0c.0 Class 0401: 1073:000c (rev 03)


# lspci -v -s 00:0c.0
00:0c.0 Multimedia audio controller: Yamaha Corporation YMF-740C [DS-1L Audio Controller] (rev 03)
Subsystem: Intel Corp.: Unknown device 5332
Flags: bus master, medium devsel, latency 64, IRQ 10
Memory at e8010000 (32-bit, non-prefetchable) [size=32K]
Capabilities: [50] Power Management version 1


# lspci -vv -s 00:0c.0
00:0c.0 Multimedia audio controller: Yamaha Corporation YMF-740C [DS-1L Audio Controller] (rev 03)
Subsystem: Intel Corp.: Unknown device 5332
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B-
Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR+
Latency: 64 (1250ns min, 6250ns max)
Interrupt: pin A routed to IRQ 10
Region 0: Memory at e8010000 (32-bit, non-prefetchable) [size=32K]
Capabilities: [50] Power Management version 1
Flags: PMEClk- DSI- D1- D2+ AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-


# lsmod | grep snd-ymfpci
snd-ymfpci 53988 4
snd-ac97-codec 69392 1 snd-ymfpci
snd-pcm 81800 3 snd-pcm-oss,snd-ymfpci
snd-opl3-lib 8448 1 snd-ymfpci
snd-timer 20356 4 snd-seq,snd-ymfpci,snd-pcm,snd-opl3-lib
snd-page-alloc 7400 2 snd-ymfpci,snd-pcm
gameport 3328 1 snd-ymfpci
snd-mpu401-uart 5856 1 snd-ymfpci
snd 45988 20 snd-seq-oss,snd-seq,snd-pcm-oss,snd-mixer-oss,snd-ymfpci,
snd-ac97-codec,snd-pcm,snd-opl3-lib,snd-timer,snd-hwdep,
snd-mpu401-uart,snd-rawmidi,snd-seq-device
 
Old 12-01-2004, 04:10 AM   #2
ripat
LQ Newbie
 
Registered: Aug 2003
Distribution: Mandrake 9.2
Posts: 22

Original Poster
Rep: Reputation: 15
Anyone?
 
Old 12-06-2004, 10:56 PM   #3
lucho
LQ Newbie
 
Registered: Nov 2003
Distribution: Slackware 10.2
Posts: 22

Rep: Reputation: 15
Gravis Gamepad Pro should be handled by the grip module. Try loading it and see what happens. I stumbled on your post because I'm having problems myself with a Gravis USB Gamepad, the Eliminator, but grip doesn't seem to see it or print any errors at all. But the source code for the grip module does mention the Gravis Gamepad Pro, so I guess that's one of the supported devices ...
 
Old 12-07-2004, 03:59 AM   #4
ripat
LQ Newbie
 
Registered: Aug 2003
Distribution: Mandrake 9.2
Posts: 22

Original Poster
Rep: Reputation: 15
Hi, Thanks for the answer!

The grip module loads fine, but it doesn't give me a /dev/js0 or something else to work with. I think that's the job for the ns558 module which doesn't load on my system.
 
  


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
Gameport Joystick manf0001 Linux - Hardware 1 08-12-2005 10:10 AM
10.1 2.6.8.1-12mdk Kernel Compile Errors david.skinner Mandriva 4 12-31-2004 11:42 PM
Can someone help me set up a gameport/joystick? enigma Z Linux - Hardware 2 12-09-2004 10:02 PM
Hammerhead FX Joystick on gameport of SB isa C++freak Linux - General 1 07-05-2003 04:42 PM
Soundblaster Gameport / joystick install slightcrazed Linux - General 3 05-20-2003 08:11 AM

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

All times are GMT -5. The time now is 11:19 AM.

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