ps4 gimx progress?

Discuss everything to do with GIMX here
Wurstwasser
Posts: 4
Joined: Wed Mar 05, 2014 2:28 pm

Re: ps4 gimx progress?

Post by Wurstwasser »

OK, it works with 13.10. Weird because it is exactly the same kernel (3.11.0-17).
Also i can confirm that the Laird BT-820 works.

Thanks for the help and really awesome work on the PS4!

EDIT: BTW is there any chance to map the touchpad button of the DS4 in a XML-config file? Select seems to be the share button. It would be useful in BF4 to close the battlelog.
User avatar
Matlo
Posts: 5768
Joined: Wed Jul 06, 2011 7:01 am
Location: France
Contact:

Re: ps4 gimx progress?

Post by Matlo »

I just pushed a patch in the git repo. You can update your binaries with the following commands:

Code: Select all

cd GIMX
git pull
make
sudo make install
Add a button in your config, open it with a text editor, and replace the id of the button with "abs_axis_17".
GIMX creator
foxy
Posts: 23
Joined: Thu Mar 06, 2014 2:06 am

Re: ps4 gimx progress?

Post by foxy »

Hi Matlo,

Will Teensy 3.0 or 3.1 work?
inviictzz-_-
Posts: 56
Joined: Mon Dec 05, 2011 4:54 pm

Re: ps4 gimx progress?

Post by inviictzz-_- »

Start GIMX:

gimx -t DS4 -c <config file> -b <PS4 bdaddr>

Start the DS4. It should connect to GIMX, which in turn should connect to the PS4.

Refer to the Command_line page to learn about the other command line arguments.


Hi again matlo and thx for your help again!

1.- I dont understand what exactly config file to put, killzone.xml like this?

2.-and when i star the gimx, how is the connection?

Dongle on the pc, teensy pc-ps4, and ds4 turn on and connected to the ps4? sorry im confused. rewards!
User avatar
Matlo
Posts: 5768
Joined: Wed Jul 06, 2011 7:01 am
Location: France
Contact:

Re: ps4 gimx progress?

Post by Matlo »

@foxy

No, it won't work with a teensy 3.x.

@inviictzz-_-

1. Yes, the name of a config file that is in the gimx config directory.

2. Dongle plugged to the PC, teensy unplugged, DS4 unplugged and turned off. Start GIMX, then the DS4.
GIMX creator
User avatar
DirtyDog_iEQ
Posts: 10
Joined: Wed Feb 27, 2013 1:04 am
Location: Japan

OFF TOPIC

Post by DirtyDog_iEQ »

just a quick OFF TOPIC question...
will the final version of gimx work without the need of a teensy?
User avatar
Matlo
Posts: 5768
Joined: Wed Jul 06, 2011 7:01 am
Location: France
Contact:

Re: ps4 gimx progress?

Post by Matlo »

I have the intention to remove the teensy requirement, but I think it will take some time before I can work on it.
GIMX creator
cvp
Posts: 11
Joined: Fri Feb 28, 2014 7:37 am

Re: ps4 gimx progress?

Post by cvp »

Hi Upgrade my Mint 15 to 16, than i start it again:


Code: Select all

[b]#I connect DS4 + BT 4.0 Dongle in to PC[/b]
chris@chris-VPCF22C5E ~ $ hciconfig -a | grep "BD Address" | cut -f 3 -d ' '
00:1A:7D:DA:71:13

chris@chris-VPCF22C5E ~ $ date | md5sum | cut -f 1 -d ' '
3fba5cc6d62e48c9aee7e42085e701c8

chris@chris-VPCF22C5E ~ $ ds4tool -m 00:1A:7D:DA:71:13 -l 3fba5cc6d62e48c9aee7e42085e701c8
Current Bluetooth master: 00:1A:7D:DA:71:13
Current Bluetooth Device Address: 1C:66:6D:2C:21:96
Setting master bdaddr to 00:1A:7D:DA:71:13
Setting link key to 3fba5cc6d62e48c9aee7e42085e701c8

[b]#I unplug the DS4 controller[/b]

chris@chris-VPCF22C5E ~ $ sudo bash -c "echo 1C:66:6D:2C:21:96 3fba5cc6d62e48c9aee7e42085e701c8 4 0 >> /var/lib/bluetooth/00:1A:7D:DA:71:13/linkkeys"
[sudo] password for chris: 

[b]#BT 4.0 dongle is still connected and PS4 is on, Teensy 2.0 is connected to pc. DS4 is unplug[/b]

chris@chris-VPCF22C5E ~ $ ds4tool -s 00:1A:7D:DA:71:13
Current Bluetooth master: B0:05:94:3D:2E:1E
Current Bluetooth Device Address: 00:1A:7D:DA:71:13
Current link key: 1ED8A0F41FD73D0837F8DE515700EC91
Setting slave bdaddr to 00:1A:7D:DA:71:13

[b]#I plug Teensy 2.0 to PS4 and wait round 20 seconds and un plug it. DS4 is unplug, only BT 4.0 is plug[/b]

chris@chris-VPCF22C5E ~ $ ds4tool
Current Bluetooth master: B0:05:94:3D:2E:1E
Current Bluetooth Device Address: 00:1A:7D:DA:71:13
Current link key: 1ED8A0F41FD73D0837F8DE515700EC91

[b]#Teens 2.0 is unplug, DS4 is unplug, only BT 4.0 is plug[/b]

chris@chris-VPCF22C5E ~ $ sudo bash -c "echo B0:05:94:3D:2E:1E 1ED8A0F41FD73D0837F8DE515700EC91 4 0 >> /var/lib/bluetooth/00:1A:7D:DA:71:13/linkkeys"

chris@chris-VPCF22C5E ~ $ sudo service bluetooth restart
stop: Unknown instance: 
bluetooth start/running, process 2981

chris@chris-VPCF22C5E ~ $ sudo service bluetooth stop
bluetooth stop/waiting
chris@chris-VPCF22C5E ~ $ sudo hciconfig hci0 up pscan

chris@chris-VPCF22C5E ~ $ gimx -t DS4 -c Battlefield3_PS3_3.xml -b B0:05:94:3D:2E:1E
option -t with value `DS4'
option -c with value `Battlefield3_PS3_3.xml'
option -b with value `B0:05:94:3D:2E:1E'
using default refresh period: 10.00ms
connection failed: Verbindungsaufbau abgelehnt
can't connect to control psm
connection failed: Verbindungsaufbau abgelehnt
can't connect to interrupt psm
what i do wrong?
User avatar
Matlo
Posts: 5768
Joined: Wed Jul 06, 2011 7:01 am
Location: France
Contact:

Re: ps4 gimx progress?

Post by Matlo »

It seems correct.
You can force the PS4 to generate a new link key. Use the following command to erase the master bdaddr and the link key that are stored in the teensy:

Code: Select all

ds4tool -m 00:00:00:00:00:00
(teensy plugged and DS4 unplugged)
GIMX creator
cvp
Posts: 11
Joined: Fri Feb 28, 2014 7:37 am

Re: ps4 gimx progress?

Post by cvp »

Code: Select all

ds4tool -m 00:00:00:00:00:00
THIS helps me and it works !!! NICE WORK MAN :)

i donate i little bit :) thanks for the nice work :)
Post Reply