Gimx Crashes & PS3 doesn't notice

Need help? Ask here and someone will help
Post Reply
Jonovision
Posts: 12
Joined: Mon Mar 16, 2015 5:16 pm

Gimx Crashes & PS3 doesn't notice

Post by Jonovision »

I have been having a problem when I have a keyboard plugged into my laptop that results in the gimx gui crashing and the last action before that crash gets stuck down on the playstation 3 system, which ends in my character walking uncontrollably. I do not have any other programs running except for the essential ones and even turn off the WiFi to try an keep cpu usage to a minimum. As soon as I disconnect the keyboard and use the laptops keys everything runs flawlessly, but I would rather not use it when gaming. The conflict also seems to affect my macros, which prevents them from working at all. My hardware is as follows:
PC - Gateway laptop with intel core i3, ati radeon graphics (hd 5650), 4 GB ram and plenty of HDD space
System - Lubuntu 14.10 LTS 64bit
Mouse - Xtreme wired laser gaming mouse (max dpi 16400, but currently set to 8050)
Keyboard - Microsoft Comfort Curve Keyboard 2000 v1.0 - wired connection
BT dongle - Nexxtech brand but made by Kingston with a CSR BlueCore4

What other information will you need to diagnose such a conflict?
User avatar
Matlo
Posts: 5768
Joined: Wed Jul 06, 2011 7:01 am
Location: France
Contact:

Re: Gimx Crashes & PS3 doesn't notice

Post by Matlo »

Please post the content of your config file.
GIMX creator
Jonovision
Posts: 12
Joined: Mon Mar 16, 2015 5:16 pm

Re: Gimx Crashes & PS3 doesn't notice

Post by Jonovision »

Code: Select all

<?xml version="1.0" encoding="UTF-8"?>
<root>
  <controller id="1" dpi="8050" type="Sixaxis">
    <configuration id="1">
      <trigger type="" id="" name="" button_id="" switch_back="no" delay="0"/>
      <mouse_options_list>
        <mouse name="" id="0" mode="Aiming" buffer_size="1" filter="0"/>
      </mouse_options_list>
      <intensity_list/>
      <button_map>
        <button id="abs_axis_7" label="Weapon">
          <device type="keyboard" id="0" name=""/>
          <event type="button" id="q"/>
        </button>
        <button id="abs_axis_10" label="Reload, Pick up">
          <device type="keyboard" id="0" name=""/>
          <event type="button" id="r"/>
        </button>
        <button id="abs_axis_8" label="Crouch">
          <device type="keyboard" id="0" name=""/>
          <event type="button" id="e"/>
        </button>
        <button id="abs_axis_9" label="Jump">
          <device type="keyboard" id="0" name=""/>
          <event type="button" id="SPACE"/>
        </button>
        <button id="abs_axis_5" label="Grenade Type">
          <device type="mouse" id="0" name=""/>
          <event type="button" id="BUTTON_WHEELDOWN"/>
        </button>
        <button id="abs_axis_6" label="None">
          <device type="keyboard" id="0" name=""/>
          <event type="button" id="1"/>
        </button>
        <button id="abs_axis_4" label="Flashlight">
          <device type="keyboard" id="0" name=""/>
          <event type="button" id="2"/>
        </button>
        <button id="abs_axis_3" label="Grenade Type">
          <device type="mouse" id="0" name=""/>
          <event type="button" id="BUTTON_WHEELUP"/>
        </button>
        <button id="abs_axis_14" label="Alternate Fire">
          <device type="keyboard" id="0" name=""/>
          <event type="button" id="c"/>
        </button>
        <button id="abs_axis_13" label="Use Grenade">
          <device type="keyboard" id="0" name=""/>
          <event type="button" id="LALT"/>
        </button>
        <button id="abs_axis_15" label="Sprint">
          <device type="keyboard" id="0" name=""/>
          <event type="button" id="LSHIFT"/>
        </button>
        <button id="abs_axis_12" label="Fire">
          <device type="keyboard" id="0" name=""/>
          <event type="button" id="k"/>
        </button>
        <button id="abs_axis_16" label="Melee">
          <device type="keyboard" id="0" name=""/>
          <event type="button" id="m"/>
        </button>
        <button id="abs_axis_11" label="Aim">
          <device type="mouse" id="0" name=""/>
          <event type="button" id="BUTTON_RIGHT"/>
        </button>
        <button id="abs_axis_0" label="None">
          <device type="keyboard" id="0" name=""/>
          <event type="button" id="MINUS"/>
        </button>
        <button id="abs_axis_1" label="Menu">
          <device type="keyboard" id="0" name=""/>
          <event type="button" id="EQUALS"/>
        </button>
        <button id="abs_axis_2" label="PS">
          <device type="keyboard" id="0" name=""/>
          <event type="button" id="BACKSPACE"/>
        </button>
      </button_map>
      <axis_map>
        <axis id="rel_axis_0-" label="Strafe left">
          <device type="keyboard" id="0" name=""/>
          <event type="button" id="a"/>
        </axis>
        <axis id="rel_axis_1+" label="Move back">
          <device type="keyboard" id="0" name=""/>
          <event type="button" id="s"/>
        </axis>
        <axis id="rel_axis_0+" label="Strafe right">
          <device type="keyboard" id="0" name=""/>
          <event type="button" id="d"/>
        </axis>
        <axis id="rel_axis_1-" label="Move forward">
          <device type="keyboard" id="0" name=""/>
          <event type="button" id="w"/>
        </axis>
        <axis id="rel_axis_2" label="Horizontal Axis">
          <device type="mouse" id="0" name=""/>
          <event type="axis" id="x" dead_zone="35" multiplier="5.00" exponent="0.35" shape=""/>
        </axis>
        <axis id="rel_axis_3" label="Vertical Axis">
          <device type="mouse" id="0" name=""/>
          <event type="axis" id="y" dead_zone="35" multiplier="18.75" exponent="0.35" shape=""/>
        </axis>
      </axis_map>
    </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"/>
      </mouse_options_list>
      <intensity_list/>
      <button_map>
        <button id="abs_axis_7" label="Weapon">
          <device type="keyboard" id="0" name=""/>
          <event type="button" id="q"/>
        </button>
        <button id="abs_axis_10" label="Reload, Pick up">
          <device type="keyboard" id="0" name=""/>
          <event type="button" id="r"/>
        </button>
        <button id="abs_axis_8" label="Crouch">
          <device type="keyboard" id="0" name=""/>
          <event type="button" id="e"/>
        </button>
        <button id="abs_axis_9" label="Jump">
          <device type="keyboard" id="0" name=""/>
          <event type="button" id="SPACE"/>
        </button>
        <button id="abs_axis_5" label="Grenade Type">
          <device type="mouse" id="0" name=""/>
          <event type="button" id="BUTTON_WHEELDOWN"/>
        </button>
        <button id="abs_axis_6" label="None">
          <device type="keyboard" id="0" name=""/>
          <event type="button" id="1"/>
        </button>
        <button id="abs_axis_4" label="Flashlight">
          <device type="keyboard" id="0" name=""/>
          <event type="button" id="2"/>
        </button>
        <button id="abs_axis_3" label="Grenade Type">
          <device type="mouse" id="0" name=""/>
          <event type="button" id="BUTTON_WHEELUP"/>
        </button>
        <button id="abs_axis_14" label="Alternate Fire">
          <device type="keyboard" id="0" name=""/>
          <event type="button" id="c"/>
        </button>
        <button id="abs_axis_13" label="Use Grenade">
          <device type="keyboard" id="0" name=""/>
          <event type="button" id="LALT"/>
        </button>
        <button id="abs_axis_15" label="Sprint">
          <device type="keyboard" id="0" name=""/>
          <event type="button" id="LSHIFT"/>
        </button>
        <button id="abs_axis_12" label="Fire">
          <device type="keyboard" id="0" name=""/>
          <event type="button" id="k"/>
        </button>
        <button id="abs_axis_16" label="Melee">
          <device type="keyboard" id="0" name=""/>
          <event type="button" id="m"/>
        </button>
        <button id="abs_axis_11" label="Aim">
          <device type="mouse" id="0" name=""/>
          <event type="button" id="BUTTON_RIGHT"/>
        </button>
        <button id="abs_axis_0" label="None">
          <device type="keyboard" id="0" name=""/>
          <event type="button" id="MINUS"/>
        </button>
        <button id="abs_axis_1" label="Menu">
          <device type="keyboard" id="0" name=""/>
          <event type="button" id="EQUALS"/>
        </button>
        <button id="abs_axis_2" label="PS">
          <device type="keyboard" id="0" name=""/>
          <event type="button" id="BACKSPACE"/>
        </button>
      </button_map>
      <axis_map>
        <axis id="rel_axis_0-" label="Strafe left">
          <device type="keyboard" id="0" name=""/>
          <event type="button" id="a"/>
        </axis>
        <axis id="rel_axis_1+" label="Move back">
          <device type="keyboard" id="0" name=""/>
          <event type="button" id="s"/>
        </axis>
        <axis id="rel_axis_0+" label="Strafe right">
          <device type="keyboard" id="0" name=""/>
          <event type="button" id="d"/>
        </axis>
        <axis id="rel_axis_1-" label="Move forward">
          <device type="keyboard" id="0" name=""/>
          <event type="button" id="w"/>
        </axis>
        <axis id="rel_axis_2" label="Horizontal Axis">
          <device type="mouse" id="0" name=""/>
          <event type="axis" id="x" dead_zone="40" multiplier="2.45" exponent="0.50" shape=""/>
        </axis>
        <axis id="rel_axis_3" label="Vertical Axis">
          <device type="mouse" id="0" name=""/>
          <event type="axis" id="y" dead_zone="40" multiplier="9.20" exponent="0.50" shape=""/>
        </axis>
      </axis_map>
    </configuration>
  </controller>
</root>
User avatar
Matlo
Posts: 5768
Joined: Wed Jul 06, 2011 7:01 am
Location: France
Contact:

Re: Gimx Crashes & PS3 doesn't notice

Post by Matlo »

It looks fine.

Does it also crash in Ubuntu 14.04?
GIMX creator
Jonovision
Posts: 12
Joined: Mon Mar 16, 2015 5:16 pm

Re: Gimx Crashes & PS3 doesn't notice

Post by Jonovision »

Ubuntu 14.04 also crashes with the keyboard, that was what I was using before and I switched to lubuntu to reduce the chances that it could be a hardware related crash, it appears to be software related. The keyboard functions fine when used with any other program and all the keys function and there are no sticky keys. Is it possible that something in linux thinks that there is a sticky key because i have to hold down the w key to move forward? And as a result linux is shutting down gimx gui?
User avatar
Matlo
Posts: 5768
Joined: Wed Jul 06, 2011 7:01 am
Location: France
Contact:

Re: Gimx Crashes & PS3 doesn't notice

Post by Matlo »

Could you please start it in a terminal, and make a screen-shot of it just after the crash?

The command to run is:

Code: Select all

gimx --type Sixaxis --config filename.xml --bdaddr XX:XX:XX:XX:XX:XX --status
(replace filename.xml and XX:XX:XX:XX:XX:XX with the values shown in the GUI)
GIMX creator
Jonovision
Posts: 12
Joined: Mon Mar 16, 2015 5:16 pm

Re: Gimx Crashes & PS3 doesn't notice

Post by Jonovision »

~$ gimx --type Sixaxis --config PS3_COD_AW.xml --hci 0 --bdaddr XX:XX:XX:XX:XX:XX
option -t with value `Sixaxis'
option -c with value `PS3_COD_AW.xml'
option -h with value `0'
option -b with value `XX:XX:XX:XX:XX:XX'
using default refresh period: 10.00ms
connection failed: Host is down
can't connect to control psm

I used the actual address, I don't feel like sharing that
User avatar
Matlo
Posts: 5768
Joined: Wed Jul 06, 2011 7:01 am
Location: France
Contact:

Re: Gimx Crashes & PS3 doesn't notice

Post by Matlo »

The "connection failed: Host is down" error line usually happens when the PS3 has no power, or when typing an incorrect PS3 bluetooth address.
Did it connect to the PS3 or not?
GIMX creator
Jonovision
Posts: 12
Joined: Mon Mar 16, 2015 5:16 pm

Re: Gimx Crashes & PS3 doesn't notice

Post by Jonovision »

It did not connect, the ps3 was on and the address was copied directly from the pairings text file. I cannot think of what might be the cause of it so that is why I posted... becuase I have tried several different things already.
User avatar
Matlo
Posts: 5768
Joined: Wed Jul 06, 2011 7:01 am
Location: France
Contact:

Re: Gimx Crashes & PS3 doesn't notice

Post by Matlo »

Are you sure you used the right bluetooth address?
The XX:XX:XX:XX:XX:XX has to be replaced with the address of the PS3.
In the pairing text file, there are two addresses on each line.
The one of the PS3 is the second one.
GIMX creator
Post Reply