Summary: X-Plane 10 doest not detect joystick on Linux
Symptoms:
Device is not available in X-Plane 10, "Axis" screen is empty.
Hardware tested:
- Bus 001 Device 011: ID 046d:c20d Logitech, Inc. WingMan Attack 2
- Bus 001 Device 010: ID 06a3:0762 Saitek PLC Saitek X52 Pro Flight Control System
- Bus 001 Device 009: ID 06a3:0763 Saitek PLC Pro Flight Rudder Pedals
Steps taken:
- Every tested hardware creates /dev/input/jsX device.
- Every hardware has correct permissions (problem exists after chmod 777 /dev/input/js*).
$ ls -la /dev/input/js0
crwxrwxrwx 1 root input 13, 0 Nov 13 13:19 /dev/input/js0
- Every hardware has been tested with jstest - all axes are usable.
$ jstest /dev/input/js0
Driver version is 2.1.0.
Joystick (Saitek Saitek Pro Flight Rudder Pedals) has 3 axes (X, Y, Rz)
and 0 buttons ().
Testing ... (interrupt to exit)
Axes: 0:-32767 1:-32767 2: 0
- When running Steam under strace, the following is reported about /dev/js0:
[pid 21283] open("/dev/input/js0", O_RDONLY <unfinished ...>
[pid 21283] <... open resumed> ) = 85
[pid 21283] ioctl(85, 0x80804506, 0xffc09058) = -1 EINVAL (Invalid argument)
[pid 21283] close(85 <unfinished ...>
[pid 21283] <... close resumed> ) = 0