Running GIMX on CHIP!

Discuss everything to do with GIMX here
User avatar
Tom
Posts: 8
Joined: Sat Jan 30, 2016 8:43 pm
Location: United States

Re: Running GIMX on CHIP!

Post by Tom » Fri Feb 05, 2016 8:37 am

Update
Am I doing something wrong? Maybe it's a dongle thing?:

Code: Select all

root@chip:~# gimx -t DS4 -c config.xml -h 0 -b B0:05:94:32:39:10 --status
option -t with value `DS4'
option -c with value `config.xml'
option -h with value `0'
option -b with value `B0:05:94:32:39:10'
status flag is set
using default refresh period: 10.00ms
A device name is empty. Multiple mice and keyboards are not managed.
Warning: can't open macro directory /root//.gimx//macros/
GE_RegisterJoystick has to be called before GE_initialize.
listening on psm: 0x0001
listening on psm: 0x0011
listening on psm: 0x0013
accepted connection from D0:27:88:2F:A3:33 (psm: 0x0001)
connecting with hci0 = 7C:C7:08:62:58:2F to B0:05:94:32:39:10 psm 0x0011
connecting with hci0 = 7C:C7:08:62:58:2F to B0:05:94:32:39:10 psm 0x0013
accepted connection from D0:27:88:2F:A3:33 (psm: 0x0011)
accepted connection from D0:27:88:2F:A3:33 (psm: 0x0013)
connection failed: Connection refused
can't connect to psm 0x0011
connection failed: Connection refused
can't connect to psm 0x0013
I notice my DS4 turns white...

GIMX just sits there. Using internal Bluetooth

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

Re: Running GIMX on CHIP!

Post by Matlo » Fri Feb 05, 2016 12:26 pm

The first wrong thing is to use the root account. Isn't there a user account on the CHIP?

The log says GIMX accepted a connection from a Dualshock 4, but that the connection to the PS4 was refused.
This may be a pairing problem. Did you pair the bluetooth address of the CHIP with the PS4?
GIMX creator Donate Shop

User avatar
Tom
Posts: 8
Joined: Sat Jan 30, 2016 8:43 pm
Location: United States

Re: Running GIMX on CHIP!

Post by Tom » Fri Feb 05, 2016 8:45 pm

Note: this is using CHIPs internal bluetooth. No USB BT dongles were used.
There is a chip user account (he's a member of group input). For paring bluetooth I've tried both accounts with not much luck other than running through the plug this remove that steps up to the final enter
gimx -t DS4 -c config.xml -h 0 -b B0:05:94:32:39:10
command string...
I tested root since running the shell script gimx-ps4-helper.sh expects /root/.gimx/bluetooth... I also started gimx from the command line as chip with the same results.

UPDATE
Using a DIY USB Adapter (Leonardo clone, CP2102 & powered hub) with CHIP & PS4 works well enough with a XArcade Dual Stick to play Ultra Street Fighter IV even with lightdm xwindow running which auto logins. I disabled the bluetooth manger (blueman-applet) inside autostart Computer Things->Settings Manager->Session and Startup->Application Autostart. I might consider autostart for gimx.
:)



I also used the GUI to pair DS4 too. When launching gimx the DS4 LED stays solid white after hitting the PS button but the connection times out as soon as I hit any WASD input keys. I guess I need to experiment some more or settle on using a supported dongle.

Last edited by Tom on Thu Jul 12, 2018 2:27 am, edited 1 time in total.

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

Re: Running GIMX on CHIP!

Post by Matlo » Fri Feb 05, 2016 9:33 pm

Good news, my CHIP has shipped today :)

Using the sudo command, the gimx-ps4-helper.sh can be run as a regular user with root privileges.
http://gimx.fr/wiki/index.php?title=Com ... th_.2B_PS4

I think some of the bluetooth management commands may not work the same as with a dongle based on the CSR8510.
GIMX creator Donate Shop

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

Re: Running GIMX on CHIP!

Post by Matlo » Fri Feb 12, 2016 1:19 pm

Good news, I received my CHIPs!
I'll start investigating on the USB OTG and bluetooth capabilities.
Keep reading the blog for further updates.
GIMX creator Donate Shop

User avatar
Tom
Posts: 8
Joined: Sat Jan 30, 2016 8:43 pm
Location: United States

Re: Running GIMX on CHIP!

Post by Tom » Fri Feb 12, 2016 6:51 pm

Godspeed! I've been having fun using CHIP with Gimx. It made me start to think more about Player 2 options.

The X-Arcade dual stick sends keyboard commands for both sticks and buttons through a single usb connection. This is cool for twin stick shooter games. However if I was to use a console game adapter to convert X-Arcade to xbox / PS3 it would split the connection into 2 usb gamepads (no more keyboard).

It's easier to picture running 1 CHIP, 2 gimx with 2 configurations with 2 /dev/ttyUSBx (or with BT dongles). Is there another way to picture getting player 2 in the mix?

Obviously if we got USB OTG, the internal BT of Chip working, there maybe a way to fit player 2 in there using less hardware. Or use 2 CHIPs one to one. I guess there is a bunch of ways to think about it if you also have a DIY adapter.

mjm23race
Posts: 6
Joined: Thu Jan 21, 2016 1:00 pm

Re: Running GIMX on CHIP!

Post by mjm23race » Wed Mar 16, 2016 1:13 am

Any updates on the whole CHIP thing? Is it worth pre ordering one? What else would I all need to make g27 work with ps4?

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

Re: Running GIMX on CHIP!

Post by Matlo » Wed Mar 16, 2016 8:03 am

It's going quite slow due to Linux kernel issues.
CHIP has all hardware capabilities required for each side of the adapter (USB host and device).
The only limiting thing right now is software.
GIMX creator Donate Shop

mjm23race
Posts: 6
Joined: Thu Jan 21, 2016 1:00 pm

Re: Running GIMX on CHIP!

Post by mjm23race » Wed Mar 23, 2016 5:15 pm

Software issues on the Gimx side or the Chip side?

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

Re: Running GIMX on CHIP!

Post by Matlo » Wed Mar 23, 2016 9:56 pm

Issues with the Linux kernel, which is the core of the OS.
I made some progress and I should be able to use my CHIP as a USB proxy very soon.
Making a USB proxy is the first step.
GIMX creator Donate Shop

Post Reply