G25 with GIMX 8.0 on RPi4B

Need help? Ask here and someone will help
User avatar
LoneWolf81
Posts: 120
Joined: Sat Jun 15, 2019 11:49 am
Location: South Africa

Re: G25 with GIMX 8.0 on RPi4B

Post by LoneWolf81 »

Hi

Yes you are going to remove Raspbian

Download and extract the img file and write it too your micro sd card. Here is the link http://cdimage.ubuntu.com/releases/18.0 ... pi3.img.xz

After it starts up you can login with the username ubuntu and password ubuntu, it will then prompt you to change the password. You can then run these two commands to get updates

Code: Select all

 sudo apt-get update
 sudo apt-get upgrade 
It should then be on 19.10 keep in mind it takes a while to update.

If it gives you an error that it cant update just run the following command to reboot and try again

Code: Select all

sudo reboot
It does not come with a GUI as its a server version but you can easily install one for example MATE with the following command

Code: Select all

sudo apt-get install ubuntu-mate-core
When prompted for lightdm or gdm3 choose gdm3 as sometimes lightdm causes the Pi to boot to a black screen.

You can then install GIMX and test.

If you have any trouble just post back here and I will help where I can ;)
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: 25
Joined: Thu May 21, 2020 8:51 am

Re: G25 with GIMX 8.0 on RPi4B

Post by stu.cz »

I am not able to instal GIMX on it.
Look on the picture: https://ibb.co/fDXQP0n

stu.cz
Posts: 25
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 2:07 pm

You can then install GIMX and test.
I spend whole night without solution.
I think the Ubuntu is not good way. It is starting long time, need to log in with password, consume a lot of CPU.
Raspbian light with GIMX autostart is best way. I only connect all to Rpi and it start to GIMX in while.
Please do GIMX working under Raspbian on RPi4.
Here is what it says when I try to install GIMX in UBUNTU

Code: Select all

ubuntu@ubuntu:~$ sudo dpkg -i gimx.deb
Selecting previously unselected package gimx.
(Reading database ... 126448 files and directories currently installed.)
Preparing to unpack gimx.deb ...
Unpacking gimx (8.0-1) ...
dpkg: dependency problems prevent configuration of gimx:
 gimx depends on libbluetooth3 (>= 4.91); however:
  Package libbluetooth3 is not installed.
 gimx depends on libmhash2; however:
  Package libmhash2 is not installed.
 gimx depends on libncursesw6 (>= 6); however:
  Package libncursesw6 is not installed.
 gimx depends on libtinfo6 (>= 6); however:
  Package libtinfo6 is not installed.
 gimx depends on libwxbase3.0-0v5 (>= 3.0.4+dfsg); however:
  Package libwxbase3.0-0v5 is not installed.
 gimx depends on libwxgtk3.0-0v5 (>= 3.0.4+dfsg); however:
  Package libwxgtk3.0-0v5 is not installed.
 gimx depends on bluez; however:
  Package bluez is not installed.
 gimx depends on avrdude; however:
  Package avrdude is not installed.

dpkg: error processing package gimx (--install):
 dependency problems - leaving unconfigured
Processing triggers for desktop-file-utils (0.23-1ubuntu3.18.04.2) ...
Processing triggers for mime-support (3.60ubuntu1) ...
Errors were encountered while processing:
 gimx
ubuntu@ubuntu:~$ sudo apt-get update && sudo apt-get upgrade
Hit:1 http://ports.ubuntu.com/ubuntu-ports bionic InRelease
Hit:2 http://ports.ubuntu.com/ubuntu-ports bionic-updates InRelease
Hit:3 http://ports.ubuntu.com/ubuntu-ports bionic-backports InRelease
Hit:4 http://ports.ubuntu.com/ubuntu-ports bionic-security InRelease
Reading package lists... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
 gimx : Depends: libbluetooth3 (>= 4.91) but it is not installed
        Depends: libmhash2 but it is not installed
        Depends: libncursesw6 (>= 6) but it is not installable
        Depends: libtinfo6 (>= 6) but it is not installable
        Depends: libwxbase3.0-0v5 (>= 3.0.4+dfsg) but it is not installed
        Depends: libwxgtk3.0-0v5 (>= 3.0.4+dfsg) but it is not installed
        Depends: bluez but it is not installed
        Depends: avrdude but it is not installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
ubuntu@ubuntu:~$ sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following packages will be REMOVED:
  gimx
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 2078 kB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 126504 files and directories currently installed.)
Removing gimx (8.0-1) ...
Processing triggers for desktop-file-utils (0.23-1ubuntu3.18.04.2) ...
Processing triggers for mime-support (3.60ubuntu1) ...

User avatar
LoneWolf81
Posts: 120
Joined: Sat Jun 15, 2019 11:49 am
Location: South Africa

Re: G25 with GIMX 8.0 on RPi4B

Post by LoneWolf81 »

Hi

Got feedback from Matlo on this matter

Force feedback commands are directed to the wheel. These commands failing with a timeout are likely the cause for the LIBUSB_TRANSFER_TIMED_OUT messages. This is a performance issue: the kernel does not manage to send the commands fast enough.

You can update the Raspbian kernel to 5.4.42-v71l+ using the following command

Code: Select all

sudo rpi-update 85ac48cf41a627c4ebb32fb376d6a13c21271479
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: 25
Joined: Thu May 21, 2020 8:51 am

Re: G25 with GIMX 8.0 on RPi4B

Post by stu.cz »

LoneWolf81 wrote:
Thu May 28, 2020 7:51 am
This is a performance issue: the kernel does not manage to send the commands fast enough.
Performance issue? My RapberryPi4 is broken? I have Libreelec with kodi an second SD card and it works perfectly, fast an furious :-)
Fastest than my old Pi3 which worked with my G25

So I have tried the Ubuntu again. It seems it stuck on 18.04.4 version - but I did the update and upgrade command.
So I will try the Raspbian with the Maltos command. If it not solve problem I will reinstall Ubuntu again. Third time. :-(

Code: Select all

No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 18.04.4 LTS
Release:        18.04
Codename:       bionic
Last edited by stu.cz on Thu May 28, 2020 1:54 pm, edited 1 time in total.

User avatar
LoneWolf81
Posts: 120
Joined: Sat Jun 15, 2019 11:49 am
Location: South Africa

Re: G25 with GIMX 8.0 on RPi4B

Post by LoneWolf81 »

Before you try ubuntu again try it with the latest raspbian and update the kernel then test again.

Your Raspberry is not broken its just a issue with the kernel currently after installing the latest version the default is 4.19.97-v7l+ using the command I posted will update it to 5.4.42-v71l+ there is a chance it might be fixed.
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: 25
Joined: Thu May 21, 2020 8:51 am

Re: G25 with GIMX 8.0 on RPi4B

Post by stu.cz »

LoneWolf81 wrote:
Thu May 28, 2020 1:54 pm
Before you try ubuntu again try it with the latest raspbian and update the kernel then test again.
You are faster than Nicky Lauda :-)
I have edited my previous post :-) I will try the Raspbian and the command :-)

stu.cz
Posts: 25
Joined: Thu May 21, 2020 8:51 am

Re: G25 with GIMX 8.0 on RPi4B

Post by stu.cz »

LoneWolf81 wrote:
Thu May 28, 2020 1:54 pm
there is a chance it might be fixed.
No FIX :( - I have tried two installations - first Raspbian with GUI and second Raspbian lite
Still the same. Until I stay in the menu it works. When I enter the race the wheel stuck for a while every few seconds.
Now I will try the UBUNTU again. But I think the Gimx will works as a Joystick. When I am in the menu the G25 wheel works too. But it starts to freeze after I press the cross button to enter the race. (look at the full log)

Code: Select all

pi@raspberrypi:~ $ uname -a
Linux raspberrypi 5.4.42-v7l+ #1319 SMP Wed May 20 14:12:03 BST 2020 armv7l GNU/Linux
Here is the LOG - full log here: https://docs.google.com/document/d/1DYT ... sp=sharing

Code: Select all

Raspbian GNU/Linux 10 (buster)
Linux 5.4.42-v7l+ #1319 SMP Wed May 20 14:12:03 BST 2020 unknown
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 004: ID 10c4:ea60 Cygnal Integrated Products, Inc. CP2102/CP2109 UART Bridge Controller [CP210x family]
Bus 001 Device 005: ID 054c:05c4 Sony Corp. DualShock 4 [CUH-ZCT1x]
Bus 001 Device 003: ID 0458:00ea KYE Systems Corp. (Mouse Systems) 
Bus 001 Device 007: ID 046d:c299 Logitech, Inc. G25 Racing Wheel
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 7, If 0, Class=Human Interface Device, Driver=usbhid, 12M
        |__ Port 2: Dev 3, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
        |__ Port 3: Dev 5, If 0, Class=Human Interface Device, Driver=usbhid, 12M
        |__ Port 4: Dev 4, 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:01:00:00 (PID=c299)
mouse 0 has name 'Genius 2.4G Wireless 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"?>

[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 0.602205
0 0.283735, wheel (300), gear shifter 4 (255)
0 3.308736, wheel (300), PS (255), gear shifter 4 (255)
3.364513 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 3.633712, wheel (300), gear shifter 4 (255)
0 0.898798, wheel (300), circle (255), gear shifter 4 (255)
0 1.023783, wheel (300), gear shifter 4 (255)
0 2.003788, wheel (300), circle (255), gear shifter 4 (255)
0 2.173785, wheel (300), gear shifter 4 (255)
0 3.358889, wheel (300), circle (255), gear shifter 4 (255)
0 3.533792, wheel (300), gear shifter 4 (255)
0 4.143783, wheel (300), cross (255), gear shifter 4 (255)
0 4.293759, wheel (300), gear shifter 4 (255)
0 0.908813, wheel (300), left (255), gear shifter 4 (255)
0 1.048819, wheel (300), gear shifter 4 (255)
0 1.273823, wheel (300), left (255), gear shifter 4 (255)
0 1.383815, wheel (300), gear shifter 4 (255)
0 1.263855, wheel (300), cross (255), gear shifter 4 (255)
0 1.408863, wheel (300), gear shifter 4 (255)

0 1.414178, wheel (-6435), gas (42968), gear shifter 4 (255)
0 1.419181, wheel (-6415), gas (43498), gear shifter 4 (255)
0 1.424177, wheel (-6391), gas (44294), gear shifter 4 (255)
0 1.434178, wheel (-6371), gas (44559), gear shifter 4 (255)
0 1.439177, wheel (-6351), gas (45090), gear shifter 4 (255)
0 1.444171, wheel (-6311), gas (46151), gear shifter 4 (255)
0 1.449179, wheel (-6291), gas (46416), gear shifter 4 (255)
0 1.454178, wheel (-6255), gas (46946), gear shifter 4 (255)
0 1.459179, wheel (-6227), gas (47211), gear shifter 4 (255)
0 1.464177, wheel (-6199), gas (47477), gear shifter 4 (255)
0 1.469181, wheel (-6163), gas (48272), gear shifter 4 (255)
0 1.474174, wheel (-6131), gas (48538), gear shifter 4 (255)
0 1.479179, wheel (-6103), gas (48803), gear shifter 4 (255)
0 1.484176, wheel (-6066), gas (49068), gear shifter 4 (255)
0 1.489177, wheel (-6026), gas (49598), gear shifter 4 (255)
0 1.494174, wheel (-5998), gas (49864), gear shifter 4 (255)
0 1.499177, wheel (-5938), gas (50129), gear shifter 4 (255)
0 1.504176, wheel (-5910), gas (50394), gear shifter 4 (255)
0 1.509184, wheel (-5866), gas (51190), gear shifter 4 (255)
0 1.514176, wheel (-5810), gas (51455), gear shifter 4 (255)
0 1.519179, wheel (-5762), gas (51455), gear shifter 4 (255)
0 1.524176, wheel (-5710), gas (51720), gear shifter 4 (255)
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.574213, wheel (-5653), gas (52251), gear shifter 4 (255)
0 3.579226, wheel (6851), gear shifter 4 (255)
libusb_transfer failed with status LIBUSB_TRANSFER_TIMED_OUT (endpoint=0x01)
0 1.334255, wheel (6859), gear shifter 4 (255)

0 3.429338, wheel (188), gear shifter 4 (255)
0 3.439338, wheel (196), gear shifter 4 (255)
0 3.559368, wheel (188), gear shifter 4 (255)
Exiting

User avatar
LoneWolf81
Posts: 120
Joined: Sat Jun 15, 2019 11:49 am
Location: South Africa

Re: G25 with GIMX 8.0 on RPi4B

Post by LoneWolf81 »

Try adding this to the end of cmdline.txt in the same line

Just run

Code: Select all

sudo nano /boot/cmdline.txt

Code: Select all

dwc_otg.nak_holdoff=0 dwc_otg.fiq_enable=1 dwc_otg.fiq_fsm_enable=1 dwc_otg.fiq_fsm_mask=0x7
Save and reboot
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: 25
Joined: Thu May 21, 2020 8:51 am

Re: G25 with GIMX 8.0 on RPi4B

Post by stu.cz »

LoneWolf81 wrote:
Thu May 28, 2020 5:05 pm
Try adding this to the end of cmdline.txt in the same line
In Raspbian or in Ubuntu? I am now getting upgrade in ubuntu.

Post Reply