LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Cannot get my ddr pad to work (https://www.linuxquestions.org/questions/linux-general-1/cannot-get-my-ddr-pad-to-work-195696/)

tearinox 06-20-2004 02:24 PM

Cannot get my ddr pad to work
 
Okay, the pad works in windows, but not linux (I'm running slack9.1 kernel-2.4.22). I have been able to get my sidewinder joystick to work in linux, but not my ddr pad.

I have modprobed everything in the book. Such as some of these:

gameport
joydev
input
emu10k1-gp
sidewinder

And much much more. The way I have this setup is it goes from

Computer --> Usb/Playstation adapter --> ddr pad

One thing I have noticed is that often, I will not succesfully modprobe something. Here's an example:

Code:

0 [root] [/home/tearinox] modprobe ns558 
/lib/modules/2.4.22/kernel/drivers/char/joystick/ns558.o.gz: init_module: No such device
/lib/modules/2.4.22/kernel/drivers/char/joystick/ns558.o.gz: Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters.
      You may find more information in syslog or the output from dmesg
/lib/modules/2.4.22/kernel/drivers/char/joystick/ns558.o.gz: insmod /lib/modules/2.4.22/kernel/drivers/char/joystick/ns558.o.gz failed
/lib/modules/2.4.22/kernel/drivers/char/joystick/ns558.o.gz: insmod ns558 failed

I am totally clueless on how I am going to be able to get this to work. I have been trying for the past couple of days. I would appreciate any help, thanks!

rabidundead 08-21-2004 08:40 PM

RTFM PUNY HUMAN
 
Hi, Tearinox

For parallel adapters, you can use the ddrmat.o driver available at http://icculus.org/pyddr/ddrmat-0.12.tar.gz (which is a modified gamecon.o from the 2.4 kernel). Once compiled, just run insmod ddrmat gc=0,7 (where 7 is the IRQ of your parallel port, which is probably 7). Note that your lp (parallel printer) module cannot be loaded at the same time. The normal gamecon.o module might work too, although you may have to rotate your pad 45 degrees.

USB drivers are much easier. If your kernel has USB joystick support, just plug it in and it should work. If it doesn't, make sure the input, hid, and joydev modules are loaded (the first two are required for any USB input device).

If it is a USB2 connection and the above doesn't work for some reason, you may want to check to see if you
have the 'hotplug' krenel module installed. I found I needed this for an Que! External USB2 CD-RW drive I bought.

Hope this helps

-- kodeman

Hangin' on irc.freenode.net #geekpunks


All times are GMT -5. The time now is 12:08 PM.