I am currently trying to setup a multi wheel and console environment.
My setup:
2x Logitech Driving Force GT
2x DIY Adapter (firmware version 5.8)
2x PS4
2x GT Sport
Ubuntu 16.04 - GIMX 6.11 x86_64
Both adapters are working fine, as if I am using two PCs (for each wheel one) it works perfectly.
To start GIMX to work with two wheels I am running following command:
Code: Select all
gimx -c 'LogitechDrivingForceGT_G29_two.xml' -p /dev/ttyUSB1 -p /dev/ttyUSB0 --nograb
Now to my issue: Both wheels properly connect two one of the PS4 systems, I am able to navigate through the PS4 menu and to start GT Sport. But as I start a race and take control over a car, GIMIX crashes with (log is attached):
Code: Select all
Segmentation fault (core dumped)
I also tried to use an older GIMX version, like 6.6. With this version the multiple wheel setup is working most of the time, but sometimes GIMX throws a lot of
Code: Select all
libusb_transfer failed with status LIBUSB_TRANSFER_TIMED_OUT (endpoint=0x01)
Has anyone else experienced such problems? How can I capture more debug output to help fix this problem?
Best regards
Markus
PS: I do own a core dump of such a crash. I can provide it if it is needed for further debugging.
Log:
Code: Select all
global option -l with value `segmentation_fault.txt'
grab flag is unset
GIMX 6.11 x86_64
Ubuntu 16.04.3 LTS
Linux 4.4.0-104-generic #127-Ubuntu SMP Mon Dec 11 12:16:42 UTC 2017 x86_64
Bus 001 Device 002: ID 8087:8000 Intel Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 002 Device 005: ID 8087:07dc Intel Corp.
Bus 002 Device 004: ID 0bda:572a Realtek Semiconductor Corp.
Bus 002 Device 003: ID 046d:c52f Logitech, Inc. Unifying Receiver
Bus 002 Device 015: ID 046d:c29a Logitech, Inc.
Bus 002 Device 009: ID 10c4:803b Cygnal Integrated Products, Inc.
Bus 002 Device 008: ID 054c:05c4 Sony Corp. DualShock 4
Bus 002 Device 013: ID 054c:05c4 Sony Corp. DualShock 4
Bus 002 Device 012: ID 10c4:ea60 Cygnal Integrated Products, Inc. CP210x UART Bridge / myAVR mySmartUSB light
Bus 002 Device 014: ID 046d:c29a Logitech, Inc.
Bus 002 Device 007: ID 05e3:0608 Genesys Logic, Inc. Hub
Bus 002 Device 006: ID 05e3:0608 Genesys Logic, Inc. Hub
Bus 002 Device 002: ID 04f3:024c Elan Microelectronics Corp.
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
/: Bus 03.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 5000M
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/9p, 480M
|__ Port 1: Dev 2, If 0, Class=Human Interface Device, Driver=usbhid, 12M
|__ Port 2: Dev 6, If 0, Class=Hub, Driver=hub/4p, 480M
|__ Port 1: Dev 7, If 0, Class=Hub, Driver=hub/4p, 480M
|__ Port 1: Dev 14, If 0, Class=Human Interface Device, Driver=, 12M
|__ Port 2: Dev 12, If 0, Class=Vendor Specific Class, Driver=cp210x, 12M
|__ Port 3: Dev 13, If 0, Class=Human Interface Device, Driver=, 12M
|__ Port 2: Dev 8, If 0, Class=Human Interface Device, Driver=, 12M
|__ Port 3: Dev 9, If 0, Class=Vendor Specific Class, Driver=cp210x, 12M
|__ Port 4: Dev 15, If 0, Class=Human Interface Device, Driver=, 12M
|__ Port 4: Dev 3, If 0, Class=Human Interface Device, Driver=usbhid, 12M
|__ Port 4: Dev 3, If 1, Class=Human Interface Device, Driver=usbhid, 12M
|__ Port 5: Dev 4, If 0, Class=Video, Driver=uvcvideo, 480M
|__ Port 5: Dev 4, If 1, Class=Video, Driver=uvcvideo, 480M
|__ Port 6: Dev 5, If 0, Class=Wireless, Driver=btusb, 12M
|__ Port 6: Dev 5, If 1, Class=Wireless, Driver=btusb, 12M
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/2p, 480M
|__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/8p, 480M
USB adapter detected, controller type is: G29 PS4.
USB adapter detected, controller type is: G29 PS4.
using default refresh period: 5.00ms
native mode is already enabled for HID device 02:02:04:00:00 (PID=c29a)
native mode is already enabled for HID device 02:02:01:01:00:00 (PID=c29a)
mouse 0 has name 'Logitech USB Receiver' and virtual id 0
mouse 1 has name 'Logitech USB Receiver' and virtual id 1
keyboard 0 has name 'Power Button' and virtual id 0
keyboard 1 has name 'Logitech USB Receiver' and virtual id 0
keyboard 2 has name 'Lenovo EasyCamera' and virtual id 0
keyboard 3 has name 'Power Button' and virtual id 1
keyboard 4 has name 'AT Translated Set 2 keyboard' and virtual id 0
keyboard 5 has name 'Video Bus' and virtual id 0
keyboard 6 has name 'Video Bus' and virtual id 1
keyboard 7 has name 'Ideapad extra buttons' and virtual id 0
joystick 0 has name 'Sony Computer Entertainment Wireless Controller' and virtual id 0
joystick 1 has name 'Sony Computer Entertainment Wireless Controller' and virtual id 1
joystick 2 has name 'Driving Force GT' and virtual id 0
joystick 3 has name 'Driving Force GT' and virtual id 1
FFB device: Driving Force GT 0 (direct translation).
Press the PS button to activate the controller.
Press the PS button to activate the controller.
wheel range adjusted to 900 degrees
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<root>
<controller id="1" dpi="0" type="G29 PS4">
<configuration id="1">
<trigger type="" id="" name="" button_id="" switch_back="no" delay="0"/>
<mouse_options_list/>
<intensity_list/>
<button_map>
<button id="abs_axis_3" label="">
<device type="joystick" id="0" name="Driving Force GT"/>
<event type="button" id="21"/>
</button>
<button id="abs_axis_6" label="">
<device type="joystick" id="0" name="Driving Force GT"/>
<event type="button" id="24"/>
</button>
<button id="abs_axis_4" label="">
<device type="joystick" id="0" name="Driving Force GT"/>
<event type="button" id="22"/>
</button>
<button id="abs_axis_5" label="">
<device type="joystick" id="0" name="Driving Force GT"/>
<event type="button" id="23"/>
</button>
<button id="abs_axis_2" label="">
<device type="joystick" id="0" name="Driving Force GT"/>
<event type="button" id="20"/>
</button>
<button id="abs_axis_0" label="">
<device type="joystick" id="0" name="Driving Force GT"/>
<event type="button" id="8"/>
</button>
<button id="abs_axis_1" label="">
<device type="joystick" id="0" name="Driving Force GT"/>
<event type="button" id="9"/>
</button>
<button id="abs_axis_13" label="">
<device type="joystick" id="0" name="Driving Force GT"/>
<event type="button" id="7"/>
</button>
<button id="abs_axis_14" label="">
<device type="joystick" id="0" name="Driving Force GT"/>
<event type="button" id="6"/>
</button>
<button id="abs_axis_11" label="">
<device type="joystick" id="0" name="Driving Force GT"/>
<event type="button" id="5"/>
</button>
<button id="abs_axis_12" label="">
<device type="joystick" id="0" name="Driving Force GT"/>
<event type="button" id="4"/>
</button>
<button id="abs_axis_7" label="">
<device type="joystick" id="0" name="Driving Force GT"/>
<event type="button" id="3"/>
</button>
<button id="abs_axis_8" label="">
<device type="joystick" id="0" name="Driving Force GT"/>
<event type="button" id="2"/>
</button>
<button id="abs_axis_9" label="">
<device type="joystick" id="0" name="Driving Force GT"/>
<event type="button" id="0"/>
</button>
<button id="abs_axis_10" label="">
<device type="joystick" id="0" name="Driving Force GT"/>
<event type="button" id="1"/>
</button>
<button id="abs_axis_15" label="">
<device type="joystick" id="0" name="Driving Force GT"/>
<event type="button" id="11"/>
</button>
<button id="abs_axis_16" label="">
<device type="joystick" id="0" name="Driving Force GT"/>
<event type="button" id="10"/>
</button>
<button id="abs_axis_12" label="">
<device type="joystick" id="0" name="Driving Force GT"/>
<event type="button" id="12"/>
</button>
<button id="abs_axis_11" label="">
<device type="joystick" id="0" name="Driving Force GT"/>
<event type="button" id="13"/>
</button>
<button id="abs_axis_10" label="">
<device type="joystick" id="0" name="Sony Computer Entertainment Wireless Controller"/>
<event type="button" id="0"/>
</button>
<button id="abs_axis_9" label="">
<device type="joystick" id="0" name="Sony Computer Entertainment Wireless Controller"/>
<event type="button" id="1"/>
</button>
<button id="abs_axis_8" label="">
<device type="joystick" id="0" name="Sony Computer Entertainment Wireless Controller"/>
<event type="button" id="2"/>
</button>
<button id="abs_axis_7" label="">
<device type="joystick" id="0" name="Sony Computer Entertainment Wireless Controller"/>
<event type="button" id="3"/>
</button>
<button id="abs_axis_11" label="">
<device type="joystick" id="0" name="Sony Computer Entertainment Wireless Controller"/>
<event type="button" id="4"/>
</button>
<button id="abs_axis_12" label="">
<device type="joystick" id="0" name="Sony Computer Entertainment Wireless Controller"/>
<event type="button" id="5"/>
</button>
<button id="abs_axis_0" label="">
<device type="joystick" id="0" name="Sony Computer Entertainment Wireless Controller"/>
<event type="button" id="8"/>
</button>
<button id="abs_axis_1" label="">
<device type="joystick" id="0" name="Sony Computer Entertainment Wireless Controller"/>
<event type="button" id="9"/>
</button>
<button id="abs_axis_15" label="">
<device type="joystick" id="0" name="Sony Computer Entertainment Wireless Controller"/>
<event type="button" id="10"/>
</button>
<button id="abs_axis_16" label="">
<device type="joystick" id="0" name="Sony Computer Entertainment Wireless Controller"/>
<event type="button" id="11"/>
</button>
<button id="abs_axis_2" label="">
<device type="joystick" id="0" name="Sony Computer Entertainment Wireless Controller"/>
<event type="button" id="12"/>
</button>
<button id="abs_axis_3" label="">
<device type="joystick" id="0" name="Sony Computer Entertainment Wireless Controller"/>
<event type="button" id="14"/>
</button>
<button id="abs_axis_4" label="">
<device type="joystick" id="0" name="Sony Computer Entertainment Wireless Controller"/>
<event type="button" id="15"/>
</button>
<button id="abs_axis_5" label="">
<device type="joystick" id="0" name="Sony Computer Entertainment Wireless Controller"/>
<event type="button" id="16"/>
</button>
<button id="abs_axis_6" label="">
<device type="joystick" id="0" name="Sony Computer Entertainment Wireless Controller"/>
<event type="button" id="17"/>
</button>
<button id="abs_axis_27" label="">
<device type="joystick" id="0" name="Driving Force GT"/>
<event type="button" id="15"/>
</button>
<button id="abs_axis_28" label="">
<device type="joystick" id="0" name="Driving Force GT"/>
<event type="button" id="18"/>
</button>
<button id="abs_axis_29" label="">
<device type="joystick" id="0" name="Driving Force GT"/>
<event type="button" id="16"/>
</button>
<button id="abs_axis_30" label="">
<device type="joystick" id="0" name="Driving Force GT"/>
<event type="button" id="17"/>
</button>
<button id="abs_axis_31" label="">
<device type="joystick" id="0" name="Driving Force GT"/>
<event type="button" id="14"/>
</button>
</button_map>
<axis_map>
<axis id="rel_axis_0" label="wheel">
<device type="joystick" id="0" name="Driving Force GT"/>
<event type="axis" id="0" dead_zone="0" multiplier="0.0039" exponent="1.00" shape=""/>
</axis>
<axis id="abs_axis_17" label="gas">
<device type="joystick" id="0" name="Driving Force GT"/>
<event type="axis" id="1" dead_zone="0" multiplier="0.008" exponent="1.00" shape=""/>
</axis>
<axis id="abs_axis_18" label="brake">
<device type="joystick" id="0" name="Driving Force GT"/>
<event type="axis" id="2" dead_zone="0" multiplier="0.008" exponent="1.00" shape=""/>
</axis>
</axis_map>
<joystick_corrections_list>
<correction low_value="32767" low_coef="-8192" high_value="0" high_coef="0">
<device type="joystick" id="0" name="Driving Force GT"/>
<event type="axis" id="1"/>
</correction>
<correction low_value="32767" low_coef="-8192" high_value="0" high_coef="0">
<device type="joystick" id="0" name="Driving Force GT"/>
<event type="axis" id="2"/>
</correction>
</joystick_corrections_list>
</configuration>
</controller>
<controller id="2" dpi="0" type="G29 PS4">
<configuration id="1">
<trigger type="" id="" name="" button_id="" switch_back="no" delay="0"/>
<mouse_options_list/>
<intensity_list/>
<button_map>
<button id="abs_axis_3" label="">
<device type="joystick" id="1" name="Driving Force GT"/>
<event type="button" id="21"/>
</button>
<button id="abs_axis_6" label="">
<device type="joystick" id="1" name="Driving Force GT"/>
<event type="button" id="24"/>
</button>
<button id="abs_axis_4" label="">
<device type="joystick" id="1" name="Driving Force GT"/>
<event type="button" id="22"/>
</button>
<button id="abs_axis_5" label="">
<device type="joystick" id="1" name="Driving Force GT"/>
<event type="button" id="23"/>
</button>
<button id="abs_axis_2" label="">
<device type="joystick" id="1" name="Driving Force GT"/>
<event type="button" id="20"/>
</button>
<button id="abs_axis_0" label="">
<device type="joystick" id="1" name="Driving Force GT"/>
<event type="button" id="8"/>
</button>
<button id="abs_axis_1" label="">
<device type="joystick" id="1" name="Driving Force GT"/>
<event type="button" id="9"/>
</button>
<button id="abs_axis_13" label="">
<device type="joystick" id="1" name="Driving Force GT"/>
<event type="button" id="7"/>
</button>
<button id="abs_axis_14" label="">
<device type="joystick" id="1" name="Driving Force GT"/>
<event type="button" id="6"/>
</button>
<button id="abs_axis_11" label="">
<device type="joystick" id="1" name="Driving Force GT"/>
<event type="button" id="5"/>
</button>
<button id="abs_axis_12" label="">
<device type="joystick" id="1" name="Driving Force GT"/>
<event type="button" id="4"/>
</button>
<button id="abs_axis_7" label="">
<device type="joystick" id="1" name="Driving Force GT"/>
<event type="button" id="3"/>
</button>
<button id="abs_axis_8" label="">
<device type="joystick" id="1" name="Driving Force GT"/>
<event type="button" id="2"/>
</button>
<button id="abs_axis_9" label="">
<device type="joystick" id="1" name="Driving Force GT"/>
<event type="button" id="0"/>
</button>
<button id="abs_axis_10" label="">
<device type="joystick" id="1" name="Driving Force GT"/>
<event type="button" id="1"/>
</button>
<button id="abs_axis_15" label="">
<device type="joystick" id="1" name="Driving Force GT"/>
<event type="button" id="11"/>
</button>
<button id="abs_axis_16" label="">
<device type="joystick" id="1" name="Driving Force GT"/>
<event type="button" id="10"/>
</button>
<button id="abs_axis_12" label="">
<device type="joystick" id="1" name="Driving Force GT"/>
<event type="button" id="12"/>
</button>
<button id="abs_axis_11" label="">
<device type="joystick" id="1" name="Driving Force GT"/>
<event type="button" id="13"/>
</button>
<button id="abs_axis_10" label="">
<device type="joystick" id="1" name="Sony Computer Entertainment Wireless Controller"/>
<event type="button" id="0"/>
</button>
<button id="abs_axis_9" label="">
<device type="joystick" id="1" name="Sony Computer Entertainment Wireless Controller"/>
<event type="button" id="1"/>
</button>
<button id="abs_axis_8" label="">
<device type="joystick" id="1" name="Sony Computer Entertainment Wireless Controller"/>
<event type="button" id="2"/>
</button>
<button id="abs_axis_7" label="">
<device type="joystick" id="1" name="Sony Computer Entertainment Wireless Controller"/>
<event type="button" id="3"/>
</button>
<button id="abs_axis_11" label="">
<device type="joystick" id="1" name="Sony Computer Entertainment Wireless Controller"/>
<event type="button" id="4"/>
</button>
<button id="abs_axis_12" label="">
<device type="joystick" id="1" name="Sony Computer Entertainment Wireless Controller"/>
<event type="button" id="5"/>
</button>
<button id="abs_axis_0" label="">
<device type="joystick" id="1" name="Sony Computer Entertainment Wireless Controller"/>
<event type="button" id="8"/>
</button>
<button id="abs_axis_1" label="">
<device type="joystick" id="1" name="Sony Computer Entertainment Wireless Controller"/>
<event type="button" id="9"/>
</button>
<button id="abs_axis_15" label="">
<device type="joystick" id="1" name="Sony Computer Entertainment Wireless Controller"/>
<event type="button" id="10"/>
</button>
<button id="abs_axis_16" label="">
<device type="joystick" id="1" name="Sony Computer Entertainment Wireless Controller"/>
<event type="button" id="11"/>
</button>
<button id="abs_axis_2" label="">
<device type="joystick" id="1" name="Sony Computer Entertainment Wireless Controller"/>
<event type="button" id="12"/>
</button>
<button id="abs_axis_3" label="">
<device type="joystick" id="1" name="Sony Computer Entertainment Wireless Controller"/>
<event type="button" id="14"/>
</button>
<button id="abs_axis_4" label="">
<device type="joystick" id="1" name="Sony Computer Entertainment Wireless Controller"/>
<event type="button" id="15"/>
</button>
<button id="abs_axis_5" label="">
<device type="joystick" id="1" name="Sony Computer Entertainment Wireless Controller"/>
<event type="button" id="16"/>
</button>
<button id="abs_axis_6" label="">
<device type="joystick" id="1" name="Sony Computer Entertainment Wireless Controller"/>
<event type="button" id="17"/>
</button>
<button id="abs_axis_27" label="">
<device type="joystick" id="1" name="Driving Force GT"/>
<event type="button" id="15"/>
</button>
<button id="abs_axis_28" label="">
<device type="joystick" id="1" name="Driving Force GT"/>
<event type="button" id="18"/>
</button>
<button id="abs_axis_29" label="">
<device type="joystick" id="1" name="Driving Force GT"/>
<event type="button" id="16"/>
</button>
<button id="abs_axis_30" label="">
<device type="joystick" id="1" name="Driving Force GT"/>
<event type="button" id="17"/>
</button>
<button id="abs_axis_31" label="">
<device type="joystick" id="1" name="Driving Force GT"/>
<event type="button" id="14"/>
</button>
</button_map>
<axis_map>
<axis id="rel_axis_0" label="wheel">
<device type="joystick" id="1" name="Driving Force GT"/>
<event type="axis" id="0" dead_zone="0" multiplier="0.0039" exponent="1.00" shape=""/>
</axis>
<axis id="abs_axis_17" label="gas">
<device type="joystick" id="1" name="Driving Force GT"/>
<event type="axis" id="1" dead_zone="0" multiplier="0.008" exponent="1.00" shape=""/>
</axis>
<axis id="abs_axis_18" label="brake">
<device type="joystick" id="1" name="Driving Force GT"/>
<event type="axis" id="2" dead_zone="0" multiplier="0.008" exponent="1.00" shape=""/>
</axis>
</axis_map>
<joystick_corrections_list>
<correction low_value="32767" low_coef="-8192" high_value="0" high_coef="0">
<device type="joystick" id="1" name="Driving Force GT"/>
<event type="axis" id="1"/>
</correction>
<correction low_value="32767" low_coef="-8192" high_value="0" high_coef="0">
<device type="joystick" id="1" name="Driving Force GT"/>
<event type="axis" id="2"/>
</correction>
</joystick_corrections_list>
</configuration>
</controller>
</root>