G25 with GIMX 8.0 on RPi4B

Need help? Ask here and someone will help
stu.cz
Posts: 29
Joined: Thu May 21, 2020 8:51 am

G25 with GIMX 8.0 on RPi4B

Post by stu.cz »

Hi.
I had the RPi3B where I had GIMX 6.5 - everything work fine with my G25. But I sold RPi3B and bought RPi4B -
Now I have the same issue like others - LIBUSB_TRANSFER_TIMED_OUT
I installed GIMX on my PC Windows 10 and it work perfect.
May you try to help me?
Thank you very much.
Here is log:

Code: Select all

Raspbian GNU/Linux 10 (buster)
Linux 4.19.97-v7l+ #1294 SMP Thu Jan 30 13:21:14 GMT 2020 unknown
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 006: ID 054c:05c4 Sony Corp. DualShock 4 [CUH-ZCT1x]
Bus 001 Device 007: ID 046d:c299 Logitech, Inc. G25 Racing Wheel
Bus 001 Device 004: ID 10c4:ea60 Cygnal Integrated Products, Inc. CP2102/CP2109 UART Bridge Controller [CP210x family]
Bus 001 Device 003: ID 0458:00ea KYE Systems Corp. (Mouse Systems) 
Bus 001 Device 002: ID 2109:3431 VIA Labs, Inc. Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
/:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 5000M
/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/1p, 480M
    |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/4p, 480M
        |__ Port 1: Dev 3, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
        |__ Port 2: Dev 4, If 0, Class=Vendor Specific Class, Driver=cp210x, 12M
        |__ Port 3: Dev 7, If 0, Class=Human Interface Device, Driver=usbhid, 12M
        |__ Port 4: Dev 6, If 0, Class=Human Interface Device, Driver=usbhid, 12M
global option -l with value `log.txt'
global option -c with value `LogitechG25_G29.xml'
controller #1: option -p with value `/dev/ttyUSB0'
now reading arguments for controller #2
status flag is set
subpos flag is set
force_updates flag is set
auto-grab flag is set
GIMX 8.0 ARMv6
GIMX adapter detected, controller type is: G29 PS4.
Firmware version: 8.0
Reset sent to the GIMX adapter.
Current baudrate: 500000 bps.
Trying baudrate: 2000000 bps.
Trying baudrate: 1000000 bps.
Trying baudrate: 500000 bps.
Using baudrate: 500000 bps.
found pass-through device 0x054c:0x05c4
registered joystick 0 with name "Sony Computer Entertainment Wireless Controller"
using default refresh period: 5.00ms
native mode is already enabled for HID device 01:01:03:00:00 (PID=c299)
mouse 0 has name 'Genius 2.4G Wireless Mouse Mouse' and virtual id 0
mouse 1 has name 'Genius 2.4G Wireless Mouse Consumer Control' and virtual id 0
keyboard 0 has name 'Genius 2.4G Wireless Mouse System Control' and virtual id 0
keyboard 1 has name 'Genius 2.4G Wireless Mouse Consumer Control' and virtual id 0
joystick 0 has name 'Sony Computer Entertainment Wireless Controller' and virtual id 0
joystick 1 has name 'G25 Racing Wheel' and virtual id 0
Dump of /home/pi/.gimx/config/LogitechG25_G29.xml:
<?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_1" label="">
          <device type="joystick" id="0" name="G25 Racing Wheel"/>
          <event type="button" id="8"/>
        </button>
        <button id="abs_axis_15" label="">
          <device type="joystick" id="0" name="G25 Racing Wheel"/>
          <event type="button" id="9"/>
        </button>
        <correction low_value="32767" low_coef="-8192" high_value="0" high_coef="0">
          <device type="joystick" id="0" name="G25 Racing Wheel"/>
          <event type="axis" id="3"/>
        </correction>
      </joystick_corrections_list>
    </configuration>
  </controller>
</root>
[01;33mWarning: [0mmacros are not available for: joystick Sony Computer Entertainment Wireless Controller (0)
Haptic core has source haptic_source_lg for device 046d:c260
Haptic core has sink haptic_sink_lg for joystick 1 (G25 Racing Wheel)
FFB invert: no
FFB gain: constant=100 spring=100 damper=100
Press the key/button assigned to PS.
0 3.566540
0 0.353311, wheel (-221), PS (255)
0.388583 debug packet received (size = 1 bytes)
0x31 
[01;33mWarning: [0mskipping unsupported command DEFAULT_SPRING_ON
wheel range adjusted to 900 degrees
[01;33mWarning: [0m< skipping unsupported set leds commands
[01;33mWarning: [0mskipping unsupported command DEFAULT_SPRING_OFF
0 0.493245, wheel (-221)
0 1.138335, wheel (-221), cross (255)
0 1.263291, wheel (-221)
0 1.413299, wheel (-213)
0 1.423292, wheel (-205)
0 1.433332, wheel (-201)
0 1.443270, wheel (-193)
0 1.058298, wheel (-1099)
libusb_transfer failed with status LIBUSB_TRANSFER_TIMED_OUT (endpoint=0x01)
libusb_transfer failed with status LIBUSB_TRANSFER_TIMED_OUT (endpoint=0x01)
libusb_transfer failed with status LIBUSB_TRANSFER_TIMED_OUT (endpoint=0x01)
libusb_transfer failed with status LIBUSB_TRANSFER_TIMED_OUT (endpoint=0x01)
libusb_transfer failed with status LIBUSB_TRANSFER_TIMED_OUT (endpoint=0x01)
libusb_transfer failed with status LIBUSB_TRANSFER_TIMED_OUT (endpoint=0x01)
libusb_transfer failed with status LIBUSB_TRANSFER_TIMED_OUT (endpoint=0x01)
libusb_transfer failed with status LIBUSB_TRANSFER_TIMED_OUT (endpoint=0x01)
libusb_transfer failed with status LIBUSB_TRANSFER_TIMED_OUT (endpoint=0x01)
libusb_transfer failed with status LIBUSB_TRANSFER_TIMED_OUT (endpoint=0x01)
libusb_transfer failed with status LIBUSB_TRANSFER_TIMED_OUT (endpoint=0x01)
libusb_transfer failed with status LIBUSB_TRANSFER_TIMED_OUT (endpoint=0x01)
libusb_transfer failed with status LIBUSB_TRANSFER_TIMED_OUT (endpoint=0x01)
libusb_transfer failed with status LIBUSB_TRANSFER_TIMED_OUT (endpoint=0x01)
libusb_transfer failed with status LIBUSB_TRANSFER_TIMED_OUT (endpoint=0x01)
libusb_transfer failed with status LIBUSB_TRANSFER_TIMED_OUT (endpoint=0x01)
libusb_transfer failed with status LIBUSB_TRANSFER_TIMED_OUT (endpoint=0x01)
libusb_transfer failed with status LIBUSB_TRANSFER_TIMED_OUT (endpoint=0x01)
libusb_transfer failed with status LIBUSB_TRANSFER_TIMED_OUT (endpoint=0x01)
libusb_transfer failed with status LIBUSB_TRANSFER_TIMED_OUT (endpoint=0x01)
libusb_transfer failed with status LIBUSB_TRANSFER_TIMED_OUT (endpoint=0x01)
libusb_transfer failed with status LIBUSB_TRANSFER_TIMED_OUT (endpoint=0x01)
libusb_transfer failed with status LIBUSB_TRANSFER_TIMED_OUT (endpoint=0x01)
libusb_transfer failed with status LIBUSB_TRANSFER_TIMED_OUT (endpoint=0x01)
libusb_transfer failed with status LIBUSB_TRANSFER_TIMED_OUT (endpoint=0x01)
libusb_transfer failed with status LIBUSB_TRANSFER_TIMED_OUT (endpoint=0x01)
libusb_transfer failed with status LIBUSB_TRANSFER_TIMED_OUT (endpoint=0x01)
libusb_transfer failed with status LIBUSB_TRANSFER_TIMED_OUT (endpoint=0x01)
libusb_transfer failed with status LIBUSB_TRANSFER_TIMED_OUT (endpoint=0x01)
libusb_transfer failed with status LIBUSB_TRANSFER_TIMED_OUT (endpoint=0x01)
libusb_transfer failed with status LIBUSB_TRANSFER_TIMED_OUT (endpoint=0x01)
libusb_transfer failed with status LIBUSB_TRANSFER_TIMED_OUT (endpoint=0x01)
libusb_transfer failed with status LIBUSB_TRANSFER_TIMED_OUT (endpoint=0x01)
libusb_transfer failed with status LIBUSB_TRANSFER_TIMED_OUT (endpoint=0x01)
libusb_transfer failed with status LIBUSB_TRANSFER_TIMED_OUT (endpoint=0x01)
libusb_transfer failed with status LIBUSB_TRANSFER_TIMED_OUT (endpoint=0x01)
libusb_transfer failed with status LIBUSB_TRANSFER_TIMED_OUT (endpoint=0x01)
libusb_transfer failed with status LIBUSB_TRANSFER_TIMED_OUT (endpoint=0x01)
libusb_transfer failed with status LIBUSB_TRANSFER_TIMED_OUT (endpoint=0x01)
libusb_transfer failed with status LIBUSB_TRANSFER_TIMED_OUT (endpoint=0x01)
libusb_transfer failed with status LIBUSB_TRANSFER_TIMED_OUT (endpoint=0x01)
libusb_transfer failed with status LIBUSB_TRANSFER_TIMED_OUT (endpoint=0x01)
libusb_transfer failed with status LIBUSB_TRANSFER_TIMED_OUT (endpoint=0x01)
libusb_transfer failed with status LIBUSB_TRANSFER_TIMED_OUT (endpoint=0x01)
libusb_transfer failed with status LIBUSB_TRANSFER_TIMED_OUT (endpoint=0x01)
libusb_transfer failed with status LIBUSB_TRANSFER_TIMED_OUT (endpoint=0x01)
libusb_transfer failed with status LIBUSB_TRANSFER_TIMED_OUT (endpoint=0x01)
libusb_transfer failed with status LIBUSB_TRANSFER_TIMED_OUT (endpoint=0x01)
libusb_transfer failed with status LIBUSB_TRANSFER_TIMED_OUT (endpoint=0x01)
libusb_transfer failed with status LIBUSB_TRANSFER_TIMED_OUT (endpoint=0x01)
libusb_transfer failed with status LIBUSB_TRANSFER_TIMED_OUT (endpoint=0x01)
libusb_transfer failed with status LIBUSB_TRANSFER_TIMED_OUT (endpoint=0x01)
libusb_transfer failed with status LIBUSB_TRANSFER_TIMED_OUT (endpoint=0x01)
libusb_transfer failed with status LIBUSB_TRANSFER_TIMED_OUT (endpoint=0x01)
libusb_transfer failed with status LIBUSB_TRANSFER_TIMED_OUT (endpoint=0x01)
libusb_transfer failed with status LIBUSB_TRANSFER_TIMED_OUT (endpoint=0x01)
libusb_transfer failed with status LIBUSB_TRANSFER_TIMED_OUT (endpoint=0x01)
libusb_transfer failed with status LIBUSB_TRANSFER_TIMED_OUT (endpoint=0x01)
libusb_transfer failed with status LIBUSB_TRANSFER_TIMED_OUT (endpoint=0x01)
libusb_transfer failed with status LIBUSB_TRANSFER_TIMED_OUT (endpoint=0x01)
libusb_transfer failed with status LIBUSB_TRANSFER_TIMED_OUT (endpoint=0x01)
libusb_transfer failed with status LIBUSB_TRANSFER_TIMED_OUT (endpoint=0x01)
libusb_transfer failed with status LIBUSB_TRANSFER_TIMED_OUT (endpoint=0x01)
libusb_transfer failed with status LIBUSB_TRANSFER_TIMED_OUT (endpoint=0x01)
libusb_transfer failed with status LIBUSB_TRANSFER_TIMED_OUT (endpoint=0x01)
libusb_transfer failed with status LIBUSB_TRANSFER_TIMED_OUT (endpoint=0x01)
libusb_transfer failed with status LIBUSB_TRANSFER_TIMED_OUT (endpoint=0x01)
libusb_transfer failed with status LIBUSB_TRANSFER_TIMED_OUT (endpoint=0x01)
libusb_transfer failed with status LIBUSB_TRANSFER_TIMED_OUT (endpoint=0x01)
libusb_transfer failed with status LIBUSB_TRANSFER_TIMED_OUT (endpoint=0x01)
libusb_transfer failed with status LIBUSB_TRANSFER_TIMED_OUT (endpoint=0x01)
libusb_transfer failed with status LIBUSB_TRANSFER_TIMED_OUT (endpoint=0x01)
libusb_transfer failed with status LIBUSB_TRANSFER_TIMED_OUT (endpoint=0x01)
libusb_transfer failed with status LIBUSB_TRANSFER_TIMED_OUT (endpoint=0x01)
libusb_transfer failed with status LIBUSB_TRANSFER_TIMED_OUT (endpoint=0x01)
libusb_transfer failed with status LIBUSB_TRANSFER_TIMED_OUT (endpoint=0x01)
libusb_transfer failed with status LIBUSB_TRANSFER_TIMED_OUT (endpoint=0x01)
libusb_transfer failed with status LIBUSB_TRANSFER_TIMED_OUT (endpoint=0x01)
libusb_transfer failed with status LIBUSB_TRANSFER_TIMED_OUT (endpoint=0x01)
libusb_transfer failed with status LIBUSB_TRANSFER_TIMED_OUT (endpoint=0x01)
libusb_transfer failed with status LIBUSB_TRANSFER_TIMED_OUT (endpoint=0x01)
libusb_transfer failed with status LIBUSB_TRANSFER_TIMED_OUT (endpoint=0x01)
libusb_transfer failed with status LIBUSB_TRANSFER_TIMED_OUT (endpoint=0x01)
libusb_transfer failed with status LIBUSB_TRANSFER_TIMED_OUT (endpoint=0x01)
libusb_transfer failed with status LIBUSB_TRANSFER_TIMED_OUT (endpoint=0x01)
libusb_transfer failed with status LIBUSB_TRANSFER_TIMED_OUT (endpoint=0x01)
libusb_transfer failed with status LIBUSB_TRANSFER_TIMED_OUT (endpoint=0x01)
libusb_transfer failed with status LIBUSB_TRANSFER_TIMED_OUT (endpoint=0x01)
libusb_transfer failed with status LIBUSB_TRANSFER_TIMED_OUT (endpoint=0x01)
libusb_transfer failed with status LIBUSB_TRANSFER_TIMED_OUT (endpoint=0x01)
libusb_transfer failed with status LIBUSB_TRANSFER_TIMED_OUT (endpoint=0x01)
libusb_transfer failed with status LIBUSB_TRANSFER_TIMED_OUT (endpoint=0x01)
libusb_transfer failed with status LIBUSB_TRANSFER_TIMED_OUT (endpoint=0x01)
libusb_transfer failed with status LIBUSB_TRANSFER_TIMED_OUT (endpoint=0x01)
libusb_transfer failed with status LIBUSB_TRANSFER_TIMED_OUT (endpoint=0x01)
libusb_transfer failed with status LIBUSB_TRANSFER_TIMED_OUT (endpoint=0x01)
libusb_transfer failed with status LIBUSB_TRANSFER_TIMED_OUT (endpoint=0x01)
libusb_transfer failed with status LIBUSB_TRANSFER_TIMED_OUT (endpoint=0x01)
libusb_transfer failed with status LIBUSB_TRANSFER_TIMED_OUT (endpoint=0x01)
0 3.108338, wheel (-1091)
libusb_transfer failed with status LIBUSB_TRANSFER_TIMED_OUT (endpoint=0x01)
0 3.113348, wheel (4678)
libusb_transfer failed with status LIBUSB_TRANSFER_TIMED_OUT (endpoint=0x01)
0 3.143330, wheel (4674)
0 3.148325, wheel (4666)
0 3.153339, wheel (4658)

kamperkilla87
Posts: 144
Joined: Tue Mar 13, 2018 7:10 am

Re: Need help!

Post by kamperkilla87 »

Try reflashing adapter with the proper firmware. I recently upgraded to Buster an had to reflash proper firmware.
stu.cz
Posts: 29
Joined: Thu May 21, 2020 8:51 am

Re: Need help!

Post by stu.cz »

Try reflashing adapter with the proper firmware. I recently upgraded to Buster an had to reflash proper firmware.
I have updated the adapter's firmware in PC before I wrote this post. :-(
User avatar
Matlo
Posts: 5768
Joined: Wed Jul 06, 2011 7:01 am
Location: France
Contact:

Re: G25 with GIMX 8.0 on RPi4B

Post by Matlo »

Hi,

I moved your posts to a dedicated topic. Please don't hijack other's / old topics.

Code: Select all

Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
/:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 5000M
/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/1p, 480M
    |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/4p, 480M
        |__ Port 1: Dev 3, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
        |__ Port 2: Dev 4, If 0, Class=Vendor Specific Class, Driver=cp210x, 12M
        |__ Port 3: Dev 7, If 0, Class=Human Interface Device, Driver=usbhid, 12M
        |__ Port 4: Dev 6, If 0, Class=Human Interface Device, Driver=usbhid, 12M
You seem to be using a USB HUB, but you only have 4 devices attached. Try plugging all 4 devices directly to the RPi. Also one of your devices is a USB 1.1 device. Usually USB 1.1 and USB 2.0 devices don't mix well on a same USB HUB.
GIMX creator
stu.cz
Posts: 29
Joined: Thu May 21, 2020 8:51 am

Re: G25 with GIMX 8.0 on RPi4B

Post by stu.cz »

I didn't use the USB hub. RPi4 has two USB3 and two USB2 ports.
I plugged every HW to separated USB port. I have 5.25V/4A power adapter. I have reinstalled raspbian many times. I tried Raspbian light and raspbian with GUI. Tried ltwheelconf. But nothing helps. I spent whole day to find a solution before I asked for help.
Last edited by stu.cz on Tue May 26, 2020 9:29 pm, edited 1 time in total.
User avatar
Matlo
Posts: 5768
Joined: Wed Jul 06, 2011 7:01 am
Location: France
Contact:

Re: G25 with GIMX 8.0 on RPi4B

Post by Matlo »

Try removing the USB 1.1 device, which is probably a mouse or a keyboard. You can unplug it once GIMX is started.
GIMX creator
stu.cz
Posts: 29
Joined: Thu May 21, 2020 8:51 am

Re: G25 with GIMX 8.0 on RPi4B

Post by stu.cz »

Tried - without solve
When I only browse the menu in the PS4 it works OK. But when I start to drive it stops to work .
Here is the log file without mouse:

Code: Select all

Raspbian GNU/Linux 10 (buster)
Linux 4.19.97-v7l+ #1294 SMP Thu Jan 30 13:21:14 GMT 2020 unknown
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 005: ID 10c4:ea60 Cygnal Integrated Products, Inc. CP2102/CP2109 UART Bridge Controller [CP210x family]
Bus 001 Device 010: ID 054c:05c4 Sony Corp. DualShock 4 [CUH-ZCT1x]
Bus 001 Device 012: ID 046d:c299 Logitech, Inc. G25 Racing Wheel
Bus 001 Device 008: ID 0458:00ea KYE Systems Corp. (Mouse Systems) 
Bus 001 Device 002: ID 2109:3431 VIA Labs, Inc. Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
/sys/bus/usb/devices/1-1.1/bDeviceClass: No such file or directory
/sys/bus/usb/devices/1-1.1/bDeviceProtocol: No such file or directory
/sys/bus/usb/devices/1-1.1/bDeviceSubClass: No such file or directory
/sys/bus/usb/devices/1-1.1/bMaxPacketSize0: No such file or directory
/sys/bus/usb/devices/1-1.1/bNumConfigurations: No such file or directory
/sys/bus/usb/devices/1-1.1/bNumInterfaces: No such file or directory
/sys/bus/usb/devices/1-1.1/bcdDevice: No such file or directory
/sys/bus/usb/devices/1-1.1/bmAttributes: No such file or directory
/sys/bus/usb/devices/1-1.1/configuration: No such file or directory
/sys/bus/usb/devices/1-1.1/devnum: No such file or directory
/sys/bus/usb/devices/1-1.1/idProduct: No such file or directory
/sys/bus/usb/devices/1-1.1/idVendor: No such file or directory
/sys/bus/usb/devices/1-1.1/maxchild: No such file or directory
/sys/bus/usb/devices/1-1.1:1.0/bAlternateSetting: No such file or directory
/sys/bus/usb/devices/1-1.1:1.0/bInterfaceClass: No such file or directory
/sys/bus/usb/devices/1-1.1:1.0/bInterfaceNumber: No such file or directory
/sys/bus/usb/devices/1-1.1:1.0/bInterfaceProtocol: No such file or directory
/sys/bus/usb/devices/1-1.1:1.0/bInterfaceSubClass: No such file or directory
/sys/bus/usb/devices/1-1.1:1.0/bNumEndpoints: No such file or directory
/:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 5000M
/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/1p, 480M
    |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/4p, 480M
        |__ Port 1: Dev 0, If 0, Class=, Driver=, M
        |__ Port 2: Dev 12, If 0, Class=Human Interface Device, Driver=usbhid, 12M
        |__ Port 3: Dev 10, If 0, Class=Human Interface Device, Driver=usbhid, 12M
        |__ Port 4: Dev 5, If 0, Class=Vendor Specific Class, Driver=cp210x, 12M
global option -l with value `log.txt'
global option -c with value `LogitechG25_G29.xml'
controller #1: option -p with value `/dev/ttyUSB0'
now reading arguments for controller #2
status flag is set
subpos flag is set
force_updates flag is set
auto-grab flag is set
GIMX 8.0 ARMv6
GIMX adapter detected, controller type is: G29 PS4.
Firmware version: 8.0
Reset sent to the GIMX adapter.
Current baudrate: 500000 bps.
Trying baudrate: 2000000 bps.
Trying baudrate: 1000000 bps.
Trying baudrate: 500000 bps.
Using baudrate: 500000 bps.
found pass-through device 0x054c:0x05c4
registered joystick 0 with name "Sony Computer Entertainment Wireless Controller"
using default refresh period: 5.00ms
native mode is already enabled for HID device 01:01:02:00:00 (PID=c299)
joystick 0 has name 'Sony Computer Entertainment Wireless Controller' and virtual id 0
joystick 1 has name 'G25 Racing Wheel' and virtual id 0
Dump of /home/pi/.gimx/config/LogitechG25_G29.xml:
<?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_1" label="">
          <device type="joystick" id="0" name="G25 Racing Wheel"/>
          <event type="button" id="8"/>
        </button>
        <button id="abs_axis_15" label="">
          <device type="joystick" id="0" name="G25 Racing Wheel"/>
          <event type="button" id="9"/>
        </button>
0 0.791438, wheel (-3003), gas (11669)
0 0.796429, wheel (-3003), gas (11935)
0 0.806431, wheel (-3003), gas (12465)
0 0.811442, wheel (-3003), gas (11935)
0 0.826432, wheel (-3003), gas (12465)
0 0.831434, wheel (-2995), gas (11935)
0 0.836433, wheel (-2995), gas (12465)
0 0.841437, wheel (-2995), gas (11935)
0 0.846429, wheel (-2987), gas (11935)
libusb_transfer failed with status LIBUSB_TRANSFER_TIMED_OUT (endpoint=0x01)
libusb_transfer failed with status LIBUSB_TRANSFER_TIMED_OUT (endpoint=0x01)
libusb_transfer failed with status LIBUSB_TRANSFER_TIMED_OUT (endpoint=0x01)
libusb_transfer failed with status LIBUSB_TRANSFER_TIMED_OUT (endpoint=0x01)
libusb_transfer failed with status LIBUSB_TRANSFER_TIMED_OUT (endpoint=0x01)
libusb_transfer failed with status LIBUSB_TRANSFER_TIMED_OUT (endpoint=0x01)
libusb_transfer failed with status LIBUSB_TRANSFER_TIMED_OUT (endpoint=0x01)
libusb_transfer failed with status LIBUSB_TRANSFER_TIMED_OUT (endpoint=0x01)
libusb_transfer failed with status LIBUSB_TRANSFER_TIMED_OUT (endpoint=0x01)
libusb_transfer failed with status LIBUSB_TRANSFER_TIMED_OUT (endpoint=0x01)
libusb_transfer failed with status LIBUSB_TRANSFER_TIMED_OUT (endpoint=0x01)
libusb_transfer failed with status LIBUSB_TRANSFER_TIMED_OUT (endpoint=0x01)
libusb_transfer failed with status LIBUSB_TRANSFER_TIMED_OUT (endpoint=0x01)
libusb_transfer failed with status LIBUSB_TRANSFER_TIMED_OUT (endpoint=0x01)
libusb_transfer failed with status LIBUSB_TRANSFER_TIMED_OUT (endpoint=0x01)
libusb_transfer failed with status LIBUSB_TRANSFER_TIMED_OUT (endpoint=0x01)
libusb_transfer failed with status LIBUSB_TRANSFER_TIMED_OUT (endpoint=0x01)
0 2.901446, wheel (-2979), gas (11935)
0 2.906466, wheel (4494), gas (65535)
0 3.406568, wheel (-3673), gas (65535)
0 3.411564, wheel (-3665), gas (65535)
libusb_transfer failed with status LIBUSB_TRANSFER_TIMED_OUT (endpoint=0x01)
libusb_transfer failed with status LIBUSB_TRANSFER_TIMED_OUT (endpoint=0x01)
libusb_transfer failed with status LIBUSB_TRANSFER_TIMED_OUT (endpoint=0x01)
libusb_transfer failed with status LIBUSB_TRANSFER_TIMED_OUT (endpoint=0x01)
libusb_transfer failed with status LIBUSB_TRANSFER_TIMED_OUT (endpoint=0x01)
libusb_transfer failed with status LIBUSB_TRANSFER_TIMED_OUT (endpoint=0x01)
libusb_transfer failed with status LIBUSB_TRANSFER_TIMED_OUT (endpoint=0x01)
libusb_transfer failed with status LIBUSB_TRANSFER_TIMED_OUT (endpoint=0x01)
libusb_transfer failed with status LIBUSB_TRANSFER_TIMED_OUT (endpoint=0x01)
libusb_transfer failed with status LIBUSB_TRANSFER_TIMED_OUT (endpoint=0x01)
libusb_transfer failed with status LIBUSB_TRANSFER_TIMED_OUT (endpoint=0x01)
libusb_transfer failed with status LIBUSB_TRANSFER_TIMED_OUT (endpoint=0x01)
libusb_transfer failed with status LIBUSB_TRANSFER_TIMED_OUT (endpoint=0x01)
libusb_transfer failed with status LIBUSB_TRANSFER_TIMED_OUT (endpoint=0x01)
libusb_transfer failed with status LIBUSB_TRANSFER_TIMED_OUT (endpoint=0x01)
0 1.171624, wheel (-3661), gas (65535)
0 3.221626, wheel (8717), gas (65535)
0 3.226669, wheel (380)
0 3.231632, wheel (388)
0 0.141623, wheel (252), options (255)
0 0.151626, wheel (244), options (255)
0 0.156626, wheel (244)
Exiting
DynaMight
Posts: 2
Joined: Tue May 26, 2020 9:30 pm

Re: G25 with GIMX 8.0 on RPi4B

Post by DynaMight »

Yeah I had the same (Well I assume, I never checked the logs) I got a Pi2 working perfectly, thought I'd try the Pi4 so did a fresh install, setup everything up, worked fine to start with but after a few minutes it just cuts out for a few seconds then comes back again. Also G25 with USB UART, rather than via GPIO. I didnt try it via GPIO.

Moved around the USB ports thinking maybe a USB3 issue but same issue.
User avatar
LoneWolf81
Posts: 235
Joined: Sat Jun 15, 2019 11:49 am
Location: South Africa

Re: G25 with GIMX 8.0 on RPi4B

Post by LoneWolf81 »

Hi

I don't have a wheel setup to test with, but I did a quick check with a RPI4B I have lying here.

I installed Ubuntu server 19.10 on it the armhf(32bit) version and its working 100%

It might be worth a try to test it on your side.

Here is my log

Code: Select all

Ubuntu 19.10
Linux 5.3.0-1026-raspi2 #28-Ubuntu SMP Thu May 21 14:01:14 UTC 2020 armv7l
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 008: ID 10c4:ea60 Cygnal Integrated Products, Inc. CP2102/CP2109 UART Bridge Controller [CP210x family]
Bus 001 Device 012: ID 054c:09cc Sony Corp. DualShock 4 [CUH-ZCT2x]
Bus 001 Device 015: ID 04d9:fc5c Holtek Semiconductor, Inc. 
Bus 001 Device 014: ID 0c45:5004 Microdia USB2.0 Hub
Bus 001 Device 013: ID 1a40:0101 Terminus Technology Inc. Hub
Bus 001 Device 002: ID 2109:3431 VIA Labs, Inc. Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
/:  Bus 03.Port 1: Dev 1, Class=root_hub, Driver=dwc_otg/1p, 480M
/:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 5000M
/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/1p, 480M
    |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/4p, 480M
        |__ Port 1: Dev 13, If 0, Class=Hub, Driver=hub/4p, 480M
            |__ Port 1: Dev 14, If 0, Class=Human Interface Device, Driver=usbhid, 12M
            |__ Port 1: Dev 14, If 1, Class=Human Interface Device, Driver=usbhid, 12M
            |__ Port 4: Dev 15, If 2, Class=Human Interface Device, Driver=usbhid, 12M
            |__ Port 4: Dev 15, If 0, Class=Human Interface Device, Driver=usbhid, 12M
            |__ Port 4: Dev 15, If 1, Class=Human Interface Device, Driver=usbhid, 12M
        |__ Port 3: Dev 12, If 0, Class=Audio, Driver=snd-usb-audio, 12M
        |__ Port 3: Dev 12, If 1, Class=Audio, Driver=snd-usb-audio, 12M
        |__ Port 3: Dev 12, If 2, Class=Audio, Driver=snd-usb-audio, 12M
        |__ Port 3: Dev 12, If 3, Class=Human Interface Device, Driver=usbhid, 12M
        |__ Port 4: Dev 8, If 0, Class=Vendor Specific Class, Driver=cp210x, 12M
global option -l with value `log.txt'
global option -c with value `PS4_TomClancysTheDivision2_Godlike.xml'
controller #1: option -p with value `/dev/ttyUSB0'
now reading arguments for controller #2
status flag is set
subpos flag is set
force_updates flag is set
auto-grab flag is set
GIMX 8.0 ARMv6
GIMX adapter detected, controller type is: DS4.
Firmware version: 8.0
Reset sent to the GIMX adapter.
Current baudrate: 500000 bps.
Trying baudrate: 2000000 bps.
Trying baudrate: 1000000 bps.
Trying baudrate: 500000 bps.
Using baudrate: 500000 bps.
found pass-through device 0x054c:0x09cc
registered joystick 0 with name "Sony Computer Entertainment Wireless Controller"
using default refresh period: 10.00ms
mouse 0 has name 'USB Gaming Mouse Consumer Control' and virtual id 0
mouse 1 has name 'SONiX USB DEVICE Consumer Control' and virtual id 0
mouse 2 has name 'SONiX USB DEVICE Mouse' and virtual id 0
mouse 3 has name 'USB Gaming Mouse' and virtual id 0
keyboard 0 has name 'USB Gaming Mouse' and virtual id 0
keyboard 1 has name 'USB Gaming Mouse Consumer Control' and virtual id 0
keyboard 2 has name 'SONiX USB DEVICE' and virtual id 0
keyboard 3 has name 'SONiX USB DEVICE Keyboard' and virtual id 0
keyboard 4 has name 'SONiX USB DEVICE System Control' and virtual id 0
keyboard 5 has name 'SONiX USB DEVICE Consumer Control' and virtual id 0
joystick 0 has name 'Sony Computer Entertainment Wireless Controller' and virtual id 0
Dump of /home/ubuntu/.gimx/config/PS4_TomClancysTheDivision2_Godlike.xml:
<?xml version="1.0" encoding="UTF-8"?>
Link to full log file https://pastebin.com/j9cyXE4a
Please Remember to Post your Log file in the support section , that way its easier and faster to start identifying the issue thus helping you to sort it out so you can enjoy GIMX :D .
stu.cz
Posts: 29
Joined: Thu May 21, 2020 8:51 am

Re: G25 with GIMX 8.0 on RPi4B

Post by stu.cz »

LoneWolf81 wrote: Wed May 27, 2020 10:57 am Hi
I don't have a wheel setup to test with, but I did a quick check with a RPI4B I have lying here.
I installed Ubuntu server 19.10 on it the armhf(32bit) version and its working 100%
It might be worth a try to test it on your side.
Hi
May you explain me what I have to do?
I have to reinstall the Raspbian to Ubuntu and install the GIMX there?
Is this the right thing I need? : https://ubuntu.com/download/raspberry-pi
I'm sorry for a lot of questions. I never was doing it. I need some details please.
Thanks a lot.
Post Reply