Page 1 of 2

Thrustmaster 3 in 1 GIMX Logfile "access is denied"

Posted: Sat Dec 26, 2020 9:57 pm
by stiefelm3
Hi all,

sorry, I can't seem to find a way around my issue after reading this forum.

SetProcessAffinityMask failed with error: Access is denied. Is what is displayed, and my wheel/PS4 Dualshock now doesn't do anything on my PS4.

"This config seems okay" is displayed, when I press "Check". I made it from scratch, as I never had any luck modifying any existing Logitech G29 files.

Does anybody know where to start? Can I attach my config to see what's wrong with it? Do I need to put any config files or pictures on some online storage so that I can "link" them into this forum?

Thanks for any help you can give. :)

Re: Thrustmaster 3 in 1 GIMX Logfile "access is denied"

Posted: Sat Dec 26, 2020 10:04 pm
by stiefelm3
Logfile produces this, but no response on PS4 playing Gran Turismo Sport

Code: Select all

global option -l with value `log.txt'
global option -c with value `From empty test 1.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 (19041)
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.
found pass-through device 0x054c:0x09cc
rounding timer period 1000us to 998us
registered joystick 0 with name "PS4 Controller"
using default refresh period: 5.00ms
mouse 0 has name 'HID-compliant mouse' and virtual id 0
keyboard 0 has name 'HID Keyboard Device' and virtual id 0
joystick 0 has name 'PS4 Controller' and virtual id 0
joystick 1 has name 'FGT Rumble 3-in-1' and virtual id 0
Dump of C:\Users\New User\AppData\Roaming/gimx/config/From empty test 1.xml:
<?xml version="1.0" encoding="UTF-8"?>
<root>
  <controller id="1" dpi="0" type="G29 PS4">
    <configuration id="1">
      <trigger type="joystick" id="0" name="FGT Rumble 3-in-1" button_id="12" switch_back="no" delay="0"/>
      <mouse_options_list/>
      <intensity_list/>
      <button_map>
        <button id="abs_axis_12" label="Shift Up">
          <device type="joystick" id="0" name="FGT Rumble 3-in-1"/>
          <event type="button" id="5"/>
        </button>
        <button id="abs_axis_11" label="Shift Down">
          <device type="joystick" id="0" name="FGT Rumble 3-in-1"/>
          <event type="button" id="4"/>
        </button>
        <button id="abs_axis_3" label="Up">
          <device type="joystick" id="0" name="FGT Rumble 3-in-1"/>
          <event type="button" id="13"/>
        </button>
        <button id="abs_axis_5" label="Down">
          <device type="joystick" id="0" name="FGT Rumble 3-in-1"/>
          <event type="button" id="15"/>
        </button>
        <button id="abs_axis_9" label="X">
          <device type="joystick" id="0" name="FGT Rumble 3-in-1"/>
          <event type="button" id="1"/>
        </button>
        <button id="abs_axis_8" label="O">
          <device type="joystick" id="0" name="FGT Rumble 3-in-1"/>
          <event type="button" id="2"/>
        </button>
      </button_map>
      <axis_map>
        <axis id="rel_axis_4" label="wheel">
          <device type="joystick" id="0" name="FGT Rumble 3-in-1"/>
          <event type="axis" id="0" dead_zone="0" multiplier="0.008" exponent="1.00" shape=""/>
        </axis>
        <axis id="rel_axis_6" label="gas">
          <device type="joystick" id="0" name="FGT Rumble 3-in-1"/>
          <event type="axis" id="2" dead_zone="0" multiplier="0.008" exponent="1.00" shape=""/>
        </axis>
        <axis id="rel_axis_5" label="brake">
          <device type="joystick" id="0" name="FGT Rumble 3-in-1"/>
          <event type="axis" id="1" dead_zone="0" multiplier="0.008" exponent="1.00" shape=""/>
        </axis>
      </axis_map>
      <joystick_corrections_list/>
    </configuration>
  </controller>
</root>
Press the key/button assigned to PS.
rounding timer period 5000us to 4990us
src/windows/gprio.c:376 unsetprocessaffinities: SetProcessAffinityMask failed with error: Access is denied.


src/windows/gprio.c:376 unsetprocessaffinities: SetProcessAffinityMask failed with error: Access is denied.


src/windows/gprio.c:376 unsetprocessaffinities: SetProcessAffinityMask failed with error: Access is denied.


src/windows/gprio.c:376 unsetprocessaffinities: SetProcessAffinityMask failed with error: Access is denied.


0 33.473088,  (-1)
0 33.488040,  (-1)
0 33.498020,  (-1)
0 33.512989,  (-1)
0 33.517982,  (-1)
0 33.537943,  (-1)
0 33.597811,  (-1)
0 33.607828,  (-1)
0 33.622782,  (-1)
0 33.632762,  (-1)
0 33.647737,  (-1)
0 33.657717,  (-1)
0 35.224728,  (-1)
0 35.249664,  (-1)
0 35.264660,  (-1)
0 35.294602,  (-1)
0 35.354490,  (-1)
0 35.359480,  (-1)
0 35.374452,  (-1)
0 35.394412,  (-1)
0 35.833579,  (-1)
0 35.848548,  (-1)
0 35.858528,  (-1)
0 35.873504,  (-1)
0 35.878491,  (-1)
0 35.903444,  (-1)
0 35.958342,  (-1)
0 36.058151,  (-1)
0 36.232817,  (-1)

Re: Thrustmaster 3 in 1 GIMX Logfile "access is denied"

Posted: Sat Dec 26, 2020 10:23 pm
by stiefelm3
..Am I supposed to leave the Dualshock off when I connect everything up? The guide doesn't seem to say turn it on at any point. I do make sure it's turned off as directed by the guide.

I have used the space bar on my keyboard as the profile activation key.

On the config editor, my "Type" selected is G29 PS4. It only started to be detected (my wheel) after I selected this. But my wheel is a PS3/PC selectable wheel. Should I set it to something else?

Re: Thrustmaster 3 in 1 GIMX Logfile "access is denied"

Posted: Sun Dec 27, 2020 2:23 pm
by LoneWolf81
Hi

The error you get can be safely ignored, just to confirm the controller should be off. Just check what key is assigned to PS or just remap it and try again. The config type G29 PS4 is correct for your application.

Re: Thrustmaster 3 in 1 GIMX Logfile "access is denied"

Posted: Sun Dec 27, 2020 6:45 pm
by stiefelm3
Thanks for that. I understand you want me to remap the space bar to something else and try again? Do you know why my Dualshock doesn't respond in the game? Is that normal? So I'm not doing anything else wrong as far as you can tell? Also, in GT Sport there isn't a wheel like mine to configure so should i use the G29 if i get it working? Thanks again

Re: Thrustmaster 3 in 1 GIMX Logfile "access is denied"

Posted: Sun Dec 27, 2020 7:44 pm
by stiefelm3
Hi Lonewolf,

I now have pedals working, but no wheel. It tells me to adjust my wheel range to 900 degrees in the logfile.

Can't see how, but will keep trying. I finally got PS4 to recognise Thrustmaster after I programmed in a PS button! :D

Thanks for helping so far!

Re: Thrustmaster 3 in 1 GIMX Logfile "access is denied"

Posted: Mon Dec 28, 2020 12:14 am
by stiefelm3
Hi Lonewolf,

I see GT Sport on the PS4 doesn't have wheel range adjustments possible in the game itself, and the terrible software Thrustmaster have made for windows (and my Ferrari 3 in 1) doesn't have that either- so..... does this mean I cannot use my wheel, or can I make the wheel range adjustments the logfile suggests using a macro?

Thanks

Re: Thrustmaster 3 in 1 GIMX Logfile "access is denied"

Posted: Tue Dec 29, 2020 4:44 am
by kaiba_seto2004
I don't think not changing wheel rotation range is the reason why gimx did not detect wheel.
Try remap wheel again with gimx-config, and I think you should reinstall Thrustmaster driver for windows.

Re: Thrustmaster 3 in 1 GIMX Logfile "access is denied"

Posted: Tue Dec 29, 2020 10:22 pm
by stiefelm3
Hi Kaiba,

thanks for the help. I guess it is possible that i am mapping the axis wrong (I have tried more than once.) I also have a fresh install of my wheel drivers in Win 10. Are you able to give me the steps to map the axis? It looks as though it is working. Also, all the buttons work, as well as the pedals so I assume I am doing it right.

Thanks

Re: Thrustmaster 3 in 1 GIMX Logfile "access is denied"

Posted: Tue Dec 29, 2020 10:37 pm
by stiefelm3
Logfile redact below (after new remap).

Again pedals and buttons work fine in game. In the controllers, all possible wheels (even G29) the cancel and ok buttons are grey, shouldn't one of them be bright if the game is seeing the G29 that the GIMX is emulating?

Code: Select all

global option -l with value `log.txt'
global option -c with value `Pedals but no wheel.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 (19041)
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.
found pass-through device 0x054c:0x09cc
rounding timer period 1000us to 998us
registered joystick 0 with name "PS4 Controller"
using default refresh period: 5.00ms
mouse 0 has name 'HID-compliant mouse' and virtual id 0
keyboard 0 has name 'HID Keyboard Device' and virtual id 0
joystick 0 has name 'PS4 Controller' and virtual id 0
joystick 1 has name 'FGT Rumble 3-in-1' and virtual id 0
Dump of C:\Users\New User\AppData\Roaming/gimx/config/Pedals but no wheel.xml:
<?xml version="1.0" encoding="UTF-8"?>
<root>
  <controller id="1" dpi="0" type="G29 PS4">
    <configuration id="1">
      <trigger type="keyboard" id="0" name="HID Keyboard Device" button_id="RETURN" switch_back="no" delay="0"/>
      <mouse_options_list/>
      <intensity_list/>
      <button_map>
        <button id="abs_axis_12" label="Shift Up">
          <device type="joystick" id="0" name="FGT Rumble 3-in-1"/>
          <event type="button" id="5"/>
        </button>
        <button id="abs_axis_11" label="Shift Down">
          <device type="joystick" id="0" name="FGT Rumble 3-in-1"/>
          <event type="button" id="4"/>
        </button>
        <button id="abs_axis_3" label="Up">
          <device type="joystick" id="0" name="FGT Rumble 3-in-1"/>
          <event type="button" id="13"/>
        </button>
        <button id="abs_axis_5" label="Down">
          <device type="joystick" id="0" name="FGT Rumble 3-in-1"/>
          <event type="button" id="15"/>
        </button>
        <button id="abs_axis_9" label="X">
          <device type="joystick" id="0" name="FGT Rumble 3-in-1"/>
          <event type="button" id="1"/>
        </button>
        <button id="abs_axis_8" label="O">
          <device type="joystick" id="0" name="FGT Rumble 3-in-1"/>
          <event type="button" id="2"/>
        </button>
        <button id="abs_axis_6" label="Left">
          <device type="joystick" id="0" name="FGT Rumble 3-in-1"/>
          <event type="button" id="16"/>
        </button>
        <button id="abs_axis_4" label="Right">
          <device type="joystick" id="0" name="FGT Rumble 3-in-1"/>
          <event type="button" id="14"/>
        </button>
        <button id="abs_axis_2" label="PS">
          <device type="joystick" id="0" name="FGT Rumble 3-in-1"/>
          <event type="button" id="12"/>
        </button>
        <button id="abs_axis_7" label="Triangle">
          <device type="joystick" id="0" name="FGT Rumble 3-in-1"/>
          <event type="button" id="3"/>
        </button>
        <button id="abs_axis_10" label="Square">
          <device type="joystick" id="0" name="FGT Rumble 3-in-1"/>
          <event type="button" id="0"/>
        </button>
      </button_map>
      <axis_map>
        <axis id="rel_axis_0" label="wheel">
          <device type="joystick" id="0" name="FGT Rumble 3-in-1"/>
          <event type="axis" id="0" dead_zone="0" multiplier="0.0039" exponent="1.00" shape=""/>
        </axis>
        <axis id="abs_axis_17" label="gas">
          <device type="joystick" id="0" name="FGT Rumble 3-in-1"/>
          <event type="axis" id="2" dead_zone="0" multiplier="0.008" exponent="1.00" shape=""/>
        </axis>
        <axis id="abs_axis_18" label="brake">
          <device type="joystick" id="0" name="FGT Rumble 3-in-1"/>
          <event type="axis" id="1" dead_zone="0" multiplier="0.008" exponent="1.00" shape=""/>
        </axis>
      </axis_map>
      <joystick_corrections_list>
        <correction low_value="32767" low_coef="-8191" high_value="0" high_coef="0">
          <device type="joystick" id="0" name="FGT Rumble 3-in-1"/>
          <event type="axis" id="1"/>
        </correction>
        <correction low_value="32767" low_coef="-8191" high_value="0" high_coef="0">
          <device type="joystick" id="0" name="FGT Rumble 3-in-1"/>
          <event type="axis" id="2"/>
        </correction>
        <correction low_value="0" low_coef="1" high_value="0" high_coef="1">
          <device type="joystick" id="0" name="FGT Rumble 3-in-1"/>
          <event type="axis" id="0"/>
        </correction>
      </joystick_corrections_list>
    </configuration>
  </controller>
</root>
Haptic core has source haptic_source_lg for device 046d:c260
Haptic core has sink haptic_sink_os for joystick 1 (FGT Rumble 3-in-1)
FFB invert: no
FFB gain: rumble=100 constant=100 spring=100 damper=100
Press the key/button assigned to PS.
rounding timer period 5000us to 4990us
src/windows/gprio.c:376 unsetprocessaffinities: SetProcessAffinityMask failed with error: Access is denied.


src/windows/gprio.c:376 unsetprocessaffinities: SetProcessAffinityMask failed with error: Access is denied.


src/windows/gprio.c:376 unsetprocessaffinities: SetProcessAffinityMask failed with error: Access is denied.


src/windows/gprio.c:376 unsetprocessaffinities: SetProcessAffinityMask failed with error: Access is denied.


0 1266874257.049215
0 1266874257.074134
0 1266874257.154000
0 1266874257.158976
0 1266874257.583291
0 1266874257.673120
0 1266874258.616323
0 1266874258.626299
0 1266874258.825964
0 1266874258.850914
0 1266874260.018757
0 1266874260.038700
0 1266874260.058662
0 1266874260.128532
0 1266874260.258281
0 1266874260.278225
0 1266874260.303197
0 1266874263.816604, cross (255)
0 1266874264.041169
0 1266874264.959638, wheel (-1)
0 1266874264.984597, wheel (-1)
0 1266874265.074421
0 1266874265.209292
0 1266874265.234242
0 1266874265.249216
0 1266874265.433882
0 1266874265.458820
0 1266874266.801422, wheel (-1)
0 1266874266.811400, wheel (-1)
0 1266874266.851323, wheel (-1)
0 1266874266.921232, wheel (-1)
0 1266874266.961155, wheel (-1)
0 1266874266.976126
0 1266874267.070938
0 1266874267.090908
0 1266874267.095896
0 1266874267.115860
0 1266874267.120853
0 1266874267.250604
0 1266874267.280555
0 1266874267.295493
0 1266874267.335444
0 1266874267.360396, down (255)
0 1266874267.370376, right (255), down (255)
0 1266874267.395329, right (255), down (255)
0 1266874267.410298, right (255), down (255)
0 1266874267.435250, right (255), down (255)
0 1266874267.450192
0 1266874267.560018, up (255), right (255)
0 1266874267.569997
0 1266874267.839742, cross (255)
0 1266874268.034371
0 1266874268.328831
0 1266874268.647720, PS (255)
0 1266874268.867282
0 1266874268.887278
0 1266874269.121803
0 1266874269.296530
0 1266874270.489304, cross (255)
0 1266874270.713892
0 1266874273.708452
0 1266874274.172572
1266874281.218495 debug packet received (size = 1 bytes)
0x31 
Warning: skipping unsupported command DEFAULT_SPRING_ON
adjust your wheel range to 900 degrees
Warning: skipping unsupported command DEFAULT_SPRING_OFF
0 1266874288.211983
0 1266874288.236924
0 1266874288.261915
0 1266874288.451586
0 1266874288.481547
0 1266874289.539565
0 1266874289.554567
0 1266874289.579518
0 1266874289.873963
0 1266874289.953807
0 1266874291.246438