EnglishGermanFrenchRussianPolishItalianSpanish
Log inRegister
 
X³: TC and AP - Linux support thread
Post new topic Reply to topic Goto page Previous  1, 2, 3 ... 42, 43, 44
View previous topic :: View next topic
Author Message
rmazurek





Joined: 13 Aug 2013
Posts: 79 on topic

Thank you for registering your game
PostPosted: Sun, 30. Jul 17, 03:07    Post subject: Reply with quote Print

I have identical issue with my Saitek x52 (regular, not pro).

Game setup recognize it but it is not working in the game.
It worked several updates ago.

timon37 wrote:
Hi,
The most recent fixes are out in public beta (switching instructions https://forum.egosoft.com/viewtopic.php?t=392992) so anyone who's not afraid can test them;)

I also have something I'd like those with joystick issues to try.
Open a console and do (note it's lower case L and not upper case i):
Quote:
ls -lL /dev/input/by-id/

You'll get something like this:
Quote:
total 0
crw-r----- 1 root root 13, 67 May 12 09:14 usb-046a_0023-event-if01
crw-r----- 1 root root 13, 66 May 12 09:14 usb-046a_0023-event-kbd
crw-r----- 1 root root 13, 68 May 12 09:14 usb-Microsoft_Comfort_Mouse_6000-event-mouse
crw-r----- 1 root root 13, 32 May 12 09:14 usb-Microsoft_Comfort_Mouse_6000-mouse
crw-r----- 1 root root 13, 81 May 12 16:53 usb-©Microsoft_Corporation_Controller_0957272-event-joystick
crw-r--r-- 1 root root 13, 2 May 12 16:53 usb-©Microsoft_Corporation_Controller_0957272-joystick

You'll likely see your joystick twice, once with -event-joystick and another just -joystick.
In the example the event-joystick one doesn't have read permissions for anyone other than root. Then the simple (albeit annoying) workaround is to just do:
Quote:
sudo chmod o+r /dev/input/by-id/usb-©Microsoft_Corporation_Controller_0957272-event-joystick


It does not help.

Back to top
View user's profile Send private message
Tembo123





Joined: 03 Aug 2017

Location: New York, USA

PostPosted: Thu, 3. Aug 17, 04:17    Post subject: Reply with quote Print

Regarding Avaricia's issue on page 42:

I fixed this by downloading the current zlib source code (1.2.11) from their website and making a slight edit to it. It was very easy.

Just extract whatever archive you download from the zlib site (.zip, .tar.gz, w/e) somewhere, then open up the main header file (zlib.h) in whatever your preferred text editor is. Then change the version number to 1.2.9 (from 1.2.11); it will be easy to locate, near the top and in a #define. Then just (in a terminal in the directory) run ./configure followed by make. Locate the new zlib you've compiled (libz.so.1.2.9), copy it into your X3 libs and rename it to libz.so.1 and you should be good to go.

Sorry if I was too detailed, but I wanted to make sure you knew exactly what I did Smile

Edit: Oh, I see there were other solutions posted already. Well, no harm in listing another. I'm new to this old-school forum interface.

Back to top
View user's profile Send private message
lumbrius





Joined: 03 Apr 2011
Posts: 47 on topic

Thank you for registering your game
PostPosted: Tue, 8. Aug 17, 21:50    Post subject: Reply with quote Print

Solved zlib issue by downloading 1.2.9 version from https://zlib.net/fossils/, compiling it and placing into game lib folder

Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic Reply to topic Goto page Previous  1, 2, 3 ... 42, 43, 44
 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum
Control Panel
Login Data
The time now is Thu, 17. Aug 17, 01:35

All times are GMT + 2 Hours


Board Security

Copyright © EGOSOFT 1989-2017
Powered by phpBB © 2001, 2005 phpBB Group
Template created by Avatar & BurnIt!
Debug: page generation = 0.22056 seconds, sql queries = 17