Page 5 of 10

Re: ps4 gimx progress?

Posted: Wed Mar 05, 2014 7:31 pm
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.

Re: ps4 gimx progress?

Posted: Wed Mar 05, 2014 9:39 pm
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".

Re: ps4 gimx progress?

Posted: Thu Mar 06, 2014 2:07 am
by foxy
Hi Matlo,

Will Teensy 3.0 or 3.1 work?

Re: ps4 gimx progress?

Posted: Thu Mar 06, 2014 2:16 am
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!

Re: ps4 gimx progress?

Posted: Thu Mar 06, 2014 6:48 am
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.

OFF TOPIC

Posted: Thu Mar 06, 2014 8:57 am
by DirtyDog_iEQ
just a quick OFF TOPIC question...
will the final version of gimx work without the need of a teensy?

Re: ps4 gimx progress?

Posted: Thu Mar 06, 2014 12:07 pm
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.

Re: ps4 gimx progress?

Posted: Thu Mar 06, 2014 1:15 pm
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?

Re: ps4 gimx progress?

Posted: Thu Mar 06, 2014 1:31 pm
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)

Re: ps4 gimx progress?

Posted: Thu Mar 06, 2014 7:38 pm
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 :)