A DIY-GIMX Help - adapter not enumerating?

Need help? Ask here and someone will help
Post Reply
Forbidden Era
Posts: 2
Joined: Thu Dec 27, 2018 6:21 am

A DIY-GIMX Help - adapter not enumerating?

Post by Forbidden Era » Thu Dec 27, 2018 6:41 am

Hey guys,

New to GIMX..but not new to software development (20+ yrs experience) or micro stuff..

scroll down for tl;dr: - but some history and background first:

I got a atmega32u4-based breakout board (feather) and an extra UART (already had a bunch, but, they're all cheap and half didn't work for another project, and as they're all "cables" basically, I don't even know which might be 3v3 of 5v) ..

The FTDI I got is indeed 3v3 and so was the 'feather' but I then read the whole thing is that GIMX runs the atmega at 16mhz which then drives 5v - okay - fine, I got it all mounted on a breadboard anyway - toss in a quick v/div on the atmega out->ftdi in, solves, right? done. probably better ways but, this should work for this app, no? I -> 2k2 / O / 3k3 -> G IIRC

Anyway... I finally just got around to downloading the stuff to flash the atmega (avrdude, well, arduino dev package or whatever that comes with avrdude).. and was able to hit the button on the feather to init the bootloader and flash the firmware.

I've tried both emug29ps4 and emups4, my goal being to add a handbrake (half a mic stand taped/zip tied to an old Thursmaster Ferrari GT Experience Pedal box, (works great on my Mac Pro for Grid Autosport and Dirt Rally especially, need to get bootcamp going but don't have an EFI card so that's a b*..) so I can have a handbrake in some games on the PS4 (ones that allow assigning multiple controllers likely, as it seems there is limitations in full g29 support?)

I do have a G29/pedals/h-shifter, my plan is to connect that directly to the PS4. I have two DS4 controllers available, so auth stuff shouldn't be too tricky for me.

Essentially, I want to emulate a second G29 or even a DS4 simply to map the T FGT wheel's brake to handbrake in games. On games that don't allow dual control maps, it would be nice to pipe my g29 thru this too, but ..

*goes back and reads pages*

Okay, so it seems like the issue is on Linux (and I had planned on using my spare Pi to host this diy-gimx):
Force feedback only works for Logitech wheels older than the G29/G920, and for the G29/G920 starting from Linux kernel 4.6. Auto-adjustment of the wheel range is only supported for Logitech wheels older than the G29/G920, and rpm led control is only supported for the G27.
So, this should only affect me in games where I would have to have everything running thru the gimx (games that don't support mapping multiple controllers) but otherwise the g29 will be directly connected to the ps4 so doesn't matter..

And that's also only if I'm using the PI to host it, I could use my laptop instead (I have an mbp with an xp vm, was good for flashing but doesn't seem to want to run gimx {msvc dll err} even with msvc redist, should try a win7 vm at least prob, also have a win10 laptop otherwise if needed) but wanted to use my Pi.

Most games I want to use likely allow dual controllers. Unfortunately, one big one doesn't at this time, from what I can tell - Assetto Corsa.. (though, really, I should get bootcamp working on my Mac Pro and probably have better luck with a lot of these games on PC)

BUT I got the PS4 to not have to F* around to play a game..and here I am trying to build a gimx for it ;)

At least the games/races where I don't need a handbrake are great..! but yeah...the g29 should have come with a h/b..imho..but..I should prob also have a fanatec..but f* $$$


anyway.. once I've flashed this feather (with either the emups4 or emug29ps4 firmrwares) with avrdude, the USB is not enumerating on my laptop at all - I can't even pipe it to my VM letalone see it recognized on the mac - is this normal? (I've never plugged a DS4 or g29 in ps4 mode to my computers) I wouldn't think so - a usb device should always enumerate, no?

haven't bothered trying to plug it in the ps4 yet, the gimx software won't run on my xp vm either so.. but I mean, it should still show up after flashing, right? as either a ds4 or g29? dep on fw?

sorry if I'm missing something ( like does it need GIMX to turn it on over the UART adapter first? ) but ya the docs could use work, I suppose if I just bought a pre-made one I'd already be up and running but.. what's the fun in that?

thanks for info ! cheers

User avatar
Posts: 633
Joined: Thu Apr 28, 2016 12:47 pm
Location: Poland

Re: A DIY-GIMX Help - adapter not enumerating?

Post by GoDlike » Thu Dec 27, 2018 8:05 am

GIMX won't work on Windows XP, it's too old.
GIMX in any VM also won't work correctly, it may work but the lag added will make it useless.
Unless you have drivers installed, UART connected to PC will show as "Unknown Device" in device manager.

After flashing firmware the adapter is masking itself as emulated device after some time, maybe that's why you can't enumerate it. Use gimx-loader to flash the firmware, it has support for already flashed firmwe by asking you to replug the cable and detects chip before it masks itself.

Chip has to be Atmega32U4, no other chips are supported.
By FTDI you mean FT232R?
My hardware: PS3 Slim CFW 4.80 | PS4 Pro 500 Million LE | Xbox One S
Steam: Godlike_RU | PSN: GoDlike_RU | XBL: GoDlike

Forbidden Era
Posts: 2
Joined: Thu Dec 27, 2018 6:21 am

Re: A DIY-GIMX Help - adapter not enumerating?

Post by Forbidden Era » Sat Dec 29, 2018 9:05 am

Pretty sure its an r, yeah

I see nothing enumerate in osx host or in windows guest once it flashed. I can still push the button on the breakout board for the micro to init bootloader and flash it np.

Specs of the board I got:
Measures 2.0" x 0.9" x 0.28" (51mm x 23mm x 8mm) without headers soldered in
Light as a (large?) feather - 4.8 grams
ATmega32u4 @ 8MHz with 3.3V logic/power
3.3V regulator with 500mA peak current output
USB native support, comes with USB bootloader and serial port debugging
You also get tons of pins - 20 GPIO pins
Hardware Serial, hardware I2C, hardware SPI support
7 x PWM pins
10 x analog inputs (one is used to measure the battery voltage)
Built in 100mA lipoly charger with charging status indicator LED
Pin #13 red LED for general purpose blinking
Power/enable pin
4 mounting holes
Reset button


The only concern I really had was 3.3v but I assume the firmware would run it at 5v/16mhz as I have read? My ttl is 3v too but I have a voltage divider wired in as I said, shouldnt be an issue..

I do a fair bit of other toying with arduinos/micros/pi/programmers etc and have a fair bit of stuff kicking around

Does the micro need to be initialized by gimx at all before it'll work? I havent yet bothered trying to hook it to the ps4.

Was the only micro with that chip at the shop that day but it is def the right chip so..it programs fine..

Any info on debugging? Does it output anything over the serial pins I could watch? I suppose gimx talks to it thru the uart anyway, maybe I should pop gimx up and see if it can see the adapter on that side?

I have a win10 laptop i can use for now..eventually when its all working I think I will want to use the pi unless there is a game where I need to connect my g29 to the gimx instead of directly.

I just got a psvr today - definitely need gimx working now..dirt rally with g29 and custom handbrake and psvr..yes please.

Any/all help appreciated. I can grab different hw if needed but id like to get what I have working as it should work

User avatar
Posts: 5098
Joined: Wed Jul 06, 2011 7:01 am
Location: France

Re: A DIY-GIMX Help - adapter not enumerating?

Post by Matlo » Sat Dec 29, 2018 11:38 am

Firmware will not work at 3.3V.
GIMX creator Donate Shop

Post Reply