It seems that you're using an outdated browser. Some things may not work as they should (or don't work at all).
We suggest you upgrade newer and better browser like: Chrome, Firefox, Internet Explorer or Opera

×
Hi! I can't make the usb xbox one controller to work with soma. I don't have any problem with other games.
My kernel version is 4.9.29 and both joydev and xpad modules are loaded.
This question / problem has been solved by linuxvangogimage
avatar
g.reventlov: Hi! I can't make the usb xbox one controller to work with soma. I don't have any problem with other games.
My kernel version is 4.9.29 and both joydev and xpad modules are loaded.
Hello g.reventlov,

Sorry for the late response! Unfortunately, SOMA on Linux does not support Xbox One controller by default. However, there is a workaround for that issue. You need to replace the SDL2 library shipped with the game with the newer version that supports Xbox One controller.

To do that, you can download precompiled SDL2 library files from this address:

https://github.com/OutOfOrder/SDL2-Binaries/archive/master.zip

Extract the downloaded archive, then move the contents of the unpacked SDL2-Binaries-master/linux/lib64 directory to game/lib64 path inside the SOMA installation folder.

After that, SOMA should be playable with Xbox One controller.

This is an unofficial and unsupported solution and I cannot guarantee that the game will be working properly after this modification. I can only tell you that I tested it very briefly and it works.

Please let me know if you have any questions regarding this workaround.
avatar
linuxvangog: To do that, you can download precompiled SDL2 library files from this address:

https://github.com/OutOfOrder/SDL2-Binaries/archive/master.zip

Extract the downloaded archive, then move the contents of the unpacked SDL2-Binaries-master/linux/lib64 directory to game/lib64 path inside the SOMA installation folder.
Thanks! I confirm that it seems to work. I tested briefly, so I can't tell if force feedback is supported too.
Just a note: I had to copy libSDL2-2.0.so.0.4.1 to the destination folder, set execution permission with chmod and recreate the two symlinks (libSDL2.so and libSDL2-2.0.so.0) by hand. That's because zip files can't support symlinks and unix attributes.


EDIT: Force feedback works too... It scared me. Damn!
Post edited July 03, 2017 by g.reventlov
avatar
linuxvangog: To do that, you can download precompiled SDL2 library files from this address:

https://github.com/OutOfOrder/SDL2-Binaries/archive/master.zip

Extract the downloaded archive, then move the contents of the unpacked SDL2-Binaries-master/linux/lib64 directory to game/lib64 path inside the SOMA installation folder.
avatar
g.reventlov: Thanks! I confirm that it seems to work. I tested briefly, so I can't tell if force feedback is supported too.
Just a note: I had to copy libSDL2-2.0.so.0.4.1 to the destination folder, set execution permission with chmod and recreate the two symlinks (libSDL2.so and libSDL2-2.0.so.0) by hand. That's because zip files can't support symlinks and unix attributes.
I'm glad I could help!

In my experience zip preserves symlinks and file attributes alright, I always use regular zip and unzip commands (by Info-ZIP) or File Roller :)
avatar
linuxvangog: In my experience zip preserves symlinks and file attributes alright, I always use regular zip and unzip commands (by Info-ZIP) or File Roller :)
You are right. unzip preserves attributes and links. I used kde's ark which uses info-zip but, for some reason, does not preserve them.
avatar
g.reventlov: Thanks! I confirm that it seems to work. I tested briefly, so I can't tell if force feedback is supported too.
Just a note: I had to copy libSDL2-2.0.so.0.4.1 to the destination folder, set execution permission with chmod and recreate the two symlinks (libSDL2.so and libSDL2-2.0.so.0) by hand. That's because zip files can't support symlinks and unix attributes.
avatar
linuxvangog: I'm glad I could help!

In my experience zip preserves symlinks and file attributes alright, I always use regular zip and unzip commands (by Info-ZIP) or File Roller :)
Thank you. This worked for me