Adapter not detected by the PS4

Need help? Ask here and someone will help
Post Reply
Raul13
Posts: 2
Joined: Sat Nov 18, 2017 1:44 pm

Adapter not detected by the PS4

Post by Raul13 »

GIMX execution:

Code: Select all

gimx -c LogitechDrivingForceGT_G29.xml -p /dev/ttyAMA0 --nograb --status
global option -c with value `LogitechDrivingForceGT_G29.xml'
controller #1: option -p with value `/dev/ttyAMA0'
now reading arguments for controller #2
grab flag is unset
status flag is set
USB adapter detected, controller type is: G29 PS4.
found pass-through device 0x054c:0x05c4
using default refresh period: 5.00ms
native mode is already enabled for HID device 01:01:03:00:00 (PID=c29a)
macros are not available for: joystick Sony Computer Entertainment Wireless Controller (0)
Warning: can't open macro directory /home/pi//.gimx//macros/
FFB device: Driving Force GT 0 (direct translation).
Press the PS button to activate the controller.
0 1511007391.632907,  PS (255)
0 1511007391.634872, wheel (104)
0 1511007391.639981, wheel (36)
0 1511007394.574694
0 1511007394.579834, wheel (-33)
0 1511007394.614881
GIMX adapter: DIY, an Arduino One without the Artmega328P connected using serial

Computer: RaspberryPi using Raspbian with version 4.1.21+ #873 Mon Apr 11 18:00:37 BST 2016

Firmware: 5.8/EMUG29PS4/at90usb162.hex flashed using dfu-programmer on MacOS

Gaming target: PS4

Controller: Driving Force GT

Now my problem:
After two days of constant DFU flashing, forum reading and numerous trials, I managed to connect via serial my RaspberryPi with my Arduino Uno and my DS4. Now, the PS4 won't recognize it (my MacBook and my other Windows PC recognize it as a G29 game controller), even if I press the PS button on my wheel when GIMX asks to, im unable to make the PS4 detect it.
My final connection diagram after all my trials is:

Raspberry --------------------------- Arduino

UART_TXD (GPIO 14) -------------- TX -> 1 (This is how the pin is named on the board)
UART_RXD (GPIO 15) -------------- RX <- 0
GND ---------------------------- GND

As you can see, I have no voltage divider, I'm unable to make it work with one and, at this moment my RaspberryPi 1 model B hasn't melted... yet

PS: if some information is missing, please let me know. Thanks for developing such an impressive tool, I can't even imagine how many hours have you devoted to it.
User avatar
Matlo
Posts: 5768
Joined: Wed Jul 06, 2011 7:01 am
Location: France
Contact:

Re: Adapter not detected by the PS4

Post by Matlo »

You are trying to use the atmega16u2 chip of the Arduino Uno.
There is a known issue with non-atmega32u4 chips.
GIMX creator
Post Reply