GIMX-Launcher error - self made adapter

Need help? Ask here and someone will help
esalem
Posts: 7
Joined: Sat Dec 29, 2018 2:45 am

GIMX-Launcher error - self made adapter

Post by esalem »

Hi, wondering if someone can help.

Hardware and software
- Arduino Pro Micro Atmega32U4 5V/16Mhz
- USB to TTL UART 6PIN Module Serial Converter CP2102 STC PRGMR
- Logitech Driving Force GT
- Logitech drivers
- Arduino Drivers (via inf)
- GIMX launcher

Steps taken
- Read the GIMX guide https://gimx.fr/wiki/index.php?title=Gu ... eringWheel
- Installed drivers for Arduino and Logitech (Done)
- Downloading configurations (Done)
- Loading firmware (Done - EMUG29PS4 and also tried EMUPS4)
- Connecting to the console (Done - however connected the steering only. Do I need to connect the DS4 controller even if im using a DFGT?)
- Playing with GIMX: This is where im experiencing errors. GIMX lancher is connecting to the Arduino device and successfully loading the firmware. Using the check function just indicates DS4 is missing, Adapter and DFGT wheel are detected correctly.
Swapping the RX/TX connectors still results in an error, albeit different message. Here are the errors im currently getting:
> ReadFile failed with error: The supplied user buffer is not valid for the requested operation.
> ReadFile failed: timeout expired. Error: failed to read packet header from the GIMX adapter

Any suggestions?
esalem
Posts: 7
Joined: Sat Dec 29, 2018 2:45 am

Re: GIMX-Launcher error - self made adapter

Post by esalem »

Code: Select all

global option -l with value `log.txt'
global option -c with value `LogitechDrivingForceGT_G29.xml'
controller #1: option -p with value `COM3'
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 7.9 x86_64
Windows 10 (or later) x64
Kernel version: 10.0 (17134)
../gimxcommon/src/windows/async.c:303 async_read_timeout: ReadFile failed with error: The supplied user buffer is not valid for the requested operation.


Error: failed to read packet data from the GIMX adapter
../gimxcommon/src/windows/async.c:303 async_read_timeout: ReadFile failed with error: The supplied user buffer is not valid for the requested operation.


Error: failed to read packet data from the GIMX adapter
../gimxcommon/src/windows/async.c:303 async_read_timeout: ReadFile failed with error: The supplied user buffer is not valid for the requested operation.


Error: failed to read packet data from the GIMX adapter
../gimxcommon/src/windows/async.c:303 async_read_timeout: ReadFile failed with error: The supplied user buffer is not valid for the requested operation.


Error: failed to read packet data from the GIMX adapter
../gimxcommon/src/windows/async.c:303 async_read_timeout: ReadFile failed with error: The supplied user buffer is not valid for the requested operation.


Error: failed to read packet data from the GIMX adapter
../gimxcommon/src/windows/async.c:303 async_read_timeout: ReadFile failed with error: The supplied user buffer is not valid for the requested operation.


Error: failed to read packet data from the GIMX adapter
../gimxcommon/src/windows/async.c:303 async_read_timeout: ReadFile failed with error: The supplied user buffer is not valid for the requested operation.


Error: failed to read packet data from the GIMX adapter
../gimxcommon/src/windows/async.c:303 async_read_timeout: ReadFile failed with error: The supplied user buffer is not valid for the requested operation.


Error: failed to read packet data from the GIMX adapter
../gimxcommon/src/windows/async.c:303 async_read_timeout: ReadFile failed with error: The supplied user buffer is not valid for the requested operation.


Error: failed to read packet data from the GIMX adapter
../gimxcommon/src/windows/async.c:303 async_read_timeout: ReadFile failed with error: The supplied user buffer is not valid for the requested operation.


Error: failed to read packet data from the GIMX adapter
esalem
Posts: 7
Joined: Sat Dec 29, 2018 2:45 am

Re: GIMX-Launcher error - self made adapter

Post by esalem »

Code: Select all

global option -l with value `log.txt'
global option -c with value `LogitechDrivingForceGT_G29.xml'
controller #1: option -p with value `COM3'
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 7.9 x86_64
Windows 10 (or later) x64
Kernel version: 10.0 (17134)
GIMX adapter detected, controller type is: G29 PS4.
../gimxcommon/src/windows/async.c:327 async_read_timeout: ReadFile failed: timeout expired.
Error: failed to read packet header from the GIMX adapter
../gimxcommon/src/windows/async.c:327 async_read_timeout: ReadFile failed: timeout expired.
Error: failed to read packet header from the GIMX adapter
../gimxcommon/src/windows/async.c:327 async_read_timeout: ReadFile failed: timeout expired.
Error: failed to read packet header from the GIMX adapter
../gimxcommon/src/windows/async.c:327 async_read_timeout: ReadFile failed: timeout expired.
Error: failed to read packet header from the GIMX adapter
../gimxcommon/src/windows/async.c:327 async_read_timeout: ReadFile failed: timeout expired.
Error: failed to read packet header from the GIMX adapter
../gimxcommon/src/windows/async.c:327 async_read_timeout: ReadFile failed: timeout expired.
Error: failed to read packet header from the GIMX adapter
../gimxcommon/src/windows/async.c:327 async_read_timeout: ReadFile failed: timeout expired.
Error: failed to read packet header from the GIMX adapter
Error: failed to get the GIMX adapter status.
esalem
Posts: 7
Joined: Sat Dec 29, 2018 2:45 am

Re: GIMX-Launcher error - self made adapter

Post by esalem »

Tried connecting the DFGT and DS4 controller, same error persists "failed to read packet header from the GIMX adapter"
User avatar
kaiba_seto2004
Posts: 553
Joined: Sat Jul 15, 2017 9:15 am

Re: GIMX-Launcher error - self made adapter

Post by kaiba_seto2004 »

Please try another cable from AVR board to PS4 and do remember to connect DS4 to PC (DS4 is turn off)
PS4 enthusiast.
esalem
Posts: 7
Joined: Sat Dec 29, 2018 2:45 am

Re: GIMX-Launcher error - self made adapter

Post by esalem »

Now able to use the DFGT to control the PS4 menu, but not working in game yet...

Swapped the USB cable from Arduino to PS4, still wouldnt work.
Changed the pin out and eventually got the GIMX launcher to start talking to the arduino board, not only did I have to align RX to RX, TX to TX, my arduino appears to have 2x pins marked GND, and alternating these finally got it to work. My pinout can be found below..

Any ideas why the DFGT is not controlling in game?

Code: Select all

From Arduino board
Second Ground (1 pin removed from RX TX (there are two pins that appear to be marked GND. Select the second one, leaving 1 pin gap between RX TX)
TX > TX
RX > RX
User avatar
GoDlike
Posts: 1318
Joined: Thu Apr 28, 2016 12:47 pm
Location: Poland

Re: GIMX-Launcher error - self made adapter

Post by GoDlike »

Are you sure the game has wheel support? Some games may have in-racing wheel support but not in menu.
My hardware: PS3 Slim CFW 4.80 | PS4 Pro 500 Million LE | PS5 | Xbox Series X
Steam: Godlike_RU | PSN: GoDlike_RU | XBL: GoDlike
esalem
Posts: 7
Joined: Sat Dec 29, 2018 2:45 am

Re: GIMX-Launcher error - self made adapter

Post by esalem »

Oh wow, yep good question.

https://answers.ea.com/t5/Need-for-Spee ... -p/4731516

"At the moment Need for Speed Rivals doesn't have steering wheel support. I currently do not have any information about planned updates."

So there you have it. No problem , planning to use it for Gran Turismo sport anyhow
User avatar
GoDlike
Posts: 1318
Joined: Thu Apr 28, 2016 12:47 pm
Location: Poland

Re: GIMX-Launcher error - self made adapter

Post by GoDlike »

It should work with GT Sport, we had positive reports already. Have fun :)
My hardware: PS3 Slim CFW 4.80 | PS4 Pro 500 Million LE | PS5 | Xbox Series X
Steam: Godlike_RU | PSN: GoDlike_RU | XBL: GoDlike
jabidin
Posts: 26
Joined: Thu Dec 27, 2018 3:14 pm

Re: GIMX-Launcher error - self made adapter

Post by jabidin »

esalem wrote: Sat Jan 05, 2019 10:53 am Oh wow, yep good question.

https://answers.ea.com/t5/Need-for-Spee ... -p/4731516

"At the moment Need for Speed Rivals doesn't have steering wheel support. I currently do not have any information about planned updates."

So there you have it. No problem , planning to use it for Gran Turismo sport anyhow
NFS Pâyback not work, I do not think any NFS works with a steering wheel :oops:
Post Reply