Search found 24 matches

by ThijsNL
Mon Dec 28, 2020 12:32 pm
Forum: GIMX Discussion
Topic: Arduino only-based adapter (no PC needed)
Replies: 60
Views: 121807

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

maybe we can use some of the clone controllers chips like nuvoton https://www.cybersecobservatory.com/2019/03/22/hacking-microcontroller-firmware-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 Hor...
by ThijsNL
Tue Jun 16, 2020 12:13 pm
Forum: GIMX Discussion
Topic: Arduino only-based adapter (no PC needed)
Replies: 60
Views: 121807

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

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. The...
by ThijsNL
Wed May 29, 2019 7:32 am
Forum: GIMX Discussion
Topic: Arduino only-based adapter (no PC needed)
Replies: 60
Views: 121807

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

Yes, i've noticed that and it is possible. However for me it would not work because when you drive a hot lap in F1 2018, you cannot permit 0.5s connection loss. I could implement it for others. Best option would be to let say 'clone' the authentication of a controller that you own so that you only h...
by ThijsNL
Tue May 28, 2019 8:32 pm
Forum: GIMX Discussion
Topic: Arduino only-based adapter (no PC needed)
Replies: 60
Views: 121807

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

True, its Cortex M4 vs AVR 8bit.
I wont say there are no differences, but most of them are HAL.
Of course there are lots of benefits like systick timer, lots of irq, PLL.

I see no reason yet it will not work (have worked with many m0,m3 and m4's before)
by ThijsNL
Tue May 28, 2019 9:27 am
Forum: GIMX Discussion
Topic: Arduino only-based adapter (no PC needed)
Replies: 60
Views: 121807

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

I have an idea to design a PCB with the following components - STM32F4 with 2 USB ports, LQFP64 (or LQFP48/32 if possible) - Texas Instruments TUSB 2036 USB 2/3-HUB 3,3 V, LQFP-32 (costs only €1,47 each) - Two USB Type A receptables for connecting wheel/auth device - One USB-C/micro-usb connector fo...
by ThijsNL
Mon May 27, 2019 7:17 am
Forum: GIMX Discussion
Topic: Arduino only-based adapter (no PC needed)
Replies: 60
Views: 121807

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

Datasheet states: Advanced connectivity -USB 2.0 full-speed device/host/OTG controller with on-chip PHY -USB 2.0 high-speed/full-speed device/host/OTG controller with dedicated DMA, on-chip full-speed PHY and ULPI Looks plausible however you still need a HUB (or integrate one on your PCB) However, a...
by ThijsNL
Sun May 26, 2019 6:15 am
Forum: GIMX Discussion
Topic: Arduino only-based adapter (no PC needed)
Replies: 60
Views: 121807

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

The Trinket M0 contains an ATSAMD21E18. The datasheet states only one USB device in peripheral mode. Still one host usb missing.
by ThijsNL
Fri May 24, 2019 9:42 am
Forum: GIMX Discussion
Topic: Arduino only-based adapter (no PC needed)
Replies: 60
Views: 121807

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

For mouse/keyboard i would suggest use GIMX.

g29emu is at the moment only working as G29 wheel emulator. No DS4 emulation yet.
it could be possible in the future, but i have no plans to do so.
by ThijsNL
Fri May 24, 2019 9:39 am
Forum: General Discussion
Topic: PS 4 - Controller Authentication
Replies: 18
Views: 27729

Re: PS 4 - Controller Authentication

USB's packets are CRCed by architecture so that might be possible. But what about the authentication. I thought (read it that way) that a random nonce is signed by the controller and that you can verify the signature by using the 2048 bit public key (which also comes with the reply) to decrypt it ba...
by ThijsNL
Fri May 24, 2019 7:55 am
Forum: GIMX Discussion
Topic: Arduino only-based adapter (no PC needed)
Replies: 60
Views: 121807

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

@Mysli0210 Nice, i think it will do the job, as a USB 3.0 hub will support legacy USB 1.1 (used for controllers/wheel). let me know if you have any issues. Sometimes a large hub (not in this case) having e.g. 7 ports are built with 2 USB hubs were the second chip uses a port of the first hub. Then y...