Page 1 of 1

GIMX and PS4 - No longer working

Posted: Sun Sep 19, 2021 2:39 pm
by devagx
Hi

Ive not used the GIMX for about 3 weeks now where it has been working just fine. I connected it today and im getting the following. Anyone know how to resolve? Ive tried uninstalling GIMX from my PC and reinstalling but that hasnt helped. Also in device manager I can see Silicon Labs USB to UART bridge (COM3) ok.

SUMMARY OF ERRORS

Code: Select all

../gimxcommon/src/windows/async.c:318 async_write_timeout: WriteFile failed with error: The device does not recognize the command.


Error: failed to send data to the GIMX adapter
../gimxcommon/src/windows/async.c:318 async_write_timeout: WriteFile failed with error: The device does not recognize the command.


Error: failed to send data to the GIMX adapter
../gimxcommon/src/windows/async.c:318 async_write_timeout: WriteFile failed with error: The device does not recognize the command.


Error: failed to send data to the GIMX adapter
../gimxcommon/src/windows/async.c:318 async_write_timeout: WriteFile failed with error: The device does not recognize the command.


Error: failed to send data to the GIMX adapter
Error: failed to start the GIMX adapter.
../gimxcommon/src/windows/async.c:318 async_write_timeout: WriteFile failed with error: The device does not recognize the command.


Error: failed to send data to the GIMX adapter
src/windows/gserial.c:135 gserial_close: SetCommState failed with error: Access is denied.


src/windows/gserial.c:138 gserial_close: SetCommTimeouts failed with error: Access is denied.
FULL LOG

Code: Select all

global option -l with value `log.txt'
global option -c with value `PS4_BattlefieldV_Godlike.xml'
controller #1: option -p with value `COM3'
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 (19042)
GIMX adapter detected, controller type is: DS4.
Firmware version: 8.0
Reset sent to the GIMX adapter.
Current baudrate: -1 bps.
found pass-through device 0x054c:0x09cc
registered joystick 0 with name "PS4 Controller"
using default refresh period: 10.00ms
mouse 0 has name 'HID-compliant mouse' and virtual id 0
mouse 1 has name 'HID-compliant mouse' and virtual id 1
mouse 2 has name 'HID-compliant mouse' and virtual id 2
mouse 3 has name 'Dell Touchpad' and virtual id 0
mouse 4 has name 'HID-compliant mouse' and virtual id 3
keyboard 0 has name 'HID Keyboard Device' and virtual id 0
keyboard 1 has name 'HID Keyboard Device' and virtual id 1
keyboard 2 has name 'HID Keyboard Device' and virtual id 2
keyboard 3 has name 'Standard PS/2 Keyboard' and virtual id 0
keyboard 4 has name 'HID Keyboard Device' and virtual id 3
joystick 0 has name 'PS4 Controller' and virtual id 0
Dump of C:\Users\alung\AppData\Roaming/gimx/config/PS4_BattlefieldV_Godlike.xml:
<?xml version="1.0" encoding="UTF-8"?>
<root>
  <controller id="1" dpi="12000" type="DS4">
    <configuration id="1">
      <trigger type="keyboard" id="0" name="" button_id="BACKSPACE" switch_back="no" delay="0"/>
      <mouse_options_list>
        <mouse name="" id="0" mode="Aiming" buffer_size="1" filter="0.00"/>
      </mouse_options_list>
      <intensity_list/>
      <button_map>
        <button id="abs_axis_16" label="Melee">
          <device type="keyboard" id="0" name=""/>
          <event type="button" id="v"/>
        </button>
        <button id="abs_axis_15" label="Sprint">
          <device type="keyboard" id="0" name=""/>
          <event type="button" id="LSHIFT"/>
        </button>
        <button id="abs_axis_14" label="Shoot">
          <device type="mouse" id="0" name=""/>
          <event type="button" id="BUTTON_LEFT"/>
        </button>
        <button id="abs_axis_13" label="Aim">
          <device type="mouse" id="0" name=""/>
          <event type="button" id="BUTTON_RIGHT"/>
        </button>
        <button id="abs_axis_12" label="Last weapon">
          <device type="keyboard" id="0" name=""/>
          <event type="button" id="e"/>
        </button>
        <button id="abs_axis_11" label="Grenade">
          <device type="keyboard" id="0" name=""/>
          <event type="button" id="g"/>
        </button>
        <button id="abs_axis_10" label="Reload/Use">
          <device type="keyboard" id="0" name=""/>
          <event type="button" id="r"/>
        </button>
        <button id="abs_axis_9" label="Jump">
          <device type="keyboard" id="0" name=""/>
          <event type="button" id="SPACE"/>
        </button>
        <button id="abs_axis_8" label="Duck">
          <device type="keyboard" id="0" name=""/>
          <event type="button" id="LCTRL"/>
        </button>
        <button id="abs_axis_7" label="Secondary Weapon">
          <device type="keyboard" id="0" name=""/>
          <event type="button" id="f"/>
        </button>
        <button id="abs_axis_6" label="D-Pad Left">
          <device type="keyboard" id="0" name=""/>
          <event type="button" id="1"/>
        </button>
        <button id="abs_axis_5" label="D-Pad Down">
          <device type="keyboard" id="0" name=""/>
          <event type="button" id="q"/>
        </button>
        <button id="abs_axis_4" label="D-Pad Right">
          <device type="keyboard" id="0" name=""/>
          <event type="button" id="3"/>
        </button>
        <button id="abs_axis_3" label="D-Pad Up">
          <device type="keyboard" id="0" name=""/>
          <event type="button" id="2"/>
        </button>
        <button id="abs_axis_2" label="PS">
          <device type="keyboard" id="0" name=""/>
          <event type="button" id="BACKSPACE"/>
        </button>
        <button id="abs_axis_1" label="Start">
          <device type="keyboard" id="0" name=""/>
          <event type="button" id="RETURN"/>
        </button>
        <button id="abs_axis_0" label="Share">
          <device type="keyboard" id="0" name=""/>
          <event type="button" id="BACKQUOTE"/>
        </button>
        <button id="abs_axis_17" label="">
          <device type="keyboard" id="0" name=""/>
          <event type="button" id="TAB"/>
        </button>
        <button id="abs_axis_17" label="">
          <device type="joystick" id="0" name="PS4 Controller"/>
          <event type="button" id="15"/>
        </button>
        <button id="abs_axis_9" label="">
          <device type="joystick" id="0" name="PS4 Controller"/>
          <event type="button" id="0"/>
        </button>
        <button id="abs_axis_10" label="">
          <device type="joystick" id="0" name="PS4 Controller"/>
          <event type="button" id="2"/>
        </button>
        <button id="abs_axis_7" label="">
          <device type="joystick" id="0" name="PS4 Controller"/>
          <event type="button" id="3"/>
        </button>
        <button id="abs_axis_8" label="">
          <device type="joystick" id="0" name="PS4 Controller"/>
          <event type="button" id="1"/>
        </button>
        <button id="abs_axis_16" label="">
          <device type="joystick" id="0" name="PS4 Controller"/>
          <event type="button" id="8"/>
        </button>
        <button id="abs_axis_15" label="">
          <device type="joystick" id="0" name="PS4 Controller"/>
          <event type="button" id="7"/>
        </button>
        <button id="abs_axis_3" label="">
          <device type="joystick" id="0" name="PS4 Controller"/>
          <event type="button" id="11"/>
        </button>
        <button id="abs_axis_6" label="">
          <device type="joystick" id="0" name="PS4 Controller"/>
          <event type="button" id="13"/>
        </button>
        <button id="abs_axis_4" label="">
          <device type="joystick" id="0" name="PS4 Controller"/>
          <event type="button" id="14"/>
        </button>
        <button id="abs_axis_5" label="">
          <device type="joystick" id="0" name="PS4 Controller"/>
          <event type="button" id="12"/>
        </button>
        <button id="abs_axis_1" label="">
          <device type="joystick" id="0" name="PS4 Controller"/>
          <event type="button" id="6"/>
        </button>
        <button id="abs_axis_0" label="">
          <device type="joystick" id="0" name="PS4 Controller"/>
          <event type="button" id="4"/>
        </button>
        <button id="abs_axis_11" label="">
          <device type="joystick" id="0" name="PS4 Controller"/>
          <event type="button" id="9"/>
        </button>
        <button id="abs_axis_12" label="">
          <device type="joystick" id="0" name="PS4 Controller"/>
          <event type="button" id="10"/>
        </button>
        <button id="abs_axis_17" label="">
          <device type="keyboard" id="0" name=""/>
          <event type="button" id="CAPSLOCK"/>
        </button>
      </button_map>
      <axis_map>
        <axis id="rel_axis_3" label="Aiming - y axis">
          <device type="mouse" id="0" name=""/>
          <event type="axis" id="y" dead_zone="3" multiplier="3.95" exponent="0.63" shape="Circle"/>
        </axis>
        <axis id="rel_axis_2" label="Aiming - x axis">
          <device type="mouse" id="0" name=""/>
          <event type="axis" id="x" dead_zone="3" multiplier="3.5" exponent="0.63" shape="Circle"/>
        </axis>
        <axis id="rel_axis_0-" label="">
          <device type="keyboard" id="0" name=""/>
          <event type="button" id="a"/>
        </axis>
        <axis id="rel_axis_1+" label="">
          <device type="keyboard" id="0" name=""/>
          <event type="button" id="s"/>
        </axis>
        <axis id="rel_axis_0+" label="">
          <device type="keyboard" id="0" name=""/>
          <event type="button" id="d"/>
        </axis>
        <axis id="rel_axis_1-" label="">
          <device type="keyboard" id="0" name=""/>
          <event type="button" id="w"/>
        </axis>
        <axis id="abs_axis_13" label="">
          <device type="joystick" id="0" name="PS4 Controller"/>
          <event type="axis" id="4" dead_zone="0" multiplier="0.008" exponent="1.00" shape=""/>
        </axis>
        <axis id="abs_axis_14" label="">
          <device type="joystick" id="0" name="PS4 Controller"/>
          <event type="axis" id="5" dead_zone="0" multiplier="0.008" exponent="1.00" shape=""/>
        </axis>
      </axis_map>
      <joystick_corrections_list/>
    </configuration>
    <configuration id="2">
      <trigger type="mouse" id="0" name="" button_id="BUTTON_RIGHT" switch_back="yes" delay="0"/>
      <mouse_options_list>
        <mouse name="" id="0" mode="Aiming" buffer_size="1" filter="0.00"/>
      </mouse_options_list>
      <intensity_list/>
      <button_map>
        <button id="abs_axis_16" label="Melee">
          <device type="keyboard" id="0" name=""/>
          <event type="button" id="v"/>
        </button>
        <button id="abs_axis_15" label="Sprint">
          <device type="keyboard" id="0" name=""/>
          <event type="button" id="LSHIFT"/>
        </button>
        <button id="abs_axis_14" label="Shoot">
          <device type="mouse" id="0" name=""/>
          <event type="button" id="BUTTON_LEFT"/>
        </button>
        <button id="abs_axis_13" label="Aim">
          <device type="mouse" id="0" name=""/>
          <event type="button" id="BUTTON_RIGHT"/>
        </button>
        <button id="abs_axis_12" label="Last weapon">
          <device type="keyboard" id="0" name=""/>
          <event type="button" id="e"/>
        </button>
        <button id="abs_axis_11" label="Grenade">
          <device type="keyboard" id="0" name=""/>
          <event type="button" id="g"/>
        </button>
        <button id="abs_axis_10" label="Reload/Use">
          <device type="keyboard" id="0" name=""/>
          <event type="button" id="r"/>
        </button>
        <button id="abs_axis_9" label="Jump">
          <device type="keyboard" id="0" name=""/>
          <event type="button" id="SPACE"/>
        </button>
        <button id="abs_axis_8" label="Duck">
          <device type="keyboard" id="0" name=""/>
          <event type="button" id="LCTRL"/>
        </button>
        <button id="abs_axis_7" label="Secondary Weapon">
          <device type="keyboard" id="0" name=""/>
          <event type="button" id="f"/>
        </button>
        <button id="abs_axis_6" label="D-Pad Left">
          <device type="keyboard" id="0" name=""/>
          <event type="button" id="1"/>
        </button>
        <button id="abs_axis_5" label="D-Pad Down">
          <device type="keyboard" id="0" name=""/>
          <event type="button" id="q"/>
        </button>
        <button id="abs_axis_4" label="D-Pad Right">
          <device type="keyboard" id="0" name=""/>
          <event type="button" id="3"/>
        </button>
        <button id="abs_axis_3" label="D-Pad Up">
          <device type="keyboard" id="0" name=""/>
          <event type="button" id="2"/>
        </button>
        <button id="abs_axis_2" label="PS">
          <device type="keyboard" id="0" name=""/>
          <event type="button" id="BACKSPACE"/>
        </button>
        <button id="abs_axis_1" label="Start">
          <device type="keyboard" id="0" name=""/>
          <event type="button" id="RETURN"/>
        </button>
        <button id="abs_axis_0" label="Share">
          <device type="keyboard" id="0" name=""/>
          <event type="button" id="BACKQUOTE"/>
        </button>
        <button id="abs_axis_17" label="">
          <device type="keyboard" id="0" name=""/>
          <event type="button" id="TAB"/>
        </button>
        <button id="abs_axis_17" label="">
          <device type="joystick" id="0" name="PS4 Controller"/>
          <event type="button" id="15"/>
        </button>
        <button id="abs_axis_9" label="">
          <device type="joystick" id="0" name="PS4 Controller"/>
          <event type="button" id="0"/>
        </button>
        <button id="abs_axis_10" label="">
          <device type="joystick" id="0" name="PS4 Controller"/>
          <event type="button" id="2"/>
        </button>
        <button id="abs_axis_7" label="">
          <device type="joystick" id="0" name="PS4 Controller"/>
          <event type="button" id="3"/>
        </button>
        <button id="abs_axis_8" label="">
          <device type="joystick" id="0" name="PS4 Controller"/>
          <event type="button" id="1"/>
        </button>
        <button id="abs_axis_16" label="">
          <device type="joystick" id="0" name="PS4 Controller"/>
          <event type="button" id="8"/>
        </button>
        <button id="abs_axis_15" label="">
          <device type="joystick" id="0" name="PS4 Controller"/>
          <event type="button" id="7"/>
        </button>
        <button id="abs_axis_3" label="">
          <device type="joystick" id="0" name="PS4 Controller"/>
          <event type="button" id="11"/>
        </button>
        <button id="abs_axis_6" label="">
          <device type="joystick" id="0" name="PS4 Controller"/>
          <event type="button" id="13"/>
        </button>
        <button id="abs_axis_4" label="">
          <device type="joystick" id="0" name="PS4 Controller"/>
          <event type="button" id="14"/>
        </button>
        <button id="abs_axis_5" label="">
          <device type="joystick" id="0" name="PS4 Controller"/>
          <event type="button" id="12"/>
        </button>
        <button id="abs_axis_1" label="">
          <device type="joystick" id="0" name="PS4 Controller"/>
          <event type="button" id="6"/>
        </button>
        <button id="abs_axis_0" label="">
          <device type="joystick" id="0" name="PS4 Controller"/>
          <event type="button" id="4"/>
        </button>
        <button id="abs_axis_11" label="">
          <device type="joystick" id="0" name="PS4 Controller"/>
          <event type="button" id="9"/>
        </button>
        <button id="abs_axis_12" label="">
          <device type="joystick" id="0" name="PS4 Controller"/>
          <event type="button" id="10"/>
        </button>
      </button_map>
      <axis_map>
        <axis id="rel_axis_3" label="Aiming - y axis">
          <device type="mouse" id="0" name=""/>
          <event type="axis" id="y" dead_zone="3" multiplier="3.70" exponent="0.65" shape="Circle"/>
        </axis>
        <axis id="rel_axis_2" label="Aiming - x axis">
          <device type="mouse" id="0" name=""/>
          <event type="axis" id="x" dead_zone="3" multiplier="3.3" exponent="0.65" shape="Circle"/>
        </axis>
        <axis id="rel_axis_0-" label="">
          <device type="keyboard" id="0" name=""/>
          <event type="button" id="a"/>
        </axis>
        <axis id="rel_axis_1+" label="">
          <device type="keyboard" id="0" name=""/>
          <event type="button" id="s"/>
        </axis>
        <axis id="rel_axis_0+" label="">
          <device type="keyboard" id="0" name=""/>
          <event type="button" id="d"/>
        </axis>
        <axis id="rel_axis_1-" label="">
          <device type="keyboard" id="0" name=""/>
          <event type="button" id="w"/>
        </axis>
        <axis id="abs_axis_13" label="">
          <device type="joystick" id="0" name="PS4 Controller"/>
          <event type="axis" id="4" dead_zone="0" multiplier="0.008" exponent="1.00" shape=""/>
        </axis>
        <axis id="abs_axis_14" label="">
          <device type="joystick" id="0" name="PS4 Controller"/>
          <event type="axis" id="5" dead_zone="0" multiplier="0.008" exponent="1.00" shape=""/>
        </axis>
      </axis_map>
      <joystick_corrections_list/>
    </configuration>
    <configuration id="3">
      <trigger type="joystick" id="0" name="PS4 Controller" button_id="5" switch_back="no" delay="0"/>
      <mouse_options_list>
        <mouse name="" id="0" mode="Aiming" buffer_size="1" filter="0.00"/>
      </mouse_options_list>
      <intensity_list/>
      <button_map>
        <button id="abs_axis_17" label="">
          <device type="joystick" id="0" name="PS4 Controller"/>
          <event type="button" id="15"/>
        </button>
        <button id="abs_axis_9" label="">
          <device type="joystick" id="0" name="PS4 Controller"/>
          <event type="button" id="0"/>
        </button>
        <button id="abs_axis_10" label="">
          <device type="joystick" id="0" name="PS4 Controller"/>
          <event type="button" id="2"/>
        </button>
        <button id="abs_axis_7" label="">
          <device type="joystick" id="0" name="PS4 Controller"/>
          <event type="button" id="3"/>
        </button>
        <button id="abs_axis_8" label="">
          <device type="joystick" id="0" name="PS4 Controller"/>
          <event type="button" id="1"/>
        </button>
        <button id="abs_axis_16" label="">
          <device type="joystick" id="0" name="PS4 Controller"/>
          <event type="button" id="8"/>
        </button>
        <button id="abs_axis_15" label="">
          <device type="joystick" id="0" name="PS4 Controller"/>
          <event type="button" id="7"/>
        </button>
        <button id="abs_axis_3" label="">
          <device type="joystick" id="0" name="PS4 Controller"/>
          <event type="button" id="11"/>
        </button>
        <button id="abs_axis_6" label="">
          <device type="joystick" id="0" name="PS4 Controller"/>
          <event type="button" id="13"/>
        </button>
        <button id="abs_axis_4" label="">
          <device type="joystick" id="0" name="PS4 Controller"/>
          <event type="button" id="14"/>
        </button>
        <button id="abs_axis_5" label="">
          <device type="joystick" id="0" name="PS4 Controller"/>
          <event type="button" id="12"/>
        </button>
        <button id="abs_axis_1" label="">
          <device type="joystick" id="0" name="PS4 Controller"/>
          <event type="button" id="6"/>
        </button>
        <button id="abs_axis_0" label="">
          <device type="joystick" id="0" name="PS4 Controller"/>
          <event type="button" id="4"/>
        </button>
        <button id="abs_axis_11" label="">
          <device type="joystick" id="0" name="PS4 Controller"/>
          <event type="button" id="9"/>
        </button>
        <button id="abs_axis_12" label="">
          <device type="joystick" id="0" name="PS4 Controller"/>
          <event type="button" id="10"/>
        </button>
      </button_map>
      <axis_map>
        <axis id="abs_axis_13" label="">
          <device type="joystick" id="0" name="PS4 Controller"/>
          <event type="axis" id="4" dead_zone="0" multiplier="0.008" exponent="1.00" shape=""/>
        </axis>
        <axis id="abs_axis_14" label="">
          <device type="joystick" id="0" name="PS4 Controller"/>
          <event type="axis" id="5" dead_zone="0" multiplier="0.008" exponent="1.00" shape=""/>
        </axis>
        <axis id="rel_axis_0" label="">
          <device type="joystick" id="0" name="PS4 Controller"/>
          <event type="axis" id="0" dead_zone="0" multiplier="0.0039" exponent="1.00" shape=""/>
        </axis>
        <axis id="rel_axis_3" label="">
          <device type="joystick" id="0" name="PS4 Controller"/>
          <event type="axis" id="3" dead_zone="0" multiplier="0.0039" exponent="1.00" shape=""/>
        </axis>
        <axis id="rel_axis_2" label="">
          <device type="joystick" id="0" name="PS4 Controller"/>
          <event type="axis" id="2" dead_zone="0" multiplier="0.0039" exponent="1.00" shape=""/>
        </axis>
        <axis id="rel_axis_1" label="">
          <device type="joystick" id="0" name="PS4 Controller"/>
          <event type="axis" id="1" dead_zone="0" multiplier="0.0039" exponent="1.00" shape=""/>
        </axis>
      </axis_map>
      <joystick_corrections_list/>
    </configuration>
  </controller>
</root>
Warning: A device name is empty. Multiple mice and keyboards are not managed.
Haptic core has source haptic_source_rumble for device 054c:05c4
No haptic sink found for joystick 0 (PS4 Controller)
Rumble pass-through to joystick 0 (PS4 Controller)
Press the key/button assigned to PS.
../gimxcommon/src/windows/async.c:318 async_write_timeout: WriteFile failed with error: The device does not recognize the command.


Error: failed to send data to the GIMX adapter
../gimxcommon/src/windows/async.c:318 async_write_timeout: WriteFile failed with error: The device does not recognize the command.


Error: failed to send data to the GIMX adapter
../gimxcommon/src/windows/async.c:318 async_write_timeout: WriteFile failed with error: The device does not recognize the command.


Error: failed to send data to the GIMX adapter
../gimxcommon/src/windows/async.c:318 async_write_timeout: WriteFile failed with error: The device does not recognize the command.


Error: failed to send data to the GIMX adapter
Error: failed to start the GIMX adapter.
../gimxcommon/src/windows/async.c:318 async_write_timeout: WriteFile failed with error: The device does not recognize the command.


Error: failed to send data to the GIMX adapter
src/windows/gserial.c:135 gserial_close: SetCommState failed with error: Access is denied.


src/windows/gserial.c:138 gserial_close: SetCommTimeouts failed with error: Access is denied.

Re: GIMX and PS4 - No longer working

Posted: Thu Sep 23, 2021 8:30 pm
by Cybereu
Check USB cables, may be broken or bad quality, check solders, check pins to pins connections, do not use USB HUB.

Re: GIMX and PS4 - No longer working

Posted: Sun Sep 26, 2021 3:17 pm
by devagx
I have checked everything and replaced cables and still same issue. what strange is looking at logs it looks like it does get the connection to the ps4 controller initially and its detecting the gimx adapter:

GIMX adapter detected, controller type is: DS4.
Firmware version: 8.0
Reset sent to the GIMX adapter.
Current baudrate: -1 bps.
found pass-through device 0x054c:0x09cc
registered joystick 0 with name "PS4 Controller"
using default refresh period: 10.00ms
mouse 0 has name 'HID-compliant mouse' and virtual id 0

Re: GIMX and PS4 - No longer working

Posted: Sun Sep 26, 2021 3:43 pm
by devagx
ive also tried reloading the firmware on the chip and that side of its all working fine.
Only thing I can think of what might have changed is the fact ive done a windows update in last 1 month

Re: GIMX and PS4 - No longer working

Posted: Fri Oct 08, 2021 2:37 am
by Mr Schumacher
How do you upload these logs? Just copy and paste?

Re: GIMX and PS4 - No longer working

Posted: Fri Oct 08, 2021 7:08 am
by devagx
set gimx messages to log file. it then generates a log file

Re: GIMX and PS4 - No longer working

Posted: Fri Oct 08, 2021 8:31 am
by GoDlike