No game controller was found on USB ports

Need help? Ask here and someone will help
Post Reply
MrGit
Posts: 5
Joined: Sun Mar 20, 2022 12:03 am

No game controller was found on USB ports

Post by MrGit »

Home made gimx using CP2104 Serial Converter USB 2.0 To TTL UART 6PIN Module + Teensy 2.0.

Flashed with EMUG29PS4, using a simucube 2 pro / heusinkveld sprint pedals and created a basic profile with axis for steering / throttle / brake and clutch for initial testing. Hori wired mini and gimx connected directly to the pc and not via a hub, there is one weird issue with that i have 2 instances of the horipad mini4 showing in game controllers, but both seem in reference to the one connected...i guess this could be the issue, but i cant seem to be able to remove just "one".

Log below...

global option -l with value `log.txt'
global option -c with value `sc2pro.xml'
controller #1: option -p with value `COM7'
now reading arguments for controller #2
status flag is set
subpos flag is set
force_updates flag is set
auto-grab flag is set
GIMX 8.0 x86_64
Windows 10 (or later) x64
Kernel version: 10.0 (22000)
GIMX adapter detected, controller type is: G29 PS4.
Firmware version: 8.0
Reset sent to the GIMX adapter.
Current baudrate: 500000 bps.
Trying baudrate: 2000000 bps.
Using baudrate: 2000000 bps.
Error: No game controller was found on USB ports.
GeekyDeaks
Posts: 46
Joined: Wed Feb 16, 2022 9:44 am

Re: No game controller was found on USB ports

Post by GeekyDeaks »

MrGit wrote: Sun Mar 20, 2022 12:16 am Hori wired mini and gimx connected directly to the pc and not via a hub
The G29PS4 profile looks for the vid/pid of a DS4 variant (rev1 or 2) as a device to passthrough the auth. I'm guessing you are trying to use the Hori in place of the DS4? Unfortunately, that will not work at present as the code to use the Hori as a passthrough doesn't exist. I have been investigating this and it looks like the clean solution requires making another profile based on the G29PS4 e.g. copying https://github.com/matlo/GIMX/blob/mast ... /g29_ps4.c so you can make another device profile that uses the hori controller as the passthrough. Then you need to determine the HID report for the Hori and make a variant of https://github.com/matlo/GIMX/blob/mast ... /src/ds4.c based on that (this is the bit I am currently playing with). There is some stitching in other files I haven't fully got to the bottom of yet, but it also looks like a new firmware will need to be created for the device profile. It should be an easy copy of the G29PS4 and change just a few variables though
MrGit
Posts: 5
Joined: Sun Mar 20, 2022 12:03 am

Re: No game controller was found on USB ports

Post by MrGit »

GeekyDeaks wrote: Sun Mar 20, 2022 7:45 am
MrGit wrote: Sun Mar 20, 2022 12:16 am Hori wired mini and gimx connected directly to the pc and not via a hub
The G29PS4 profile looks for the vid/pid of a DS4 variant (rev1 or 2) as a device to passthrough the auth. I'm guessing you are trying to use the Hori in place of the DS4? Unfortunately, that will not work at present as the code to use the Hori as a passthrough doesn't exist. I have been investigating this and it looks like the clean solution requires making another profile based on the G29PS4 e.g. copying https://github.com/matlo/GIMX/blob/mast ... /g29_ps4.c so you can make another device profile that uses the hori controller as the passthrough. Then you need to determine the HID report for the Hori and make a variant of https://github.com/matlo/GIMX/blob/mast ... /src/ds4.c based on that (this is the bit I am currently playing with). There is some stitching in other files I haven't fully got to the bottom of yet, but it also looks like a new firmware will need to be created for the device profile. It should be an easy copy of the G29PS4 and change just a few variables though
Would an original DS4 work instead of the hori or would that too need the above to be done?
GeekyDeaks
Posts: 46
Joined: Wed Feb 16, 2022 9:44 am

Re: No game controller was found on USB ports

Post by GeekyDeaks »

I'm using an original DS4 (rev1), so that should be fine. Just make sure it's turned off before connecting it to the PC
GeekyDeaks
Posts: 46
Joined: Wed Feb 16, 2022 9:44 am

Re: No game controller was found on USB ports

Post by GeekyDeaks »

oh, I just saw your other post. I didn't realise you had a PS5. The DS4 will not work with the PS5, sorry

EDIT: I just had one other thought. I suspect you may have already read the threads and are trying to get this to work with SC2 -> GIMX -> DriveHub -> PS5. If so, then I'm guessing the DS4 should work with the GIMX, but just make sure the Hori is in the DriveHub, not the PC. You might also be able to use the G27 firmware profile and not have to mess around with the DS4, but this is pure guesswork based on what I have read as I don't have a PS5 nor DriveHub to play around with atm

EDIT2: and if you do get it to work and find the wheel oscillating like crazy, take a look here: https://gimx.fr/forum/viewtopic.php?p=21145#p21145
MrGit
Posts: 5
Joined: Sun Mar 20, 2022 12:03 am

Re: No game controller was found on USB ports

Post by MrGit »

Yea, that's where I was going wrong..i only had the hori connected to the pc and no ds4 connected anywhere.

Just about to go pick up a ds4 so I can connect that to the pc and the hori to the drivehub. 👍
gamechanger
Posts: 49
Joined: Sun Feb 06, 2022 6:04 pm

Re: No game controller was found on USB ports

Post by gamechanger »

GeekyDeaks wrote: Sun Mar 20, 2022 7:45 am
MrGit wrote: Sun Mar 20, 2022 12:16 am Hori wired mini and gimx connected directly to the pc and not via a hub
The G29PS4 profile looks for the vid/pid of a DS4 variant (rev1 or 2) as a device to passthrough the auth. I'm guessing you are trying to use the Hori in place of the DS4? Unfortunately, that will not work at present as the code to use the Hori as a passthrough doesn't exist. I have been investigating this and it looks like the clean solution requires making another profile based on the G29PS4 e.g. copying https://github.com/matlo/GIMX/blob/mast ... /g29_ps4.c so you can make another device profile that uses the hori controller as the passthrough. Then you need to determine the HID report for the Hori and make a variant of https://github.com/matlo/GIMX/blob/mast ... /src/ds4.c based on that (this is the bit I am currently playing with). There is some stitching in other files I haven't fully got to the bottom of yet, but it also looks like a new firmware will need to be created for the device profile. It should be an easy copy of the G29PS4 and change just a few variables though
hope you can figure out the Hori pad to work with GIMX directly soon :)
MrGit
Posts: 5
Joined: Sun Mar 20, 2022 12:03 am

Re: No game controller was found on USB ports

Post by MrGit »

Just to update, once the DS4 was connected to the pc and the hori to the drivehub, it all booted up just fine!

Configured the controls and all works well. 👍
Post Reply