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
|