LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   How to get Parallel Port Joysticks (eg SNES pad) working in linux 2.6.4 kernel (https://www.linuxquestions.org/questions/linux-hardware-18/how-to-get-parallel-port-joysticks-eg-snes-pad-working-in-linux-2-6-4-kernel-190278/)

Tyco 06-06-2004 05:44 AM

How to get Parallel Port Joysticks (eg SNES pad) working in linux 2.6.4 kernel
 
it seems like the old
Code:

  modprobe joydev
          modprobe gamecon gc=0,1,0,0,0,0

no longer seems to work in kernel 2.6.4. Looking around in joystick-parport seems to indicate that I now need to pass a parameter to the kernel. I've tried passing gamecon.map=0,1,0,0,0,0 to the kernel at boot, and then tried the above code to load the module, but to no avail (as far as I can tell). In fact, everything I had tried before passing that parameter to the kernel acted the same after rebooting with that parameter passed in.

also,
Code:

modprobe gamecon gc=0,1,0,0,0,0
returns this (of course regardless of the parameter above):
Code:

FATAL: Error inserting gamecon
(/lib/modules/2.6.4-54.5-default/kernel/drivers/input/joystick/gamecon.ko):
Unknown symbol in module, or unknown parameter (see dmesg)

strangely enough, using this command:
Code:

modprobe gamecon map=0,1,0,0,0,0
returns a different error:
Code:

FATAL: Error inserting gamecon
(/lib/modules/2.6.4-54.5-default/kernel/drivers/input/joystick/gamecon.ko):
No such device

(also this error is returned if I use just "modprobe gamecon")

This is probably something really simple, but I've researched and tried all variety of things I can think of for three hours now, with no luck yet.

Please tell me what I need to do to get these pads working. (btw, I already know what the comma-separated numbers are for, so there's no need to explain that. =)

Thanks for the help! =)

Tyco 06-06-2004 02:59 PM

<sarcasm>wow, I'm smart. </sarcasm>

lp.o was already loaded, so it didn't want to load the module for parallel port joysticks. Go figure.

Problem solved, thx for reading.


All times are GMT -5. The time now is 12:10 AM.