[PS4] - ReadFile failed: timeout expired

Need help? Ask here and someone will help
zman
Posts: 8
Joined: Thu Nov 17, 2011 11:46 am

[PS4] - ReadFile failed: timeout expired

Post 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 ?
User avatar
Matlo
Posts: 5764
Joined: Wed Jul 06, 2011 7:01 am
Location: France
Contact:

Re: [PS4] - ReadFile failed: timeout expired

Post 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.
GIMX creator
zman
Posts: 8
Joined: Thu Nov 17, 2011 11:46 am

Re: [PS4] - ReadFile failed: timeout expired

Post 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 ?
User avatar
Matlo
Posts: 5764
Joined: Wed Jul 06, 2011 7:01 am
Location: France
Contact:

Re: [PS4] - ReadFile failed: timeout expired

Post by Matlo »

If you have a Teensy you have to use the Teensy loader.
GIMX creator
zman
Posts: 8
Joined: Thu Nov 17, 2011 11:46 am

Re: [PS4] - ReadFile failed: timeout expired

Post 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.
User avatar
Matlo
Posts: 5764
Joined: Wed Jul 06, 2011 7:01 am
Location: France
Contact:

Re: [PS4] - ReadFile failed: timeout expired

Post by Matlo »

Did you connect the Teensy to the PC? It can't be flashed through the serial adapter!
GIMX creator
zman
Posts: 8
Joined: Thu Nov 17, 2011 11:46 am

Re: [PS4] - ReadFile failed: timeout expired

Post 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
User avatar
Matlo
Posts: 5764
Joined: Wed Jul 06, 2011 7:01 am
Location: France
Contact:

Re: [PS4] - ReadFile failed: timeout expired

Post by Matlo »

You have to press the PS button, just as you would do with a Dualshock 4 connected to a PS4.
GIMX creator
zman
Posts: 8
Joined: Thu Nov 17, 2011 11:46 am

Re: [PS4] - ReadFile failed: timeout expired

Post 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 !
User avatar
Matlo
Posts: 5764
Joined: Wed Jul 06, 2011 7:01 am
Location: France
Contact:

Re: [PS4] - ReadFile failed: timeout expired

Post 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
GIMX creator
Post Reply