Driver for the Saitek P2500 Rumble Pad
This driver allow you to use your Saitek P2500 rumble pad under Linux. This paddle already works with the kernel, but this driver add the gestion of the Dpad switch and the rumble effect.
License: free
| Sound: | Play in X: | Play in Console: | Multiplayer: | Network Play: | 3D Acceleration: | Source Available: |
|---|---|---|---|---|---|---|
| no | yes | yes | no | no | no | yes |
Submitted by Goffi on 2006-09-14.

make make -C /lib/modules/2.6.17-gentoo-r8/build M=/files/games/SP2500 modules make[1]: Entering directory `/usr/src/linux-2.6.17-gentoo-r8' CC [M] /files/games/SP2500/saitek_p2500.o /files/games/SP2500/saitek_p2500.c:754: error: unknown field 'owner' specified in initializer /files/games/SP2500/saitek_p2500.c:754: warning: initialization from incompatible pointer type make[2]: *** [/files/games/SP2500/saitek_p2500.o] Error 1 make[1]: *** [_module_/files/games/SP2500] Error 2 make[1]: Leaving directory `/usr/src/linux-2.6.17-gentoo-r8' make: *** [modules] Error 2
bt SP2500 # make make -C /lib/modules/2.6.20-BT-PwnSauce-NOSMP/build M=/root/p2500/SP2500 modules make[1]: Entering directory `/usr/src/linux-2.6.20' CC [M] /root/p2500/SP2500/saitek_p2500.o /root/p2500/SP2500/saitek_p2500.c:38:26: linux/config.h: No such file or directory /root/p2500/SP2500/saitek_p2500.c: In function `SP2500_input_event': /root/p2500/SP2500/saitek_p2500.c:241: warning: passing arg 6 of `usb_fill_int_urb' from incompatible pointer type /root/p2500/SP2500/saitek_p2500.c: In function `SP2500_upload_effect': /root/p2500/SP2500/saitek_p2500.c:291: error: structure has no member named `ff_effects_max' /root/p2500/SP2500/saitek_p2500.c:395: warning: passing arg 6 of `usb_fill_int_urb' from incompatible pointer type /root/p2500/SP2500/saitek_p2500.c:396: warning: passing arg 6 of `usb_fill_int_urb' from incompatible pointer type /root/p2500/SP2500/saitek_p2500.c:397: warning: passing arg 6 of `usb_fill_int_urb' from incompatible pointer type /root/p2500/SP2500/saitek_p2500.c: In function `SP2500_close': /root/p2500/SP2500/saitek_p2500.c:467: error: structure has no member named `ff_effects_max' /root/p2500/SP2500/saitek_p2500.c:471: error: structure has no member named `ff_effects_max' /root/p2500/SP2500/saitek_p2500.c: In function `SP2500_flush': /root/p2500/SP2500/saitek_p2500.c:485: error: structure has no member named `ff_effects_max' /root/p2500/SP2500/saitek_p2500.c: In function `SP2500_process_packet': /root/p2500/SP2500/saitek_p2500.c:509: warning: implicit declaration of function `input_regs' /root/p2500/SP2500/saitek_p2500.c: In function `SP2500_probe': /root/p2500/SP2500/saitek_p2500.c:660: warning: passing arg 6 of `usb_fill_int_urb' from incompatible pointer type /root/p2500/SP2500/saitek_p2500.c:667: error: structure has no member named `dev' /root/p2500/SP2500/saitek_p2500.c:677: error: structure has no member named `upload_effect' /root/p2500/SP2500/saitek_p2500.c:682: error: structure has no member named `ff_effects_max' make[2]: *** [/root/p2500/SP2500/saitek_p2500.o] Error 1 make[1]: *** [_module_/root/p2500/SP2500] Error 2 make[1]: Leaving directory `/usr/src/linux-2.6.20' make: *** [modules] Error 2
This means that you need the kernel headers. Generally when something fails to compile you want to look for the first error message, and figure out what it wants. 99% of the time, it's a header (.h) file that's missing, and you need a specific dev package to fill it. Like if it said it couldn't find libtk.h, you'd need the tk headers.
bt SP2500 # make make -C /lib/modules/2.6.20-BT-PwnSauce-NOSMP/build M=/root/p2500/SP2500 modules make[1]: Entering directory `/usr/src/linux-2.6.20' CC [M] /root/p2500/SP2500/saitek_p2500.o /root/p2500/SP2500/saitek_p2500.c: In function `SP2500_input_event': /root/p2500/SP2500/saitek_p2500.c:241: warning: passing arg 6 of `usb_fill_int_urb' from incompatible pointer type /root/p2500/SP2500/saitek_p2500.c: In function `SP2500_upload_effect': /root/p2500/SP2500/saitek_p2500.c:291: error: structure has no member named `ff_effects_max' /root/p2500/SP2500/saitek_p2500.c:395: warning: passing arg 6 of `usb_fill_int_urb' from incompatible pointer type /root/p2500/SP2500/saitek_p2500.c:396: warning: passing arg 6 of `usb_fill_int_urb' from incompatible pointer type /root/p2500/SP2500/saitek_p2500.c:397: warning: passing arg 6 of `usb_fill_int_urb' from incompatible pointer type /root/p2500/SP2500/saitek_p2500.c: In function `SP2500_close': /root/p2500/SP2500/saitek_p2500.c:467: error: structure has no member named `ff_effects_max' /root/p2500/SP2500/saitek_p2500.c:471: error: structure has no member named `ff_effects_max' /root/p2500/SP2500/saitek_p2500.c: In function `SP2500_flush': /root/p2500/SP2500/saitek_p2500.c:485: error: structure has no member named `ff_effects_max' /root/p2500/SP2500/saitek_p2500.c: In function `SP2500_process_packet': /root/p2500/SP2500/saitek_p2500.c:509: warning: implicit declaration of function `input_regs' /root/p2500/SP2500/saitek_p2500.c: In function `SP2500_probe': /root/p2500/SP2500/saitek_p2500.c:660: warning: passing arg 6 of `usb_fill_int_urb' from incompatible pointer type /root/p2500/SP2500/saitek_p2500.c:667: error: structure has no member named `dev' /root/p2500/SP2500/saitek_p2500.c:677: error: structure has no member named `upload_effect' /root/p2500/SP2500/saitek_p2500.c:682: error: structure has no member named `ff_effects_max' make[2]: *** [/root/p2500/SP2500/saitek_p2500.o] Error 1 make[1]: *** [_module_/root/p2500/SP2500] Error 2 make[1]: Leaving directory `/usr/src/linux-2.6.20' make: *** [modules] Error 2 bt SP2500 #
Sorry for such a bizarre question :D.
btw. is there mouse emulation function available? btw2. how should i contact you if I have problems ith gamepad using your updated driver (everything seems to work fine at the moment)?