Click to See Complete Forum and Search --> : anyone successful with psx pad in linux?


BigCletus
12-01-2001, 12:04 AM
I made a parport connector for it and have the directpad pro drivers for winME (works perfect). However, I would like to use it in linux. I read through the parport howto briefly and tried executing some of the commands, but cant get it initialized. What is the trick? Thanks.

bwkaz
12-01-2001, 08:30 PM
Did you compile kernel support for the joystick, and the parallel port?

If you are using the kernel that came with your distribution, did you load the correct modules for the joystick? EVERYTHING in these kernels is usually a module. Use modprobe gamecon if you need to load the modules, then lsmod to make sure they all loaded (or just check the modprobe output, but whatever).

If you've been doing this, what's the error message that you're getting, and when are you getting it?

[ 01 December 2001: Message edited by: bwkaz ]

BigCletus
12-02-2001, 08:46 PM
modprobe gamecon does this:

[root@bigcletus cletus]# modprobe gamecon
/lib/modules/2.4.7-10/kernel/drivers/char/joystick/gamecon.o: init_module: No such device
Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters
/lib/modules/2.4.7-10/kernel/drivers/char/joystick/gamecon.o: insmod /lib/modules/2.4.7-10/kernel/drivers/char/joystick/gamecon.o failed
/lib/modules/2.4.7-10/kernel/drivers/char/joystick/gamecon.o: insmod gamecon failed

bwkaz
12-03-2001, 09:47 PM
Ummmmmm.....

Are you SURE you have everything you will need?

You may need to modprobe parport_pc, but the other modprobe should add that for you.....

I am starting to run out of ideas..... this isn't good..... You might try re-reading joystick-parport.txt in your kernel source, but if that doesn't work, ..... I have no other ideas that might.

Anybody else have any good things to try? Please?

PuterFreaK
12-10-2001, 04:20 PM
Have you looked at http://www.linuxhq.com/kernel/v2.4/doc/joystick-parport.txt.html ?

bigskinnee
12-17-2001, 02:37 PM
Im having the same problem

laptop:/home/jay# lsmod
Module Size Used by Not tainted
parport 14048 0 (unused)
video1394 15332 0 (unused)
raw1394 7184 0 (unused)
ohci1394 16736 1 [video1394]
ie [video1394]
ieee1394 26760 0 [video1394 raw1394 ohci1394]
i810_audio 20064 1
ac97_codec 9632 0 [i810_audio]
mousedev 3904 0 (unused)
joydev 6880 0 (unused)
input 3456 0 [mousedev joydev]

laptop:/lib/modules/2.4.16/kernel/drivers/char/joystick# insmod gamecon.o
gamecon.o: init_module: No such device
Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters


the joystick-parport.txt says the following

Using gamecon.c you can connect up to five devices to one parallel port. It
uses the following kernel/module command line:

gc=port,pad1,pad2,pad3,pad4,pad5

Where 'port' the number of the parport interface (eg. 0 for parport0)


How do I pass that string to the module?