Arduino only-based adapter (no PC needed)

Discuss everything to do with GIMX here
ThijsNL
Posts: 24
Joined: Mon May 06, 2019 5:43 pm

Re: Arduino only-based adapter (no PC needed)

Post by ThijsNL »

Iam sorry to say, but a leonardo (or mcu with usb device peripheral is essential!

The way the software works, the LUFA library uses the USB port of the leonardo act as a PS4 controller. The Uno has no dedicated USB hardware in the controller and uses a second off chip dedicated USB to UART chip. Therefore this cannot work.

Kind regards,

Mathijs
mgr
Posts: 1
Joined: Sun Sep 27, 2020 9:13 am

Re: Arduino only-based adapter (no PC needed)

Post by mgr »

Just a comment, It seems that the only reasonable way to go is a Leonardo board for this project.
I have purchased the 5V Pro Micro board, and it turns out that I can not connect the USB Host Shield to this board,
as the USB Host Shield requires both 5V and 3.3V power (if I am not mistaken), and Pro Micro only provides 5V.
I think there are some 5V only versions of the USB Host Shield, so that would be a solution.
7osa
Posts: 1
Joined: Mon Oct 05, 2020 8:58 am

Re: Arduino only-based adapter (no PC needed)

Post by 7osa »

Good evening everyone !
Thanks @thijsNL @Mysli0210 for the great help and for discovering this method to use gimx only without the need of a laptop or pc.

I just have few question that I need clarification for bcz I just can't get to fathom the idea.

1. I installed the arduino ide then installed LUFA, git, & python as instructed, then changed the settings.h as instructed.
Then what should i do to upload on the arduino leonardo, just compile it? What about the USB Host Shield? No role for it in the compilation process? After I compile on the leonardo alone, just use it alongside the usb host and everything should get going?


2. What is the hr connection diagram now?
I mean i guess now the hub that has the steering wheel and a ps4 controller will be connected to the usb host shield, and then where should i connect the usb host shield with the arduino?
And in the original gimx adaptor i was using the ft232r chip usb to uart, where will i use that too?


3.I have a logitech G27 steering wheel, what is the file that can allow me to change the code that assigns the buttons?

I will really appreciate it if anyone have tried this and can inform us with information regarding my questions.


Thanks in advance!
tiopepe
Posts: 1
Joined: Wed Nov 04, 2020 5:09 pm

Re: Arduino only-based adapter (no PC needed)

Post by tiopepe »

Hello everyone,
I am tiopepe from Italy, and this is a first time to me in GIMX forum.

I built a diy pedals using Arduino Joystick Library:
https://www.instructables.com/Arduino-L ... rJoystick/

My pedals gamepad works fine to windows

Now I would to use to use my diy gamepad (pedals) with ps4.

I noticed the fantastic job by ThijsNL about arduino only-based adapter and and I would like to ask for your help to realize my project

Thaks in advance for the support
ThijsNL
Posts: 24
Joined: Mon May 06, 2019 5:43 pm

Re: Arduino only-based adapter (no PC needed)

Post by ThijsNL »

dar2q wrote: Wed May 29, 2019 5:19 pm maybe we can use some of the clone controllers chips like nuvoton

https://www.cybersecobservatory.com/201 ... mware-usb/
This seemed to look like a nice christmas project for me, as my first attempt failed, here is a second try.

I have:

- a 2nd hand controller from Hori for cheap
- a NuLink interface for debugging the Nuvoton NUC220SC3
- soldered some headers to the SWD pins

Image

I could write an exciting story now about debugging and unlocking the chip, however it would not make any sense.
I managed to dump a part of the SRAM (8K) and it showed a particular string:

Image

The A7105 is a standalone (semi)custom NXP security chip (made for S0ny?) that 3rd party controller deverlopers use to authenticate their controller with the PS4 system. Therefore, the Nuvoton MCU onboard is just bypassing authentication data; the answer to the challenge is performed in the A7105 and read/written by I2C. This makes exploiting the Nuvoton useless (having the thought a 3rd party developer would likely have more weaknesses in their products than the official DS4 firmwares).

Reference: https://gist.github.com/dogtopus/dae307 ... 06e79583d0

In any case, I will not get any further into exploiting this specific chip, Perhaps i will borrow it from 'broken' controller and add it to my own PCB (Just like they did with the CIC chips on clone carts)

Best of all for 2021!
Mathijs
Bubbler505
Posts: 3
Joined: Tue Mar 15, 2022 8:15 pm

Re: Arduino only-based adapter (no PC needed)

Post by Bubbler505 »

How can I use the G27 with this solution? I have a working Gimx adapter with the Arduino Leonardo but would like to remove the PC requirement.
Useus
Posts: 27
Joined: Fri Oct 06, 2017 8:27 am

Re: Arduino only-based adapter (no PC needed)

Post by Useus »

Bubbler505 wrote: Wed Mar 23, 2022 11:27 pm How can I use the G27 with this solution? I have a working Gimx adapter with the Arduino Leonardo but would like to remove the PC requirement.
i wanted to try with dfp but i went crazy trying to install lufa without success

by modifying a few lines of code it is perhaps possible to make other logitech steering wheels functional
Phoenix101
Posts: 25
Joined: Tue Dec 22, 2015 2:51 pm

Re: Arduino only-based adapter (no PC needed)

Post by Phoenix101 »

Hello,
just a question about arduino; I am not into the world of microcontroller devices etc.
What is the difference between arduino (micro/leonardo) and a teensy 2.0? I mean, both are using the Atmel AVR ATmega32u4 chip so why I cannot use a modified teensy 2.0? USB ports cannot be attached to that board? Or is the different voltage?
THKS
Useus
Posts: 27
Joined: Fri Oct 06, 2017 8:27 am

Re: Arduino only-based adapter (no PC needed)

Post by Useus »

it is a pity that this project doesn't go ahead, it would be very useful, given the incompatibility of gimx software with windows xp to be able to use the most recent racing wheels on the old operating system. There are many driving simulators which unfortunately no longer work properly on the new systems.
It would also be less complicated to assemble since the security chip would not be necessary.
User avatar
GoDlike
Posts: 1318
Joined: Thu Apr 28, 2016 12:47 pm
Location: Poland

Re: Arduino only-based adapter (no PC needed)

Post by GoDlike »

Unfortunately this project was limited in many ways by Arduino speed and flash size.
My hardware: PS3 Slim CFW 4.80 | PS4 Pro 500 Million LE | PS5 | Xbox Series X
Steam: Godlike_RU | PSN: GoDlike_RU | XBL: GoDlike
Post Reply