Connection issue with DIY adapter and PS4

Need help? Ask here and someone will help
Post Reply
saxxon66
Posts: 4
Joined: Sat Oct 21, 2017 12:36 am

Connection issue with DIY adapter and PS4

Post by saxxon66 »

Me too,

Ardunio Micro, Arduino Uno (UART TTL)
FW: Emu29PS4
GIMX launcher (Win7 64bit)
OS: Win10
PS4 and GT Sport
Simucube (Wheel) and Fanatec (Rim-Buttons, Pedals)

Starts fine but stopps working after 1-4 minutes.
Controller is still connected to PS4 (disconnect message after hardreseting the Arduino).
No input will be forworded from PC to PS4.
No error message appears.

Can be repoduced und temporary fixed by resetting Arduino Micro and restarting GIMX-launcher.

Possible fixes:
- USB-Cable switched -> done
- Connection checked on Micro and Uno -> done
User avatar
GoDlike
Posts: 1318
Joined: Thu Apr 28, 2016 12:47 pm
Location: Poland

Re: G25 stops all of a sudden, no GIMX feedback (PS4)

Post by GoDlike »

Please try some older version like 6.5 and see if problem persists. We will try to identify it
My hardware: PS3 Slim CFW 4.80 | PS4 Pro 500 Million LE | PS5 | Xbox Series X
Steam: Godlike_RU | PSN: GoDlike_RU | XBL: GoDlike
saxxon66
Posts: 4
Joined: Sat Oct 21, 2017 12:36 am

Re: G25 stops all of a sudden, no GIMX feedback (PS4)

Post by saxxon66 »

I tried many different versions from 6.5 -6.9 32/64bit but whith no luck.

It will start but will went off unpredictable.
Today I managed a 1 hour run with these setting:

Code: Select all

gimx.exe -c mra.xml -p COM17 --nograb --refresh 50 --log log.txt --status
But in the end is stops working.
Here is a snip from the log (start and end).
At the end you see me pushing the PS button several times. At that moment the control was gone.
It seems like the refresh option has a direct link to the stability in terms of time since its stops working.

The PC side seems still working (flashing leds on input and messages in the logs) and on the PS4, connection is still there but unresponsive (because if I reset the arduino a popup message came up on PS4 to show the disconnection).

So, for me, it seems the UART TTL and the arduino connection become lost (out of sync?)

Log Start

Code: Select all

global option -l with value `log.txt'
grab flag is unset
status flag is set
GIMX 6.9 x86_64
Windows 10 (or later) x64
Kernel version: 10.0 (15063)
USB adapter detected, controller type is: G29 PS4.
found pass-through device 0x054c:0x05c4
Timer resolution: min=156250 max=5000 current=5004
mouse 0 has name 'Fanatec Wheel Virtual Mouse' and virtual id 0
mouse 1 has name 'HID-konforme Maus' and virtual id 0
mouse 2 has name 'HID-konforme Maus' and virtual id 1
keyboard 0 has name 'HID-Tastatur' and virtual id 0
keyboard 1 has name 'Fanatec Wheel Virtual Keyboard' and virtual id 0
keyboard 2 has name 'HID-Tastatur' and virtual id 1
keyboard 3 has name 'HID-Tastatur' and virtual id 2
keyboard 4 has name 'HID-Tastatur' and virtual id 3
joystick 0 has name 'PS4 Controller' and virtual id 0
joystick 1 has name 'HE Sequential Shifter' and virtual id 0
joystick 2 has name 'FANATEC ClubSport Pedals V3' and virtual id 0
joystick 3 has name 'SimuCUBE' and virtual id 0
joystick 4 has name 'vJoy Device' and virtual id 0
joystick 5 has name 'FANATEC ClubSport Wheel Base' and virtual id 0
joystick 6 has name 'BU0836-LC Interface' and virtual id 0
Warning: can't open macro directory C:\Users\mra\AppData\Roaming//gimx//macros/
FFB device: SimuCUBE 0 (OS translation).
FFB invert: no
Press the PS button to activate the controller.
0 1508672565.321998
0 1508672570.588538, wheel (-255)
0 1508672570.837163, wheel (-256)
0 1508672570.986433, wheel (-256), PS (255)
adjust your wheel range to 900 degrees
0 1508672571.135383, wheel (-254), PS (255)
0 1508672571.185431, wheel (-254)
0 1508672573.573817, wheel (-254)
0 1508672573.722269, wheel (-257)
and end

Code: Select all

0 1508676343.851104, wheel (-1991)
0 1508676343.901202, wheel (-1983)
0 1508676343.950801, wheel (-1983)
0 1508676344.000906, wheel (-2000)
0 1508676344.050451, wheel (-2005)
0 1508676344.100000, wheel (-2006)
0 1508676344.149459, wheel (-2004)
0 1508676344.199492, wheel (-1987)
0 1508676344.249488, wheel (-1954)
0 1508676344.299109, wheel (-1832)
0 1508676344.349190, wheel (-1533)
0 1508676344.398338, wheel (-1165)
0 1508676344.447905, wheel (-752)
0 1508676344.497474, wheel (-388)
0 1508676344.547223, wheel (-143)
0 1508676344.597369, wheel (-9)
0 1508676344.647414, wheel (-2)
0 1508676344.696962, wheel (-87), PS (255)
0 1508676344.747045, wheel (-107), PS (255)
0 1508676344.796170, wheel (-57), PS (255)
0 1508676344.845843, wheel (-49), PS (255)
0 1508676344.895911, wheel (-74)
0 1508676344.945980, wheel (-104)
0 1508676344.995590, wheel (-112), PS (255)
0 1508676345.045248, wheel (-79), PS (255)
0 1508676345.094879, wheel (-70), PS (255)
0 1508676345.144927, wheel (-76)
0 1508676345.194974, wheel (-77)
0 1508676345.244632, wheel (-74), PS (255)
0 1508676345.294264, wheel (-71), PS (255)
0 1508676345.343849, wheel (-71)
0 1508676345.393896, wheel (-80)
0 1508676345.443443, wheel (-96), PS (255)
0 1508676345.492990, wheel (-93)
0 1508676345.542632, wheel (-72)
0 1508676345.591771, wheel (-65)
0 1508676345.641355, wheel (-83)
0 1508676345.691114, wheel (-89), PS (255)
0 1508676345.740751, wheel (-79), PS (255)
0 1508676345.790347, wheel (-74), PS (255)
0 1508676345.839507, wheel (-79)
0 1508676345.889152, wheel (-83), PS (255)
0 1508676345.938758, wheel (-92), PS (255)
0 1508676345.988482, wheel (-81)
0 1508676346.037936, wheel (-71)
0 1508676346.087995, wheel (-79), PS (255)
0 1508676346.137180, wheel (-87)
0 1508676346.186772, wheel (-79)
0 1508676346.236858, wheel (-81)
0 1508676346.286905, wheel (-78)
0 1508676346.336956, wheel (-84), PS (255)
0 1508676346.387023, wheel (-77), PS (255)
0 1508676346.436853, wheel (-73), PS (255)
0 1508676346.486900, wheel (-65)
0 1508676346.536257, wheel (-51)
0 1508676346.586356, wheel (-65), PS (255)
0 1508676346.635756, wheel (-74), PS (255)
0 1508676346.685348, wheel (-59)
0 1508676346.735442, wheel (-62)
0 1508676346.785113, wheel (-72), PS (255)
0 1508676346.835231, wheel (-74)
0 1508676346.884338, wheel (-72)
0 1508676346.933939, wheel (-76)
0 1508676346.984018, wheel (-74)
0 1508676347.033680, wheel (-76)
0 1508676347.083258, wheel (-75)
Exiting
rounding timer period to 500
rounding timer period to 49539
User avatar
Matlo
Posts: 5768
Joined: Wed Jul 06, 2011 7:01 am
Location: France
Contact:

Re: Connection issue with DIY adapter and PS4

Post by Matlo »

I just splitted the topic. Disconnections can be due to different issues.
Did you check the FAQ?
https://gimx.fr/wiki/index.php?title=FAQ#23
GIMX creator
User avatar
Matlo
Posts: 5768
Joined: Wed Jul 06, 2011 7:01 am
Location: France
Contact:

Re: Connection issue with DIY adapter and PS4

Post by Matlo »

I just realized that the usb to uart conversion on the uno is performed by an atmega16u2 chip. You should use a converter with a chip that is listed on the wiki.
GIMX creator
saxxon66
Posts: 4
Joined: Sat Oct 21, 2017 12:36 am

Re: Connection issue with DIY adapter and PS4

Post by saxxon66 »

Hi Matlo,

thx for the finding.
I will try it with a compatible adapter.

Will report later.

Thx
saxxon66
Posts: 4
Joined: Sat Oct 21, 2017 12:36 am

Re: Connection issue with DIY adapter and PS4

Post by saxxon66 »

Reporting back:

Now using CP210x as UART adapter, everything works perfect.

Thx for your support and the great work.
I really appreciate!
Post Reply