GPM does a "ioctl call" when using IMPS2 protocol, but only kernel can handle this call...
Js2mouse doesn't work with DirectFB, but you can use j2mdev.
X needs to initialize the driver, but Js2mouse can't handle this kind of initialization. This doesn't appear with the kernel version (j2mdev).
This driver scan the parallel port too fast... In /usr/src/linux/drivers/char/joystick/gamecon.c
replace :
#define GC_REFRESH_TIME HZ/100
by
#define GC_REFRESH_TIME HZ/10
Then rebuild the module or kernel. It works fine with my PSX gamepad. This problem doesn't appear with Linux 2.6.
All linux-2.6.XX kernel should be supported, do :
cp j2mdev-linux-2.6.1.patch /_WHERE_ARE_LINUX_SOURCES_/linux-2.6.XX cd /_WHERE_ARE_LINUX_SOURCES_/linux-2.6.XX patch -p1 < j2mdev-linux-2.6.1.patch make menuconfig # say Y or M to [Device Driver]->[Input Device Support]->[Joystick->mouse converter interface] # recompile the kernel or modules