Page 1 of 2

Another DIY USB G27->G29 PS4 thread :)

Posted: Wed Oct 28, 2015 12:50 pm
by Ron Fuchs
Hi all!

Had a lot of fun building the adapter and fiddling with the parts/software. Unfortunately I hit a brick wall now. Here are the details:

DIY adapter: CP2102 and Teensy 2.0
Win 7x64

I followed the dummies tutorial:
- Flashed Teensy with atmega32u4.hex from the EMUG29PS4 folder.
- Installed gimx-5.2-x86_64.exe
- Downloaded config LogitechG27_G29.xml

Serial port was not recognized, so I had to manually install a driver for the CP2102. It shows up as "Silicon Labs CP210X... USB to ART Bridge (Com)" in the device manger. Serial port is now recognized in Gimx.

Connections:
PS4 > Teensy - CP2104 > PC USB
DS4 > PC USB
G27 > PC USB

Going into the config, Gimx recognizes button inputs from the DS4 and the G27 when using "auto detect". Logitech Profiler was installed.

When I hit start in Gimx, the following log shows:

option -l with value `log.txt'
option -c with value `LogitechG27_G29.xml'
option -p with value `COM4'
status flag is set
subpos flag is set
force_updates flag is set
native mode is already enabled for HID device \\?\hid#vid_046d&pid_c29b#6&1ab9bfd3&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030} (PID=c29b)
ReadFile failed: timeout expired.
can't read packet header
No controller detected.
adapter_detect failed

I already tried uninstalling Logitech Profiler and using Logitech Gaming Software (Two different programs) but no change in result. I double checked the wiring, everything looks correct to me.
Thanks in advance for helping!!!

Re: Another DIY USB G27->G29 PS4 thread :)

Posted: Wed Oct 28, 2015 1:14 pm
by Matlo
Did you try swapping Rx and Tx? Sometimes the CP2102 adapters are mislabeled.

Re: Another DIY USB G27->G29 PS4 thread :)

Posted: Wed Oct 28, 2015 1:32 pm
by Ron Fuchs
Did you try swapping Rx and Tx? Sometimes the CP2102 adapters are mislabeled.
Thank your for the super quick support.

Now it looks like this:

option -l with value `log.txt'
option -c with value `LogitechG27_G29.xml'
option -p with value `COM4'
status flag is set
subpos flag is set
force_updates flag is set
native mode is already enabled for HID device \\?\hid#vid_046d&pid_c29b#6&1ab9bfd3&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030} (PID=c29b)
Detected USB adapter: G29 PS4.
libusb_init: Entity not found.
No controller was found on USB buses.
adapter_detect failed

Looks better but still not working.

Re: Another DIY USB G27->G29 PS4 thread :)

Posted: Wed Oct 28, 2015 1:46 pm
by Matlo
Did you install USBDK? It is suggested to install it at the end of the GIMX installation.
The installer is located in "C:\Program Files\GIMX\tools\usbdk".

Re: Another DIY USB G27->G29 PS4 thread :)

Posted: Wed Oct 28, 2015 2:12 pm
by Ron Fuchs
Did you install USBDK? It is suggested to install it at the end of the GIMX installation.
The installer is located in "C:\Program Files\GIMX\tools\usbdk".
Woohoo, thanks so much mate! Working like a charm now. Drive Club force feedback is great.

I think this part is missing in the controller authentication tutorial. Maybe it should be added for other idiots like me? :mrgreen:

Re: Another DIY USB G27->G29 PS4 thread :)

Posted: Wed Oct 28, 2015 5:50 pm
by Matlo
http://gimx.fr/wiki/index.php?title=Ins ... on#Windows
I think you unchecked the "Install USBDK" box at the end of the installation.

Re: Another DIY USB G27->G29 PS4 thread :)

Posted: Fri Oct 30, 2015 3:35 pm
by Ron Fuchs
Oh, that was probably the issue, yes.

I am having a new problem now :cry: . As I said, everything is working fine. But for some reason the wheel loses connection randomly after a few minutes of Drive Club. I lose steering and buttons. When I press the PS button on the controller, I can still navigate the PS4 OS, but no functions in game.
Gimx doesn't show any error messages, it keeps working normally. Restarting Gimx fixes the problem, but only for a while. I already deactivated "controller turn off" in the power options. Not sure what to do.

edit: I am using an extremely long USB cable from the DIY adapter to my PC. Could this cause problems?

Re: Another DIY USB G27->G29 PS4 thread :)

Posted: Fri Oct 30, 2015 5:27 pm
by Matlo
Ron Fuchs wrote:edit: I am using an extremely long USB cable from the DIY adapter to my PC. Could this cause problems?
Yes this may cause problems. Non shielded USB cables may also cause problems.

Re: Another DIY USB G27->G29 PS4 thread :)

Posted: Fri Oct 30, 2015 5:29 pm
by Ron Fuchs
Thanks! I will do some testing.

Re: Another DIY USB G27->G29 PS4 thread :)

Posted: Fri Oct 30, 2015 6:43 pm
by Ron Fuchs
Welp, it happened again, even without extension.