[TAG] DirectPad Joystick
Triyan W. Nugroho
triyan at afaqtel.com
Wed Nov 9 02:13:09 MSK 2005
On Sunday 06 November 2005 06:55, you wrote:
> On 11/2/05, Triyan W. Nugroho <triyan at afaqtel.com> wrote:
> > Hello Gang,
> > Here in Indonesia we have very cheap joystick using DirectPad Pro driver
> > (it's actually just a modified Playstation joystick).
> Hi Triyan,
> Does it connect to the parallel port of your
> Linux machine? If so, you might find the
> README and README-parport in the following
> are helpful to get an understanding:
> If on the other hand, it connects to the
> game port of your sound card, don't use
> the parallel port driver, of course :)
Yes, it does connect to parallel port.
> > I have use it for a long time in Windows, but still have no idea how to
> > use it with Linux.
> Did you read these pages?
Yes. But the documentation in the Linux kernel says that the kernel has
support for DirectPad joysticks, using gamecon module. So I think I don't
have to compile the package provided in the abovementioned pages..
And I'm still confused, because the package in these pages use different
filename. For example, Linux kernel uses joydev.c, but in these pages it is
joystick.c. And for DirectPad joysticks, Linux kernel uses gamecon.c, while
in these pages it is joy-console.c.
> > I have been Googling and found that the Linux kernel actually
> > have support on it. And then I found several documentation in the Linux
> > kernel, but I always fail :(
> What did you try, and how did it fail,
mknod input/js0 c 13 0
mknod input/js1 c 13 1
mknod input/js2 c 13 2
mknod input/js3 c 13 3
ln -s input/js0 js0
ln -s input/js1 js1
ln -s input/js2 js2
ln -s input/js3 js3
But every reboot, my js* is always gone :( How can I fix it?
root at devel:/home/i2c# modprobe joydev
root at devel:/home/i2c# modprobe gamecon
FATAL: Error inserting gamecon
(/lib/modules/2.6.8-2-386/kernel/drivers/input/joystick/gamecon.ko): No such
I've tested on 2.4 and 2.6 series, but no difference...
> > Can you explain step-by-step how to configure the kernel to work with
> > this joystick? I use Debian 3.1 and kernel 2.6.18.
> I wouldn't have the same hardware as you,
> so I couldn't provide a step-by-step guide.
> My guess woiuld be that the joystick stuff
> might be easier to get to work using a 2.4
> series kernel rather than 2.6 series.
> I haven't been following the development in
> the 2.6 series much on joysticks.
My sound card (Intel i810 onboard) doesn't work on 2.4, so I have to use the
2.6 series :(
More information about the TAG