PS4
(work in progress)
Contents
Hardware requirements
Bluetooth dongle
It was only tested with bt dongles based on the CSR8510 chip.
PC
The only supported OS is Ubuntu and its derivate such as Linux Mint. It should work with any other GNU/Linux OS, with minor adjustments.
Teensy 2.0
This is a temporary requirement used for pairing the bt dongle with the PS4.
The firmware to load is available at: link to be provided.
Compilation & installation
There's no installation package yet, but GIMX can be easily built from the sources.
Refer to the Development_on_Linux page. When typing the git command line, replace 'master' with 'dev'.
Pairing
The paring is quite complex, but it only has to be done once.
Dongle + DS4
Get the bdaddr (bluetooth device address) of the dongle:
hciconfig -a
Generate a link key for the DS4:
date | md5sum
The relevant part is the 32 hexadecimal character string.
Set the master bdaddr of the DS4:
ds4tool -m <dongle bdaddr> -l <DS4 link key>
Unplug the DS4.
Set the DS4 link key:
sudo echo <DS4 bdaddr> <DS4 link key> 4 >> /var/lib/bluetooth/<dongle bdaddr>/linkkeys
Dongle + PS4
Set the device address of the teensy:
ds4tool -s <dongle bdaddr>
Plug the teensy to the PS4 and wait a few seconds.
Plug the teensy back to the PC, and type:
ds4tool
Unplug the teensy.
Set the PS4 link key:
sudo echo <PS4 bdaddr> <PS4 link key> 4 >> /var/lib/bluetooth/<dongle bdaddr>/linkkeys
Restart the bluetooth service (loads the link keys):
sudo service bluetooth restart
Stops the bluetooth service (allows GIMX to get incoming connections):
sudo service bluetooth stop sudo hciconfig hci0 up pscan
Start
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.