can't connect gimx with Raspbian GNU/Linux

Need help? Ask here and someone will help
Post Reply
its_mnk
Posts: 9
Joined: Thu Apr 23, 2020 1:57 pm

can't connect gimx with Raspbian GNU/Linux

Post by its_mnk »

i have problem to start gimx on linux... when i turning off my ds4 and start gimx its show me blue light not yellow light! maybe cables have problem ?

Code: Select all

Raspbian GNU/Linux 10 (buster)
Linux 4.19.97-v7+ #1294 SMP Thu Jan 30 13:15:58 GMT 2020 unknown
Bus 001 Device 005: ID c0f4:03a0  
Bus 001 Device 004: ID 09da:7b3a A4Tech Co., Ltd.
Bus 001 Device 006: ID 054c:05c4 Sony Corp. DualShock 4 [CUH-ZCT1x]
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. SMSC9512/9514 Fast Ethernet Adapter
Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp. SMC9514 Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=dwc_otg/1p, 480M
    |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/5p, 480M
        |__ Port 1: Dev 3, If 0, Class=Vendor Specific Class, Driver=smsc95xx, 480M
        |__ Port 2: Dev 6, If 0, Class=Human Interface Device, Driver=usbhid, 12M
        |__ Port 4: Dev 4, If 1, Class=Human Interface Device, Driver=usbhid, 12M
        |__ Port 4: Dev 4, If 2, Class=Human Interface Device, Driver=usbhid, 12M
        |__ Port 4: Dev 4, If 0, Class=Human Interface Device, Driver=usbhid, 12M
        |__ Port 5: Dev 5, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
        |__ Port 5: Dev 5, If 1, Class=Human Interface Device, Driver=usbhid, 1.5M
global option -l with value `log.txt'
controller #1: option -t with value `joystick'
global option -c with value `Dualshock4.xml'
status flag is set
subpos flag is set
force_updates flag is set
auto-grab flag is set
GIMX 8.0 ARMv6
using default refresh period: 4.00ms
mouse 0 has name 'COMPANY  USB Device ' and virtual id 0
mouse 1 has name 'COMPANY  USB Device  Consumer Control' and virtual id 0
mouse 2 has name 'SZH USB Keyboard Consumer Control' and virtual id 0
keyboard 0 has name 'COMPANY  USB Device ' and virtual id 0
keyboard 1 has name 'COMPANY  USB Device  Keyboard' and virtual id 0
keyboard 2 has name 'COMPANY  USB Device  System Control' and virtual id 0
keyboard 3 has name 'COMPANY  USB Device  Consumer Control' and virtual id 0
keyboard 4 has name 'SZH USB Keyboard' and virtual id 0
keyboard 5 has name 'SZH USB Keyboard Consumer Control' and virtual id 0
keyboard 6 has name 'SZH USB Keyboard System Control' and virtual id 0
joystick 0 has name 'Sony Computer Entertainment Wireless Controller' and virtual id 0
Dump of /home/pi/.gimx/config/Dualshock4.xml:
<?xml version="1.0" encoding="UTF-8"?>
<root>
  <controller id="1" dpi="0" type="DS4">
    <configuration id="1">
      <trigger type="" id="" name="" button_id="" switch_back="no" delay="0"/>
      <mouse_options_list/>
      <intensity_list/>
      <button_map>
        <button id="abs_axis_10" label="">
          <device type="joystick" id="0" name="Sony Computer Entertainment Wireless Controller"/>
          <event type="button" id="0"/>
        </button>
        <button id="abs_axis_9" label="">
          <device type="joystick" id="0" name="Sony Computer Entertainment Wireless Controller"/>
          <event type="button" id="1"/>
        </button>
        <button id="abs_axis_8" label="">
          <device type="joystick" id="0" name="Sony Computer Entertainment Wireless Controller"/>
          <event type="button" id="2"/>
        </button>
        <button id="abs_axis_7" label="">
          <device type="joystick" id="0" name="Sony Computer Entertainment Wireless Controller"/>
          <event type="button" id="3"/>
        </button>
        <button id="abs_axis_11" label="">
          <device type="joystick" id="0" name="Sony Computer Entertainment Wireless Controller"/>
          <event type="button" id="4"/>
        </button>
        <button id="abs_axis_12" label="">
          <device type="joystick" id="0" name="Sony Computer Entertainment Wireless Controller"/>
          <event type="button" id="5"/>
        </button>
        <button id="abs_axis_0" label="">
          <device type="joystick" id="0" name="Sony Computer Entertainment Wireless Controller"/>
          <event type="button" id="8"/>
        </button>
        <button id="abs_axis_1" label="">
          <device type="joystick" id="0" name="Sony Computer Entertainment Wireless Controller"/>
          <event type="button" id="9"/>
        </button>
        <button id="abs_axis_15" label="">
          <device type="joystick" id="0" name="Sony Computer Entertainment Wireless Controller"/>
          <event type="button" id="10"/>
        </button>
        <button id="abs_axis_16" label="">
          <device type="joystick" id="0" name="Sony Computer Entertainment Wireless Controller"/>
          <event type="button" id="11"/>
        </button>
        <button id="abs_axis_2" label="">
          <device type="joystick" id="0" name="Sony Computer Entertainment Wireless Controller"/>
          <event type="button" id="12"/>
        </button>
        <button id="abs_axis_3" label="">
          <device type="joystick" id="0" name="Sony Computer Entertainment Wireless Controller"/>
          <event type="button" id="14"/>
        </button>
        <button id="abs_axis_4" label="">
          <device type="joystick" id="0" name="Sony Computer Entertainment Wireless Controller"/>
          <event type="button" id="15"/>
        </button>
        <button id="abs_axis_5" label="">
          <device type="joystick" id="0" name="Sony Computer Entertainment Wireless Controller"/>
          <event type="button" id="16"/>
        </button>
        <button id="abs_axis_6" label="">
          <device type="joystick" id="0" name="Sony Computer Entertainment Wireless Controller"/>
          <event type="button" id="17"/>
        </button>
      </button_map>
      <axis_map>
        <axis id="rel_axis_0" label="">
          <device type="joystick" id="0" name="Sony Computer Entertainment Wireless Controller"/>
          <event type="axis" id="0" dead_zone="0" multiplier="0.004" exponent="1.00" shape=""/>
        </axis>
        <axis id="rel_axis_1" label="">
          <device type="joystick" id="0" name="Sony Computer Entertainment Wireless Controller"/>
          <event type="axis" id="1" dead_zone="0" multiplier="0.004" exponent="1.00" shape=""/>
        </axis>
        <axis id="rel_axis_2" label="">
          <device type="joystick" id="0" name="Sony Computer Entertainment Wireless Controller"/>
          <event type="axis" id="2" dead_zone="0" multiplier="0.004" exponent="1.00" shape=""/>
        </axis>
        <axis id="rel_axis_3" label="">
          <device type="joystick" id="0" name="Sony Computer Entertainment Wireless Controller"/>
          <event type="axis" id="5" dead_zone="0" multiplier="0.004" exponent="1.00" shape=""/>
        </axis>
        <axis id="abs_axis_13" label="">
          <device type="joystick" id="0" name="Sony Computer Entertainment Wireless Controller"/>
          <event type="axis" id="3" dead_zone="0" multiplier="0.008" exponent="1.00" shape=""/>
        </axis>
        <axis id="abs_axis_14" label="">
          <device type="joystick" id="0" name="Sony Computer Entertainment Wireless Controller"/>
          <event type="axis" id="4" dead_zone="0" multiplier="0.008" exponent="1.00" shape=""/>
        </axis>
      </axis_map>
    </configuration>
  </controller>
</root>
Exiting

User avatar
kaiba_seto2004
Posts: 432
Joined: Sat Jul 15, 2017 9:15 am

Re: can't connect gimx with Raspbian GNU/Linux

Post by kaiba_seto2004 »

What is your target console? And input device?
PS4 enthusiast.

its_mnk
Posts: 9
Joined: Thu Apr 23, 2020 1:57 pm

Re: can't connect gimx with Raspbian GNU/Linux

Post by its_mnk »

kaiba_seto2004 wrote:
Wed May 20, 2020 9:36 am
What is your target console? And input device?
my input device is physical devices ... i don't know about target console how i can know what is my target console ?

User avatar
LoneWolf81
Posts: 77
Joined: Sat Jun 15, 2019 11:49 am
Location: South Africa

Re: can't connect gimx with Raspbian GNU/Linux

Post by LoneWolf81 »

Hi

The target console is the console you want to control ( Playstation 4, Xbox One and so on)

Then for input what are you using, keyboard and mouse, steering wheel ?

Looks like you have set output to stub, please just have a look and come back to us so we can assist because if you want to control say a PlayStation 4 you can use Bluetooth since you are using linux or an USB adapter. For Xbox consoles you can only use the USB option
Please Remember to Post your Log file in the support section , that way its easier and faster to start identifying the issue thus helping you to sort it out so you can enjoy GIMX :D .

edu27
Posts: 3
Joined: Mon Aug 24, 2015 8:00 pm
Location: Spain

Re: can't connect gimx with Raspbian GNU/Linux

Post by edu27 »

Are you using Autostart GIMX at boot without GUI?
For some reason, the restart command are resetting the DS4.
You can comment out the following lines:

Modify this
Restart=always
RestartSec=5

To this
#Restart=always
#RestartSec=5

I don't know if the autostart works because I didn't had the time to test it.

EDIT:
I had written wrong the xml config file path.
Now it works as expected.

its_mnk
Posts: 9
Joined: Thu Apr 23, 2020 1:57 pm

Re: can't connect gimx with Raspbian GNU/Linux

Post by its_mnk »

LoneWolf81 wrote:
Thu May 21, 2020 9:07 am
Hi

The target console is the console you want to control ( Playstation 4, Xbox One and so on)

Then for input what are you using, keyboard and mouse, steering wheel ?

Looks like you have set output to stub, please just have a look and come back to us so we can assist because if you want to control say a PlayStation 4 you can use Bluetooth since you are using linux or an USB adapter. For Xbox consoles you can only use the USB option
i using Playstation 4 and my input is keyboard and mouse

its_mnk
Posts: 9
Joined: Thu Apr 23, 2020 1:57 pm

Re: can't connect gimx with Raspbian GNU/Linux

Post by its_mnk »

edu27 wrote:
Thu May 21, 2020 4:47 pm
Are you using Autostart GIMX at boot without GUI?
For some reason, the restart command are resetting the DS4.
You can comment out the following lines:

Modify this
Restart=always
RestartSec=5

To this
#Restart=always
#RestartSec=5

I don't know if the autostart works because I didn't had the time to test it.

EDIT:
I had written wrong the xml config file path.
Now it works as expected.
it's not work i don't know where i'm doing wrong ... can you send me picture ?

User avatar
LoneWolf81
Posts: 77
Joined: Sat Jun 15, 2019 11:49 am
Location: South Africa

Re: can't connect gimx with Raspbian GNU/Linux

Post by LoneWolf81 »

What is your output device set to ?


Example.PNG
Example.PNG (116.38 KiB) Viewed 266 times
This is if you are using the usb adapter. If you are using Bluetooth it will be a different setup just let us know what you are using so we can help you get up and running.
Please Remember to Post your Log file in the support section , that way its easier and faster to start identifying the issue thus helping you to sort it out so you can enjoy GIMX :D .

User avatar
kaiba_seto2004
Posts: 432
Joined: Sat Jul 15, 2017 9:15 am

Re: can't connect gimx with Raspbian GNU/Linux

Post by kaiba_seto2004 »

If your target console is Ps4 and input devices are mouse and keyboard, I think problem is you was using wrong config.
Go to menu Help > Get Config and try againg with a different config suits your usage.
PS4 enthusiast.

User avatar
Matlo
Posts: 5634
Joined: Wed Jul 06, 2011 7:01 am
Location: France
Contact:

Re: can't connect gimx with Raspbian GNU/Linux

Post by Matlo »

Code: Select all

controller #1: option -t with value `joystick'
The problem here is using "Stub" as output with value "joystick", which translates to argument "-t joystick". As its name indicates the stub output does not output to anything, Stub output can be used for testing purposes (for testing configs, macros, network client...).
GIMX creator Donate Shop

Post Reply