I'm not a Linux user myself and don't know how to configure joysticks in Linux. Hopefully someone who knows will be able to chime in.
At least on Windows, you want to make sure to not have any other joysticks or special input devices such as wacom tablets connected as that sometimes causes a conflict which makes Freerider unable to recognize your joystick.