Page 2 of 2

Re: Problem with the Saitek X52 joystick under Gentoo linux.

Posted: Tue Dec 11, 2018 8:02 pm
by Amon2501
Unfortunately there`s no luck. I`ve googled that github`s user`s driver yesterday night myself and read that discussion. It seems like that user was only interested in disabling the LEDS (which actually made by just disconnecting and then reconnecting the device again). But I`ve tried installing that driver just now and nothing was changed(even after reboot). Still the only buttons i could map in Oolite were not higher than 16`s. Could you please advice me a free game for linux which have a joystick buttons remappin feature, so i could test that behaviour in another game? If there`ll be only the 16 buttons available too, than that`s the driver/kernel`s issue for sure, if not, then that`s probably the oolite itself.

Re: Problem with the Saitek X52 joystick under Gentoo linux.

Posted: Wed Dec 12, 2018 1:59 am
by Commander_X
My understanding from that message thread was that everything *else* went good, besides the LED handling.
But as you said, it seems that he didn't commit those changes -- I guess he only handled them to that user in order to get some testing in advance (I've met this practice in other cases), which never concluded.
Unfortunately, as I mentioned, I'm not too much of a joystick user, so any advice from my part could be only "theoretical". I'm not sure about any other game, but it seems that there are a jscal and a jstest utility to help with calibration, remapping, and testing of a joystick. It could also be that a more recent kernel could know more about specific joystick devices than an older one.
And one last thought -- it could also be that Oolite only provides joystick-wise what SDL offers, which in SDLv1's case could be quite "behind".

Re: Problem with the Saitek X52 joystick under Gentoo linux.

Posted: Sun Dec 16, 2018 6:04 pm
by Amon2501
Today i`ve tried the gog version of X3 Reunion. and the joystick buttons worked fine there. Same kernel, same sdl, same everything, and also X3 R is a way older game than oolite. So it seems that the source of the problem is either the oolite itself either some libs it`s using. Keeping in mind that the windows version showed no problems, then it`s probably the libs or the way it handles the buttons events particularly in linux. But what`s next to figure out the problem?

[Solved] Re: Problem with the Saitek X52 joystick under Gentoo linux.

Posted: Fri Dec 28, 2018 2:45 pm
by Getafix
Could you, please, try renaming the libSDL-1.2.so.0 distributed with Oolite (path should be something like Oolite/oolite-deps/lib) to libSDL-1.2.so.0.oolite and retry?

EDIT
If you installed Oolite as root the default filepath is /opt/Oolite/oolite-deps/lib/libSDL-1.2.so.0
or else the filepath is ~/GNUstep/Applications/Oolite/oolite-deps/lib/libSDL-1.2.so.0

Re: Problem with the Saitek X52 joystick under Gentoo linux.

Posted: Sat Dec 29, 2018 8:00 pm
by Amon2501
Getafix wrote: Fri Dec 28, 2018 2:45 pm
Could you, please, try renaming the libSDL-1.2.so.0 distributed with Oolite (path should be something like Oolite/oolite-deps/lib) to libSDL-1.2.so.0.oolite and retry?

EDIT
If you installed Oolite as root the default filepath is /opt/Oolite/oolite-deps/lib/libSDL-1.2.so.0
or else the filepath is ~/GNUstep/Applications/Oolite/oolite-deps/lib/libSDL-1.2.so.0
WOW! That worked! You`re cool, now everything works fine. I can assign any button of my joystick.

Re: Problem with the Saitek X52 joystick under Gentoo linux.

Posted: Tue Jan 01, 2019 4:27 pm
by Getafix
Amon2501 wrote: Sat Dec 29, 2018 8:00 pm
Getafix wrote: Fri Dec 28, 2018 2:45 pm
Could you, please, try renaming the libSDL-1.2.so.0 distributed with Oolite...
WOW! That worked! You`re cool, now everything works fine. I can assign any button of my joystick.
Nice! 8)
Now go get them Thargons! :D