Page 1 of 2

GIMX-Launcher error - self made adapter

Posted: Sat Dec 29, 2018 2:58 am
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?

Re: GIMX-Launcher error - self made adapter

Posted: Sat Dec 29, 2018 2:58 am
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

Re: GIMX-Launcher error - self made adapter

Posted: Sat Dec 29, 2018 2:59 am
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.

Re: GIMX-Launcher error - self made adapter

Posted: Sat Dec 29, 2018 3:39 am
by esalem
Tried connecting the DFGT and DS4 controller, same error persists "failed to read packet header from the GIMX adapter"

Re: GIMX-Launcher error - self made adapter

Posted: Sat Dec 29, 2018 5:43 am
by kaiba_seto2004
Please try another cable from AVR board to PS4 and do remember to connect DS4 to PC (DS4 is turn off)

Re: GIMX-Launcher error - self made adapter

Posted: Sat Jan 05, 2019 10:39 am
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

Re: GIMX-Launcher error - self made adapter

Posted: Sat Jan 05, 2019 10:43 am
by GoDlike
Are you sure the game has wheel support? Some games may have in-racing wheel support but not in menu.

Re: GIMX-Launcher error - self made adapter

Posted: Sat Jan 05, 2019 10:53 am
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

Re: GIMX-Launcher error - self made adapter

Posted: Sat Jan 05, 2019 11:05 am
by GoDlike
It should work with GT Sport, we had positive reports already. Have fun :)

Re: GIMX-Launcher error - self made adapter

Posted: Sat Jan 05, 2019 2:32 pm
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: