SNES-pad

Moin ;)

Ich habe mein altes SNES pad an einen Parallel port angeschlossen.
Laut diversen anleitungen im Internet auch korrekt.

Leider habe ich es ncoh nciht geschafft, das ganze zum laufen zu bringen ?
Ich habe diverse Modprobe befehle versucht.

dmesg gibt mir folgendes im bezug auf SNES:

Code:
[414897.524774] parport0: cannot grant exclusive access for device gamecon
[414897.524781] gamecon.c: parport busy already - lp.o loaded?
[415307.200679] input: SNES pad as /devices/virtual/input/input7
[415307.224509] input: SNES pad as /devices/virtual/input/input8
[415307.236223] input: SNES pad as /devices/virtual/input/input9
[415307.248766] input: SNES pad as /devices/virtual/input/input10
[415307.256965] input: SNES pad as /devices/virtual/input/input11

SNES9x erkennt das pad gar nicht, ZSNES erkennt zwar einen Joystick, aber keinerlei Tastendruck.

Ich weis einfach nciht, wie ich das Teil zum laufen bekomm.

danke im vorraus, lg
 
Entlade mal das parport-Modul. Offenbar gibt es da ja einen Zugriffskonflikt.
 
crac@crac-desktop:~$ modprobe -r parport
WARNING: All config files need .conf: /etc/modprobe.d/oss-compat, it will be ignored in a future release.
WARNING: All config files need .conf: /etc/modprobe.d/kqemu, it will be ignored in a future release.
FATAL: Module parport is in use.

Wie finde ich die Module raus, die darauf zugreifen?

Neustarten u.ä. bringt nichts ?
 
Liste der Module:

parport_pc 40100 1
parport 42220 3 gamecon,ppdev,parport_pc
gamecon 16652 0
ppdev 15620 0

Alle erfolgreich gekillt ;)

dmesg:
das meiste besteht aus ähnlichen wie Zeile 1:
[433805.805692] FAT: Directory bread(block 1633659) failed
[435263.937359] mtrr: no MTRR for d8000000,2000000 found
[435265.863368] agpgart-via 0000:00:00.0: AGP 2.0 bridge
[435265.863396] agpgart-via 0000:00:00.0: putting AGP V2 device into 4x mode
[435265.863442] pci 0000:01:00.0: putting AGP V2 device into 4x mode
[435266.093785] [drm] Setting GART location based on new memory map
[435266.093799] [drm] Loading R100 Microcode
[435266.093842] [drm] writeback test succeeded in 1 usecs
[441722.946727] parport_pc 00:0a: disabled
[441744.716018] spurious 8259A interrupt: IRQ7.
Ende -

Resultat:
ZSNES could not find any joysticks.

Dann habe ich versucht, gamecon wieder zu richten:

sudo modprobe gamecon
FATAL: Error inserting gamecon (/lib/modules/2.6.28-13-generic/kernel/drivers/input/joystick/gamecon.ko): No such device

sudo modprobe gamecon gc=0,1
FATAL: Error inserting gamecon (/lib/modules/2.6.28-13-generic/kernel/drivers/input/joystick/gamecon.ko): Unknown symbol in module, or unknown parameter (see dmesg)

sudo modprobe gamecon map=0,1,0,0,0,0
FATAL: Error inserting gamecon (/lib/modules/2.6.28-13-generic/kernel/drivers/input/joystick/gamecon.ko): Invalid argument

dann wieder dmesg:
[442186.036681] gamecon: Unknown parameter `gc'
[442246.664830] gamecon.c: no such parport
[442288.556180] gamecon: Unknown parameter `gc'

danke, lg

/e:
jetzt beim neustarten:

dmesg |grep parport
[ 11.672480] parport_pc 00:0a: reported by Plug and Play ACPI
[ 11.672528] parport0: PC-style at 0x378, irq 7 [PCSPP,TRISTATE]

dmesg | grep SNES
[ 13.295129] psmouse serio1: ID: 10 00 64<6>input: SNES pad as /devices/virtual/input/input6
[ 13.793957] input: SNES pad as /devices/virtual/input/input7
[ 13.797726] input: SNES pad as /devices/virtual/input/input8
[ 13.812232] input: SNES pad as /devices/virtual/input/input9
[ 13.816261] input: SNES pad as /devices/virtual/input/input10
 
Original von CrAc
Liste der Module:

parport_pc 40100 1
parport 42220 3 gamecon,ppdev,parport_pc
gamecon 16652 0
ppdev 15620 0

Alle erfolgreich gekillt ;)

dmesg:
das meiste besteht aus ähnlichen wie Zeile 1:
[433805.805692] FAT: Directory bread(block 1633659) failed
[435263.937359] mtrr: no MTRR for d8000000,2000000 found
[435265.863368] agpgart-via 0000:00:00.0: AGP 2.0 bridge
[435265.863396] agpgart-via 0000:00:00.0: putting AGP V2 device into 4x mode
[435265.863442] pci 0000:01:00.0: putting AGP V2 device into 4x mode
[435266.093785] [drm] Setting GART location based on new memory map
[435266.093799] [drm] Loading R100 Microcode
[435266.093842] [drm] writeback test succeeded in 1 usecs
[441722.946727] parport_pc 00:0a: disabled
[441744.716018] spurious 8259A interrupt: IRQ7.
Ende -

Resultat:
ZSNES could not find any joysticks.

Dann habe ich versucht, gamecon wieder zu richten:

sudo modprobe gamecon
FATAL: Error inserting gamecon (/lib/modules/2.6.28-13-generic/kernel/drivers/input/joystick/gamecon.ko): No such device

sudo modprobe gamecon gc=0,1
FATAL: Error inserting gamecon (/lib/modules/2.6.28-13-generic/kernel/drivers/input/joystick/gamecon.ko): Unknown symbol in module, or unknown parameter (see dmesg)

sudo modprobe gamecon map=0,1,0,0,0,0
FATAL: Error inserting gamecon (/lib/modules/2.6.28-13-generic/kernel/drivers/input/joystick/gamecon.ko): Invalid argument

dann wieder dmesg:
[442186.036681] gamecon: Unknown parameter `gc'
[442246.664830] gamecon.c: no such parport
[442288.556180] gamecon: Unknown parameter `gc'

danke, lg

/e:
jetzt beim neustarten:

dmesg |grep parport
[ 11.672480] parport_pc 00:0a: reported by Plug and Play ACPI
[ 11.672528] parport0: PC-style at 0x378, irq 7 [PCSPP,TRISTATE]

dmesg | grep SNES
[ 13.295129] psmouse serio1: ID: 10 00 64<6>input: SNES pad as /devices/virtual/input/input6
[ 13.793957] input: SNES pad as /devices/virtual/input/input7
[ 13.797726] input: SNES pad as /devices/virtual/input/input8
[ 13.812232] input: SNES pad as /devices/virtual/input/input9
[ 13.816261] input: SNES pad as /devices/virtual/input/input10

/e:
Ich habs fast!!!!!

Lösung: js_console=0x378,10

Device 0 SNES pad
2 axis, 8 buttons, 0 hats, 0 balls
Device 1 SNES pad
2 axis, 8 buttons, 0 hats, 0 balls
Device 2 SNES pad
2 axis, 8 buttons, 0 hats, 0 balls
Device 3 SNES pad
2 axis, 8 buttons, 0 hats, 0 balls
Device 4 SNES pad
2 axis, 8 buttons, 0 hats, 0 balls

Nur leider kann ich die tasten drücken wie ich will :'(
jtsest kann die virtuelle device nicht öffnen =/

liegt wohl am link:
/devices/virtual/input/input6

wäre dann wohl /dev/input/js0

aber wo wird die hardware gelinkt?
wie ändere ich das?
 
Zurück
Oben