[TAG] DirectPad Joystick
Triyan W. Nugroho
triyan at afaqtel.com
Fri Nov 11 17:15:36 MSK 2005
On Wednesday 09 November 2005 10:04, you wrote:
> > root at devel:/home/i2c# modprobe joydev
> > root at devel:/home/i2c# modprobe gamecon
>
> Could you try instead:
> modprobe gamecon map=0,1
>
> Looking in ./drivers/input/joystick/gamecon.c
> it seems it needs the parallel port number and
> the pad number. I'm guessing that would be
> counting from 1, but maybe it should be map=0,0
>
> module_param_array_named(map, gc, int, &gc_nargs, 0);
> MODULE_PARM_DESC(map, "Describers first set of devices
> (<parport#>,<pad1>,<pad2>,..<pad5>)");
Solved!
First I had to remove lp module. I also stopped CUPS services because my
printer is connected via parallel port.
In 2.4 kernel, I try:
#modprobe gamecon gc=0,7
where 0 means parallel port 0, and 7 means that it is a Playstation joystick.
When I tried to play xgalaga using my joystick, the ships did some strange
movement. Maybe it still need some configuration or it's a bug in the kernel
(the documentation in 2.4 kernel says that support for Playstation joystick
is still under development).
But I'm quite happy to see that my Linux box is now more fun with joystick
support :)
I haven't had time to try this on 2.6 kernel. Anyway thanks very much for the
help :)
--Triyan.
More information about the TAG
mailing list