Page 1 of 1

Adapter not detected

Posted: Thu Sep 15, 2016 5:58 am
by wossquee
Hi, I'm very frustrated at this point because I had the GIMX adapter working for awhile. It has now stopped working.

Here's my setup:
PS4, PS4 Dualshock plugged into Windows 7 x64 computer. Powered USB 3.0 hub if that makes a difference.
Bought a GIMX adapter from here:
http://www.steve-marton.com/gimx/?produ ... r-for-gimx
Arduino Pro Micro clone with atmega32u4 chip, and a USB to serial interface using the CP2102 chip.
Firmware is EMUG29PS4

Wiring is EXACTLY as shown in the photos on that website, I have triple checked. I checked again after I wrote this.

Here's my log file:
global option -l with value `log.txt'
global option -c with value `LogitechG27_G29.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
GIMX 5.9 x86_64
Windows 7 SP1 x64
Kernel version: 6.1 (7601)
native mode is already enabled for HID device \\?\hid#vid_046d&pid_c29b#6&4e6b69c&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030} (PID=c29b)
ReadFile failed: timeout expired.
can't read packet header
No controller detected.
adapter_detect failed

From searching, GIMX is not reading my adapter. I really don't know what to do at this point. Is it possible I fried one or both of the boards? They still light up when plugged in. Like I said, it was working, then it stopped.

Re: Adapter not detected

Posted: Thu Sep 15, 2016 7:04 am
by Matlo
Hi,
Well, if it worked for awhile, something must have changed.
Did you change a USB cable?
Did you reconnect one of the wires between the boards?
Also, is the PS4 powered on?

Re: Adapter not detected

Posted: Thu Sep 15, 2016 7:11 am
by wossquee
I'm not sure exactly what I could have changed; the PS4 is definitely on. Same USB cable. It's possible I jerked the wires or something. The only thing I can think of is I fried or reset the board somehow.

Re: Adapter not detected

Posted: Sat Oct 01, 2016 4:45 pm
by wossquee
I have a new adapter now and it's still not working. Can't find the PS4 controller even though the config seems OK when I hit check. Same thing on a Raspberry Pi.

EDIT: I said it was the same error but it's not. The log is missing these lines:

ReadFile failed: timeout expired.
can't read packet header

So it looks like it's only not detecting the DS4 controller.

Here's the current log file:

global option -l with value `log.txt'
global option -c with value `LogitechG27_G29.xml'
controller #1: option -p with value `COM4'
now reading arguments for controller #2
grab flag is unset
status flag is set
subpos flag is set
force_updates flag is set
GIMX 5.9 x86_64
Windows 7 SP1 x64
Kernel version: 6.1 (7601)
native mode is already enabled for HID device \\?\hid#vid_046d&pid_c29b#7&27bd01a8&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030} (PID=c29b)
Detected USB adapter: G29 PS4.
No controller was found on USB buses.
adapter_detect failed

When I check the config, it says it's OK, so the software is reading the PS4 controller.
PS4 is on, DS4 is connected to the computer. Wiring is correct. What could I have done to screw this up? Is it a driver issue?

GIMX Config recognizes the controller when I press buttons on it.

Re: Adapter not detected

Posted: Sun Oct 02, 2016 4:11 am
by wossquee
I've now gotten the same error on a RPI using the image posted on this forum with the 5.7 GIMX version. I'm at a loss.

I've tried 2 different ps4 controllers, different usb cables, and it still gives me that

No controller was found on USB buses.
adapter_detect failed

error.

:(

Re: Adapter not detected

Posted: Sun Oct 02, 2016 9:24 am
by Matlo
Make sure to turn the DS4 off before connecting it to the computer. And check the USB cable, it may be defective.

Re: Adapter not detected

Posted: Sun Oct 02, 2016 2:35 pm
by wossquee
I've tried several USB cables at this point, but I'll try more. DS4 is off when it's connected.

Re: Adapter not detected

Posted: Sun Oct 02, 2016 3:56 pm
by wossquee
Same issue. 5 or 6 different cables tried. Cables I know work for other things. Different cables for both the board to the PS4 and the controller to the PC/RPi.

No controller was found on USB buses.
adapter_detect failed

The controller glows light orange when connected to the PC and light blue when connected to the RPI.

I've deleted the bluetooth device from the PS4 for one of the two controllers, so it's not paired to the PS4. No difference if I use that controller or the paired one.

Re: Adapter not detected

Posted: Mon Oct 03, 2016 5:04 pm
by wossquee
I finally got it working. I tried several cables, but what finally worked was plugging in the RPI to the PS4. My hunch is I was supplying too much power to the controller and making it think it was just charging.

Re: Adapter not detected

Posted: Mon Oct 03, 2016 8:49 pm
by Matlo
Are you sure you did not under-power the RPi instead?