Hackerboard Wiki HaboBlog
Hackerboard bei Facebook Hackerboard bei Google+ Hackerboard bei Twitter

[HaBo]

 
Linux/UNIX Linuxverfechter finden hier Weggefährten.

SNES-pad

Diskussion: SNES-pad im Forum Linux/UNIX, in der Kategorie Operating Systems; Anzeige Moin ;) Ich habe mein altes SNES pad an einen Parallel port angeschlossen. Laut diversen anleitungen im Internet auch ...

Antwort
Alt 15.08.09, 19:51   #1 (permalink)
 
Benutzerbild von CrAc
 
Registriert seit: 07.02.09
CrAc Leistung: Facit NTK
CrAc eine Nachricht über ICQ schicken
Likes: 0
Standard SNES-pad

Anzeige

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
CrAc ist offline   Mit Zitat antworten
Alt 15.08.09, 19:54   #2 (permalink)
Moderator
 
Benutzerbild von bitmuncher
 
Registriert seit: 30.09.06
bitmuncher Quadcorebitmuncher Quadcorebitmuncher Quadcorebitmuncher Quadcorebitmuncher Quadcorebitmuncher Quadcore
Likes: 441
Standard

Entlade mal das parport-Modul. Offenbar gibt es da ja einen Zugriffskonflikt.
__________________
Mein Blog - Mein Job - Diaspora

Der Ring uns zu knechten besteht aus 12 Sternen auf blauem Grund.

Neue Beiträge im Habo via Twitter - Das HaBo auf FB - Das HaBo bei G+
bitmuncher ist offline   Mit Zitat antworten
   
HaBOT
 
- Anzeige -

Werbung ist gerade online    
Alt 15.08.09, 21:47   #3 (permalink)
Themenstarter
 
Benutzerbild von CrAc
 
Registriert seit: 07.02.09
CrAc Leistung: Facit NTK
CrAc eine Nachricht über ICQ schicken
Likes: 0
Standard

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 ?
CrAc ist offline   Mit Zitat antworten
Alt 15.08.09, 22:27   #4 (permalink)
Moderator
 
Benutzerbild von bitmuncher
 
Registriert seit: 30.09.06
bitmuncher Quadcorebitmuncher Quadcorebitmuncher Quadcorebitmuncher Quadcorebitmuncher Quadcorebitmuncher Quadcore
Likes: 441
Standard

Mit lsmod kannst du sehen welche Module andere bedingen.
__________________
Mein Blog - Mein Job - Diaspora

Der Ring uns zu knechten besteht aus 12 Sternen auf blauem Grund.

Neue Beiträge im Habo via Twitter - Das HaBo auf FB - Das HaBo bei G+
bitmuncher ist offline   Mit Zitat antworten
Alt 15.08.09, 23:49   #5 (permalink)
Themenstarter
 
Benutzerbild von CrAc
 
Registriert seit: 07.02.09
CrAc Leistung: Facit NTK
CrAc eine Nachricht über ICQ schicken
Likes: 0
Standard

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
CrAc ist offline   Mit Zitat antworten
Alt 16.08.09, 00:59   #6 (permalink)
Themenstarter
 
Benutzerbild von CrAc
 
Registriert seit: 07.02.09
CrAc Leistung: Facit NTK
CrAc eine Nachricht über ICQ schicken
Likes: 0
Standard

Zitat:
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?
CrAc ist offline   Mit Zitat antworten
Antwort
   
- Anzeige -

Werbung ist gerade online    

[HaBo] » Operating Systems » Linux/UNIX » SNES-pad
Themen-Optionen
Ansicht

Forumregeln
Es ist Ihnen nicht erlaubt, neue Themen zu verfassen.
Es ist Ihnen nicht erlaubt, auf Beiträge zu antworten.
Es ist Ihnen nicht erlaubt, Anhänge hochzuladen.
Es ist Ihnen nicht erlaubt, Ihre Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks sind aus
Pingbacks sind aus
Refbacks sind aus


Ähnliche Themen
Thema Autor Forum Antworten Letzter Beitrag
SNES Controller an den PC anschließen OCB Hardware Probleme 10 10.07.08 14:00


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61