Page 1 of 2

[PS4] - ReadFile failed: timeout expired

Posted: Thu Nov 05, 2015 1:48 pm
by zman
Hi,

I had a GimX a while ago on PS3 and it worked great !
I now want to use it on my PS4 but somehow things aren't working now.
Here's the log I get :

option -l with value `log.txt'
option -c with value `PS4_Battlefield4_foxy.xml'
option -p with value `COM3'
status flag is set
subpos flag is set
force_updates flag is set
ReadFile failed: timeout expired.
can't read packet header
No controller detected.
adapter_detect failed


What I did :
- Installed the latest GimX version on my computer
- Plugged the adapter to both PC and console
- Plugged the DS4 to the computer
- Opened GimX Launcher and selected a config
- Start

When I click on "Check" it says :
Joystick not found: PS4 controller (0)

Any idea ?

Re: [PS4] - ReadFile failed: timeout expired

Posted: Thu Nov 05, 2015 2:03 pm
by Matlo
Hi,

I think you forgot to update the adapter firmware.
You also have to connect a DS4 to the PC while GIMX is running. This is required for authentication purposes.

Re: [PS4] - ReadFile failed: timeout expired

Posted: Thu Nov 05, 2015 2:10 pm
by zman
Thank you for you fast reply !

That's the thing though, the DS4 is connected to the PC.
I downloaded the firmware 5.0 .zip package. How should I proceed ?

Re: [PS4] - ReadFile failed: timeout expired

Posted: Thu Nov 05, 2015 2:13 pm
by Matlo
If you have a Teensy you have to use the Teensy loader.

Re: [PS4] - ReadFile failed: timeout expired

Posted: Thu Nov 05, 2015 2:27 pm
by zman
I encounter yet another difficulty : the tensy loader doesn't allow me to program. When I press the button on the tensy, nothing happens. The LED doesn't turn off or blink.
Only thing I can do is load a file (but it's pointless since I can't click "program") and go into "automatic mode" but this doesn't change anything either.

Re: [PS4] - ReadFile failed: timeout expired

Posted: Thu Nov 05, 2015 2:30 pm
by Matlo
Did you connect the Teensy to the PC? It can't be flashed through the serial adapter!

Re: [PS4] - ReadFile failed: timeout expired

Posted: Thu Nov 05, 2015 2:46 pm
by zman
Progress !
The Tensy is updated now and when I run GIMX I don't have any error message (btw, sorry I'm that dumb!).
So now all I have to do is select whichever ps4 config I want, load it, click start and have the DS4 controller connected to the PC right ?

EDIT, that is what I did and :
Clicked check : joystick not found: PS4 Controller (0)
A device name is empty. Multiple mice and keyboards are not managed.


Clicked start :
option -l with value `log.txt'
option -c with value `PS4_Battlefield4_foxy.xml'
option -p with value `COM3'
status flag is set
subpos flag is set
force_updates flag is set
Detected USB adapter: DS4.
using default refresh period: 10.00ms
A device name is empty. Multiple mice and keyboards are not managed.
Warning: can't open macro directory C:\Users\Alexis\AppData\Roaming//gimx//macros/
0 1446735302.759028, lstick x (-2), lstick y (3), rstick y (2)
0 1446735306.019215 controller 0 is switched from configuration 0 to 2
Exiting

Re: [PS4] - ReadFile failed: timeout expired

Posted: Thu Nov 05, 2015 3:47 pm
by Matlo
You have to press the PS button, just as you would do with a Dualshock 4 connected to a PS4.

Re: [PS4] - ReadFile failed: timeout expired

Posted: Thu Nov 05, 2015 3:55 pm
by zman
Thanks for your reply.
After a quick Google search I found this topic which helped me ;)

http://forum.gimx.fr/viewtopic.php?f=5&t=1099&start=10

For futur dummies like me, if you encounter the same problem you should have everything to work with !

Re: [PS4] - ReadFile failed: timeout expired

Posted: Thu Nov 05, 2015 4:02 pm
by Matlo
I'm pretty sure everything is covered in the tutorials on the wiki:
http://gimx.fr/wiki/index.php?title=Main_Page#Tutorials