<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://gimx.fr/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Smurfiboy</id>
	<title>GIMX - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://gimx.fr/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Smurfiboy"/>
	<link rel="alternate" type="text/html" href="https://gimx.fr/wiki/index.php?title=Special:Contributions/Smurfiboy"/>
	<updated>2026-05-05T10:39:25Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.31.7</generator>
	<entry>
		<id>https://gimx.fr/wiki/index.php?title=PS4&amp;diff=3273</id>
		<title>PS4</title>
		<link rel="alternate" type="text/html" href="https://gimx.fr/wiki/index.php?title=PS4&amp;diff=3273"/>
		<updated>2014-06-14T16:58:40Z</updated>

		<summary type="html">&lt;p&gt;Smurfiboy: /* PC */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;(work in progress)&lt;br /&gt;
&lt;br /&gt;
==Hardware requirements==&lt;br /&gt;
&lt;br /&gt;
===Bluetooth dongle===&lt;br /&gt;
&lt;br /&gt;
A bluetooth dongle is needed. The only tested bt chip is the CSR8510 chip.&lt;br /&gt;
&lt;br /&gt;
===PC===&lt;br /&gt;
&lt;br /&gt;
The only supported OS is Ubuntu 13.10 and its derivate such as Linux Mint 16.&lt;br /&gt;
&lt;br /&gt;
Also works with raspberry pi without gui. See below.&lt;br /&gt;
&lt;br /&gt;
===Teensy 2.0===&lt;br /&gt;
&lt;br /&gt;
This is a temporary requirement used for pairing the bt dongle with the PS4.&lt;br /&gt;
&lt;br /&gt;
The firmware to load is available at: http://gimx.fr/download/EMUPS4.7z&lt;br /&gt;
&lt;br /&gt;
===Dualshock 4===&lt;br /&gt;
&lt;br /&gt;
The PS4 only takes inputs from licensed controller.&amp;lt;br /&amp;gt;&lt;br /&gt;
In order to authenticate itself as a licensed controller, GIMX needs to be connected to real DS4 all the time.&lt;br /&gt;
&lt;br /&gt;
==Compilation &amp;amp; installation==&lt;br /&gt;
&lt;br /&gt;
There's no installation package yet, but GIMX can be easily built from the sources.&lt;br /&gt;
&lt;br /&gt;
Refer to the [[Development_on_Linux]] page. When typing the 'git clone' command line, replace 'master' with 'dev'.&lt;br /&gt;
&lt;br /&gt;
Raspberry:&lt;br /&gt;
&lt;br /&gt;
After cloning open gimx/config/configMain.cpp&lt;br /&gt;
Replace 3 times:&lt;br /&gt;
  s_axis_props axis_props = {.axis = i}&lt;br /&gt;
With: &lt;br /&gt;
   s_axis_props = axis_props;&lt;br /&gt;
   axis_props.axis = i;&lt;br /&gt;
&lt;br /&gt;
==Setup==&lt;br /&gt;
&lt;br /&gt;
The setup performs the bluetooth pairing between the PS4 and the dongle, and between the dongle and the DS4.&amp;lt;br /&amp;gt;&lt;br /&gt;
It has to be run again if the DS4 is reused (i.e. paired again) with the PS4.&lt;br /&gt;
&lt;br /&gt;
Download the helper script:&lt;br /&gt;
&lt;br /&gt;
  wget &amp;lt;nowiki&amp;gt;https://raw.github.com/matlo/GIMX-tools/master/PS4/gimx-ps4-helper.sh&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Make it executable:&lt;br /&gt;
&lt;br /&gt;
  chmod +x gimx-ps4-helper.sh&lt;br /&gt;
&lt;br /&gt;
Run it:&lt;br /&gt;
&lt;br /&gt;
  sudo ./gimx-ps4-helper.sh&lt;br /&gt;
&lt;br /&gt;
Simply follow the instructions. A successful output should look like this:&lt;br /&gt;
&lt;br /&gt;
  $ sudo ./gimx-ps4-setup.sh&lt;br /&gt;
  Unplug any Dualshock 4.&lt;br /&gt;
  Unplug any teensy.&lt;br /&gt;
  Unpug the bluetooth dongle.&lt;br /&gt;
  Then press enter.&lt;br /&gt;
  &lt;br /&gt;
  Plug the bluetooth dongle.&lt;br /&gt;
  The bluetooth dongle address is XX:XX:XX:XX:XX:XX.&lt;br /&gt;
  The bluetooth hci number is 1.&lt;br /&gt;
  Plug the DS4 with a USB cable.&lt;br /&gt;
  The DS4 address is YY:YY:YY:YY:YY:YY.&lt;br /&gt;
  Unplug the DS4.&lt;br /&gt;
  Plug the teensy.&lt;br /&gt;
  Unplug the teensy.&lt;br /&gt;
  Plug the teensy to the PS4, and wait a few seconds.&lt;br /&gt;
  Then plug the teensy back to the PC.&lt;br /&gt;
  The PS4 address is ZZ:ZZ:ZZ:ZZ:ZZ:ZZ.&lt;br /&gt;
  Everything was successful: setting dongle link keys.&lt;br /&gt;
  To run gimx, type:&lt;br /&gt;
  gimx -t DS4 -c config.xml -h 1 -b ZZ:ZZ:ZZ:ZZ:ZZ:ZZ&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
==Pairing==&lt;br /&gt;
&lt;br /&gt;
The paring is quite complex, but it only has to be done once.&lt;br /&gt;
&lt;br /&gt;
===Dongle + DS4===&lt;br /&gt;
&lt;br /&gt;
Plug the dongle to the PC.&lt;br /&gt;
Get the dongle bdaddr (bluetooth device address):&lt;br /&gt;
&lt;br /&gt;
  hciconfig -a | grep &amp;quot;BD Address&amp;quot; | cut -f 3 -d ' '&lt;br /&gt;
&lt;br /&gt;
Result example:&lt;br /&gt;
&lt;br /&gt;
  01:02:03:04:05:06&lt;br /&gt;
&lt;br /&gt;
Generate a link key for the DS4:&lt;br /&gt;
&lt;br /&gt;
  date | md5sum | cut -f 1 -d ' '&lt;br /&gt;
&lt;br /&gt;
Result example:&lt;br /&gt;
&lt;br /&gt;
  381f87ef2a59011cb1dd29b7a67529cd&lt;br /&gt;
&lt;br /&gt;
Plug the DS4. Set its master bdaddr:&lt;br /&gt;
&lt;br /&gt;
  ds4tool -m &amp;lt;dongle bdaddr&amp;gt; -l &amp;lt;DS4 link key&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Example with the previous example values:&lt;br /&gt;
&lt;br /&gt;
  ds4tool -m 01:02:03:04:05:06 -l 381f87ef2a59011cb1dd29b7a67529cd&lt;br /&gt;
&lt;br /&gt;
Result example:&lt;br /&gt;
&lt;br /&gt;
  Current Bluetooth master: 00:00:00:00:00:00&lt;br /&gt;
  Current Bluetooth Device Address: 07:08:09:0a:0b:0c&lt;br /&gt;
  Setting master bdaddr to 01:02:03:04:05:06&lt;br /&gt;
  Setting link key to 381f87ef2a59011cb1dd29b7a67529cd&lt;br /&gt;
&lt;br /&gt;
The &amp;quot;Current Bluetooth Device Address&amp;quot; value is the DS4 bdaddr.&lt;br /&gt;
&lt;br /&gt;
Unplug the DS4.&lt;br /&gt;
&lt;br /&gt;
Set the DS4 link key:&lt;br /&gt;
&lt;br /&gt;
  sudo bash -c &amp;quot;echo &amp;lt;DS4 bdaddr&amp;gt; &amp;lt;DS4 link key&amp;gt; 4 0 &amp;gt;&amp;gt; /var/lib/bluetooth/&amp;lt;dongle bdaddr&amp;gt;/linkkeys&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Example with the previous example values:&lt;br /&gt;
&lt;br /&gt;
  sudo bash -c &amp;quot;echo 07:08:09:0a:0b:0c 381f87ef2a59011cb1dd29b7a67529cd 4 0 &amp;gt;&amp;gt; /var/lib/bluetooth/01:02:03:04:05:06/linkkeys&amp;quot;&lt;br /&gt;
&lt;br /&gt;
===Dongle + PS4===&lt;br /&gt;
&lt;br /&gt;
Plug the teensy to the PC.&lt;br /&gt;
&lt;br /&gt;
Set the device address of the teensy:&lt;br /&gt;
&lt;br /&gt;
  ds4tool -s &amp;lt;dongle bdaddr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Example with the previous example values:&lt;br /&gt;
&lt;br /&gt;
  ds4tool -s 01:02:03:04:05:06&lt;br /&gt;
&lt;br /&gt;
Result example:&lt;br /&gt;
&lt;br /&gt;
  Current Bluetooth master: 00:00:00:00:00:00&lt;br /&gt;
  Current Bluetooth Device Address: 00:00:00:00:00:00&lt;br /&gt;
  Setting slave bdaddr to 01:02:03:04:05:06&lt;br /&gt;
&lt;br /&gt;
Plug the teensy to the PS4 and wait a few seconds.&lt;br /&gt;
&lt;br /&gt;
Plug the teensy back to the PC, and type:&lt;br /&gt;
&lt;br /&gt;
  ds4tool&lt;br /&gt;
&lt;br /&gt;
Result example:&lt;br /&gt;
&lt;br /&gt;
 Current Bluetooth master: 0a:0b:0c:0d:0e:0f&lt;br /&gt;
 Current Bluetooth Device Address: 01:02:03:04:05:06&lt;br /&gt;
 Current link key: 76f5ea4f6205db412f8095094e5414c3&lt;br /&gt;
&lt;br /&gt;
The &amp;quot;Current Bluetooth master&amp;quot; value is the PS4 bdaddr, and the &amp;quot;Current link key&amp;quot; value is the PS4 link key.&lt;br /&gt;
&lt;br /&gt;
Unplug the teensy.&lt;br /&gt;
&lt;br /&gt;
Set the PS4 link key:&lt;br /&gt;
&lt;br /&gt;
  sudo bash -c &amp;quot;echo &amp;lt;PS4 bdaddr&amp;gt; &amp;lt;PS4 link key&amp;gt; 4 0 &amp;gt;&amp;gt; /var/lib/bluetooth/&amp;lt;dongle bdaddr&amp;gt;/linkkeys&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Example with the previous example values:&lt;br /&gt;
&lt;br /&gt;
  sudo bash -c &amp;quot;echo 0a:0b:0c:0d:0e:0f 76f5ea4f6205db412f8095094e5414c3 4 0 &amp;gt;&amp;gt; /var/lib/bluetooth/01:02:03:04:05:06/linkkeys&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Restart the bluetooth service (loads the link keys):&lt;br /&gt;
&lt;br /&gt;
  sudo service bluetooth restart&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Start==&lt;br /&gt;
(i have noticed that first start is only syncing after turn off ps4 after using helper --Smurfiboy)&lt;br /&gt;
&lt;br /&gt;
1. The bluetooth service has to be stopped before starting GIMX (this allows GIMX to get incoming connections):&lt;br /&gt;
  sudo service bluetooth stop&lt;br /&gt;
  sudo hciconfig hci&amp;lt;hci number&amp;gt; up pscan&lt;br /&gt;
&amp;lt;hci number&amp;gt; is the bluetooth hci number, for example 0 if there is only one bluetooth adapter (internal or external). Run 'hciconfig' if you're not sure about this value.&lt;br /&gt;
&lt;br /&gt;
2. Start GIMX:&lt;br /&gt;
  gimx -t DS4 -c &amp;lt;config file&amp;gt; -h &amp;lt;hci number&amp;gt; -b &amp;lt;PS4 bdaddr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;config file&amp;gt; is the name of the config file to use.&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;hci number&amp;gt; is the bluetooth hci number, for example 0 if there is only one bluetooth adapter (internal or external). Run 'hciconfig' if you're not sure about this value.&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;PS4 bdaddr&amp;gt; is the address of the PS4.&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
3. Start the DS4. It should connect to GIMX, which in turn should connect to the PS4.&lt;br /&gt;
&lt;br /&gt;
4. Refer to the [[Command_line]] page to learn about the other command line arguments.&lt;/div&gt;</summary>
		<author><name>Smurfiboy</name></author>
		
	</entry>
	<entry>
		<id>https://gimx.fr/wiki/index.php?title=PS4&amp;diff=3272</id>
		<title>PS4</title>
		<link rel="alternate" type="text/html" href="https://gimx.fr/wiki/index.php?title=PS4&amp;diff=3272"/>
		<updated>2014-06-14T16:57:39Z</updated>

		<summary type="html">&lt;p&gt;Smurfiboy: /* Compilation &amp;amp; installation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;(work in progress)&lt;br /&gt;
&lt;br /&gt;
==Hardware requirements==&lt;br /&gt;
&lt;br /&gt;
===Bluetooth dongle===&lt;br /&gt;
&lt;br /&gt;
A bluetooth dongle is needed. The only tested bt chip is the CSR8510 chip.&lt;br /&gt;
&lt;br /&gt;
===PC===&lt;br /&gt;
&lt;br /&gt;
The only supported OS is Ubuntu 13.10 and its derivate such as Linux Mint 16.&lt;br /&gt;
&lt;br /&gt;
===Teensy 2.0===&lt;br /&gt;
&lt;br /&gt;
This is a temporary requirement used for pairing the bt dongle with the PS4.&lt;br /&gt;
&lt;br /&gt;
The firmware to load is available at: http://gimx.fr/download/EMUPS4.7z&lt;br /&gt;
&lt;br /&gt;
===Dualshock 4===&lt;br /&gt;
&lt;br /&gt;
The PS4 only takes inputs from licensed controller.&amp;lt;br /&amp;gt;&lt;br /&gt;
In order to authenticate itself as a licensed controller, GIMX needs to be connected to real DS4 all the time.&lt;br /&gt;
&lt;br /&gt;
==Compilation &amp;amp; installation==&lt;br /&gt;
&lt;br /&gt;
There's no installation package yet, but GIMX can be easily built from the sources.&lt;br /&gt;
&lt;br /&gt;
Refer to the [[Development_on_Linux]] page. When typing the 'git clone' command line, replace 'master' with 'dev'.&lt;br /&gt;
&lt;br /&gt;
Raspberry:&lt;br /&gt;
&lt;br /&gt;
After cloning open gimx/config/configMain.cpp&lt;br /&gt;
Replace 3 times:&lt;br /&gt;
  s_axis_props axis_props = {.axis = i}&lt;br /&gt;
With: &lt;br /&gt;
   s_axis_props = axis_props;&lt;br /&gt;
   axis_props.axis = i;&lt;br /&gt;
&lt;br /&gt;
==Setup==&lt;br /&gt;
&lt;br /&gt;
The setup performs the bluetooth pairing between the PS4 and the dongle, and between the dongle and the DS4.&amp;lt;br /&amp;gt;&lt;br /&gt;
It has to be run again if the DS4 is reused (i.e. paired again) with the PS4.&lt;br /&gt;
&lt;br /&gt;
Download the helper script:&lt;br /&gt;
&lt;br /&gt;
  wget &amp;lt;nowiki&amp;gt;https://raw.github.com/matlo/GIMX-tools/master/PS4/gimx-ps4-helper.sh&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Make it executable:&lt;br /&gt;
&lt;br /&gt;
  chmod +x gimx-ps4-helper.sh&lt;br /&gt;
&lt;br /&gt;
Run it:&lt;br /&gt;
&lt;br /&gt;
  sudo ./gimx-ps4-helper.sh&lt;br /&gt;
&lt;br /&gt;
Simply follow the instructions. A successful output should look like this:&lt;br /&gt;
&lt;br /&gt;
  $ sudo ./gimx-ps4-setup.sh&lt;br /&gt;
  Unplug any Dualshock 4.&lt;br /&gt;
  Unplug any teensy.&lt;br /&gt;
  Unpug the bluetooth dongle.&lt;br /&gt;
  Then press enter.&lt;br /&gt;
  &lt;br /&gt;
  Plug the bluetooth dongle.&lt;br /&gt;
  The bluetooth dongle address is XX:XX:XX:XX:XX:XX.&lt;br /&gt;
  The bluetooth hci number is 1.&lt;br /&gt;
  Plug the DS4 with a USB cable.&lt;br /&gt;
  The DS4 address is YY:YY:YY:YY:YY:YY.&lt;br /&gt;
  Unplug the DS4.&lt;br /&gt;
  Plug the teensy.&lt;br /&gt;
  Unplug the teensy.&lt;br /&gt;
  Plug the teensy to the PS4, and wait a few seconds.&lt;br /&gt;
  Then plug the teensy back to the PC.&lt;br /&gt;
  The PS4 address is ZZ:ZZ:ZZ:ZZ:ZZ:ZZ.&lt;br /&gt;
  Everything was successful: setting dongle link keys.&lt;br /&gt;
  To run gimx, type:&lt;br /&gt;
  gimx -t DS4 -c config.xml -h 1 -b ZZ:ZZ:ZZ:ZZ:ZZ:ZZ&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
==Pairing==&lt;br /&gt;
&lt;br /&gt;
The paring is quite complex, but it only has to be done once.&lt;br /&gt;
&lt;br /&gt;
===Dongle + DS4===&lt;br /&gt;
&lt;br /&gt;
Plug the dongle to the PC.&lt;br /&gt;
Get the dongle bdaddr (bluetooth device address):&lt;br /&gt;
&lt;br /&gt;
  hciconfig -a | grep &amp;quot;BD Address&amp;quot; | cut -f 3 -d ' '&lt;br /&gt;
&lt;br /&gt;
Result example:&lt;br /&gt;
&lt;br /&gt;
  01:02:03:04:05:06&lt;br /&gt;
&lt;br /&gt;
Generate a link key for the DS4:&lt;br /&gt;
&lt;br /&gt;
  date | md5sum | cut -f 1 -d ' '&lt;br /&gt;
&lt;br /&gt;
Result example:&lt;br /&gt;
&lt;br /&gt;
  381f87ef2a59011cb1dd29b7a67529cd&lt;br /&gt;
&lt;br /&gt;
Plug the DS4. Set its master bdaddr:&lt;br /&gt;
&lt;br /&gt;
  ds4tool -m &amp;lt;dongle bdaddr&amp;gt; -l &amp;lt;DS4 link key&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Example with the previous example values:&lt;br /&gt;
&lt;br /&gt;
  ds4tool -m 01:02:03:04:05:06 -l 381f87ef2a59011cb1dd29b7a67529cd&lt;br /&gt;
&lt;br /&gt;
Result example:&lt;br /&gt;
&lt;br /&gt;
  Current Bluetooth master: 00:00:00:00:00:00&lt;br /&gt;
  Current Bluetooth Device Address: 07:08:09:0a:0b:0c&lt;br /&gt;
  Setting master bdaddr to 01:02:03:04:05:06&lt;br /&gt;
  Setting link key to 381f87ef2a59011cb1dd29b7a67529cd&lt;br /&gt;
&lt;br /&gt;
The &amp;quot;Current Bluetooth Device Address&amp;quot; value is the DS4 bdaddr.&lt;br /&gt;
&lt;br /&gt;
Unplug the DS4.&lt;br /&gt;
&lt;br /&gt;
Set the DS4 link key:&lt;br /&gt;
&lt;br /&gt;
  sudo bash -c &amp;quot;echo &amp;lt;DS4 bdaddr&amp;gt; &amp;lt;DS4 link key&amp;gt; 4 0 &amp;gt;&amp;gt; /var/lib/bluetooth/&amp;lt;dongle bdaddr&amp;gt;/linkkeys&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Example with the previous example values:&lt;br /&gt;
&lt;br /&gt;
  sudo bash -c &amp;quot;echo 07:08:09:0a:0b:0c 381f87ef2a59011cb1dd29b7a67529cd 4 0 &amp;gt;&amp;gt; /var/lib/bluetooth/01:02:03:04:05:06/linkkeys&amp;quot;&lt;br /&gt;
&lt;br /&gt;
===Dongle + PS4===&lt;br /&gt;
&lt;br /&gt;
Plug the teensy to the PC.&lt;br /&gt;
&lt;br /&gt;
Set the device address of the teensy:&lt;br /&gt;
&lt;br /&gt;
  ds4tool -s &amp;lt;dongle bdaddr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Example with the previous example values:&lt;br /&gt;
&lt;br /&gt;
  ds4tool -s 01:02:03:04:05:06&lt;br /&gt;
&lt;br /&gt;
Result example:&lt;br /&gt;
&lt;br /&gt;
  Current Bluetooth master: 00:00:00:00:00:00&lt;br /&gt;
  Current Bluetooth Device Address: 00:00:00:00:00:00&lt;br /&gt;
  Setting slave bdaddr to 01:02:03:04:05:06&lt;br /&gt;
&lt;br /&gt;
Plug the teensy to the PS4 and wait a few seconds.&lt;br /&gt;
&lt;br /&gt;
Plug the teensy back to the PC, and type:&lt;br /&gt;
&lt;br /&gt;
  ds4tool&lt;br /&gt;
&lt;br /&gt;
Result example:&lt;br /&gt;
&lt;br /&gt;
 Current Bluetooth master: 0a:0b:0c:0d:0e:0f&lt;br /&gt;
 Current Bluetooth Device Address: 01:02:03:04:05:06&lt;br /&gt;
 Current link key: 76f5ea4f6205db412f8095094e5414c3&lt;br /&gt;
&lt;br /&gt;
The &amp;quot;Current Bluetooth master&amp;quot; value is the PS4 bdaddr, and the &amp;quot;Current link key&amp;quot; value is the PS4 link key.&lt;br /&gt;
&lt;br /&gt;
Unplug the teensy.&lt;br /&gt;
&lt;br /&gt;
Set the PS4 link key:&lt;br /&gt;
&lt;br /&gt;
  sudo bash -c &amp;quot;echo &amp;lt;PS4 bdaddr&amp;gt; &amp;lt;PS4 link key&amp;gt; 4 0 &amp;gt;&amp;gt; /var/lib/bluetooth/&amp;lt;dongle bdaddr&amp;gt;/linkkeys&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Example with the previous example values:&lt;br /&gt;
&lt;br /&gt;
  sudo bash -c &amp;quot;echo 0a:0b:0c:0d:0e:0f 76f5ea4f6205db412f8095094e5414c3 4 0 &amp;gt;&amp;gt; /var/lib/bluetooth/01:02:03:04:05:06/linkkeys&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Restart the bluetooth service (loads the link keys):&lt;br /&gt;
&lt;br /&gt;
  sudo service bluetooth restart&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Start==&lt;br /&gt;
(i have noticed that first start is only syncing after turn off ps4 after using helper --Smurfiboy)&lt;br /&gt;
&lt;br /&gt;
1. The bluetooth service has to be stopped before starting GIMX (this allows GIMX to get incoming connections):&lt;br /&gt;
  sudo service bluetooth stop&lt;br /&gt;
  sudo hciconfig hci&amp;lt;hci number&amp;gt; up pscan&lt;br /&gt;
&amp;lt;hci number&amp;gt; is the bluetooth hci number, for example 0 if there is only one bluetooth adapter (internal or external). Run 'hciconfig' if you're not sure about this value.&lt;br /&gt;
&lt;br /&gt;
2. Start GIMX:&lt;br /&gt;
  gimx -t DS4 -c &amp;lt;config file&amp;gt; -h &amp;lt;hci number&amp;gt; -b &amp;lt;PS4 bdaddr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;config file&amp;gt; is the name of the config file to use.&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;hci number&amp;gt; is the bluetooth hci number, for example 0 if there is only one bluetooth adapter (internal or external). Run 'hciconfig' if you're not sure about this value.&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;PS4 bdaddr&amp;gt; is the address of the PS4.&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
3. Start the DS4. It should connect to GIMX, which in turn should connect to the PS4.&lt;br /&gt;
&lt;br /&gt;
4. Refer to the [[Command_line]] page to learn about the other command line arguments.&lt;/div&gt;</summary>
		<author><name>Smurfiboy</name></author>
		
	</entry>
	<entry>
		<id>https://gimx.fr/wiki/index.php?title=PS4&amp;diff=3271</id>
		<title>PS4</title>
		<link rel="alternate" type="text/html" href="https://gimx.fr/wiki/index.php?title=PS4&amp;diff=3271"/>
		<updated>2014-06-14T16:57:27Z</updated>

		<summary type="html">&lt;p&gt;Smurfiboy: /* Compilation &amp;amp; installation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;(work in progress)&lt;br /&gt;
&lt;br /&gt;
==Hardware requirements==&lt;br /&gt;
&lt;br /&gt;
===Bluetooth dongle===&lt;br /&gt;
&lt;br /&gt;
A bluetooth dongle is needed. The only tested bt chip is the CSR8510 chip.&lt;br /&gt;
&lt;br /&gt;
===PC===&lt;br /&gt;
&lt;br /&gt;
The only supported OS is Ubuntu 13.10 and its derivate such as Linux Mint 16.&lt;br /&gt;
&lt;br /&gt;
===Teensy 2.0===&lt;br /&gt;
&lt;br /&gt;
This is a temporary requirement used for pairing the bt dongle with the PS4.&lt;br /&gt;
&lt;br /&gt;
The firmware to load is available at: http://gimx.fr/download/EMUPS4.7z&lt;br /&gt;
&lt;br /&gt;
===Dualshock 4===&lt;br /&gt;
&lt;br /&gt;
The PS4 only takes inputs from licensed controller.&amp;lt;br /&amp;gt;&lt;br /&gt;
In order to authenticate itself as a licensed controller, GIMX needs to be connected to real DS4 all the time.&lt;br /&gt;
&lt;br /&gt;
==Compilation &amp;amp; installation==&lt;br /&gt;
&lt;br /&gt;
There's no installation package yet, but GIMX can be easily built from the sources.&lt;br /&gt;
&lt;br /&gt;
Refer to the [[Development_on_Linux]] page. When typing the 'git clone' command line, replace 'master' with 'dev'.&lt;br /&gt;
&lt;br /&gt;
Raspberry:&lt;br /&gt;
After cloning open gimx/config/configMain.cpp&lt;br /&gt;
Replace 3 times:&lt;br /&gt;
  s_axis_props axis_props = {.axis = i}&lt;br /&gt;
With: &lt;br /&gt;
   s_axis_props = axis_props;&lt;br /&gt;
   axis_props.axis = i;&lt;br /&gt;
&lt;br /&gt;
==Setup==&lt;br /&gt;
&lt;br /&gt;
The setup performs the bluetooth pairing between the PS4 and the dongle, and between the dongle and the DS4.&amp;lt;br /&amp;gt;&lt;br /&gt;
It has to be run again if the DS4 is reused (i.e. paired again) with the PS4.&lt;br /&gt;
&lt;br /&gt;
Download the helper script:&lt;br /&gt;
&lt;br /&gt;
  wget &amp;lt;nowiki&amp;gt;https://raw.github.com/matlo/GIMX-tools/master/PS4/gimx-ps4-helper.sh&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Make it executable:&lt;br /&gt;
&lt;br /&gt;
  chmod +x gimx-ps4-helper.sh&lt;br /&gt;
&lt;br /&gt;
Run it:&lt;br /&gt;
&lt;br /&gt;
  sudo ./gimx-ps4-helper.sh&lt;br /&gt;
&lt;br /&gt;
Simply follow the instructions. A successful output should look like this:&lt;br /&gt;
&lt;br /&gt;
  $ sudo ./gimx-ps4-setup.sh&lt;br /&gt;
  Unplug any Dualshock 4.&lt;br /&gt;
  Unplug any teensy.&lt;br /&gt;
  Unpug the bluetooth dongle.&lt;br /&gt;
  Then press enter.&lt;br /&gt;
  &lt;br /&gt;
  Plug the bluetooth dongle.&lt;br /&gt;
  The bluetooth dongle address is XX:XX:XX:XX:XX:XX.&lt;br /&gt;
  The bluetooth hci number is 1.&lt;br /&gt;
  Plug the DS4 with a USB cable.&lt;br /&gt;
  The DS4 address is YY:YY:YY:YY:YY:YY.&lt;br /&gt;
  Unplug the DS4.&lt;br /&gt;
  Plug the teensy.&lt;br /&gt;
  Unplug the teensy.&lt;br /&gt;
  Plug the teensy to the PS4, and wait a few seconds.&lt;br /&gt;
  Then plug the teensy back to the PC.&lt;br /&gt;
  The PS4 address is ZZ:ZZ:ZZ:ZZ:ZZ:ZZ.&lt;br /&gt;
  Everything was successful: setting dongle link keys.&lt;br /&gt;
  To run gimx, type:&lt;br /&gt;
  gimx -t DS4 -c config.xml -h 1 -b ZZ:ZZ:ZZ:ZZ:ZZ:ZZ&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
==Pairing==&lt;br /&gt;
&lt;br /&gt;
The paring is quite complex, but it only has to be done once.&lt;br /&gt;
&lt;br /&gt;
===Dongle + DS4===&lt;br /&gt;
&lt;br /&gt;
Plug the dongle to the PC.&lt;br /&gt;
Get the dongle bdaddr (bluetooth device address):&lt;br /&gt;
&lt;br /&gt;
  hciconfig -a | grep &amp;quot;BD Address&amp;quot; | cut -f 3 -d ' '&lt;br /&gt;
&lt;br /&gt;
Result example:&lt;br /&gt;
&lt;br /&gt;
  01:02:03:04:05:06&lt;br /&gt;
&lt;br /&gt;
Generate a link key for the DS4:&lt;br /&gt;
&lt;br /&gt;
  date | md5sum | cut -f 1 -d ' '&lt;br /&gt;
&lt;br /&gt;
Result example:&lt;br /&gt;
&lt;br /&gt;
  381f87ef2a59011cb1dd29b7a67529cd&lt;br /&gt;
&lt;br /&gt;
Plug the DS4. Set its master bdaddr:&lt;br /&gt;
&lt;br /&gt;
  ds4tool -m &amp;lt;dongle bdaddr&amp;gt; -l &amp;lt;DS4 link key&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Example with the previous example values:&lt;br /&gt;
&lt;br /&gt;
  ds4tool -m 01:02:03:04:05:06 -l 381f87ef2a59011cb1dd29b7a67529cd&lt;br /&gt;
&lt;br /&gt;
Result example:&lt;br /&gt;
&lt;br /&gt;
  Current Bluetooth master: 00:00:00:00:00:00&lt;br /&gt;
  Current Bluetooth Device Address: 07:08:09:0a:0b:0c&lt;br /&gt;
  Setting master bdaddr to 01:02:03:04:05:06&lt;br /&gt;
  Setting link key to 381f87ef2a59011cb1dd29b7a67529cd&lt;br /&gt;
&lt;br /&gt;
The &amp;quot;Current Bluetooth Device Address&amp;quot; value is the DS4 bdaddr.&lt;br /&gt;
&lt;br /&gt;
Unplug the DS4.&lt;br /&gt;
&lt;br /&gt;
Set the DS4 link key:&lt;br /&gt;
&lt;br /&gt;
  sudo bash -c &amp;quot;echo &amp;lt;DS4 bdaddr&amp;gt; &amp;lt;DS4 link key&amp;gt; 4 0 &amp;gt;&amp;gt; /var/lib/bluetooth/&amp;lt;dongle bdaddr&amp;gt;/linkkeys&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Example with the previous example values:&lt;br /&gt;
&lt;br /&gt;
  sudo bash -c &amp;quot;echo 07:08:09:0a:0b:0c 381f87ef2a59011cb1dd29b7a67529cd 4 0 &amp;gt;&amp;gt; /var/lib/bluetooth/01:02:03:04:05:06/linkkeys&amp;quot;&lt;br /&gt;
&lt;br /&gt;
===Dongle + PS4===&lt;br /&gt;
&lt;br /&gt;
Plug the teensy to the PC.&lt;br /&gt;
&lt;br /&gt;
Set the device address of the teensy:&lt;br /&gt;
&lt;br /&gt;
  ds4tool -s &amp;lt;dongle bdaddr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Example with the previous example values:&lt;br /&gt;
&lt;br /&gt;
  ds4tool -s 01:02:03:04:05:06&lt;br /&gt;
&lt;br /&gt;
Result example:&lt;br /&gt;
&lt;br /&gt;
  Current Bluetooth master: 00:00:00:00:00:00&lt;br /&gt;
  Current Bluetooth Device Address: 00:00:00:00:00:00&lt;br /&gt;
  Setting slave bdaddr to 01:02:03:04:05:06&lt;br /&gt;
&lt;br /&gt;
Plug the teensy to the PS4 and wait a few seconds.&lt;br /&gt;
&lt;br /&gt;
Plug the teensy back to the PC, and type:&lt;br /&gt;
&lt;br /&gt;
  ds4tool&lt;br /&gt;
&lt;br /&gt;
Result example:&lt;br /&gt;
&lt;br /&gt;
 Current Bluetooth master: 0a:0b:0c:0d:0e:0f&lt;br /&gt;
 Current Bluetooth Device Address: 01:02:03:04:05:06&lt;br /&gt;
 Current link key: 76f5ea4f6205db412f8095094e5414c3&lt;br /&gt;
&lt;br /&gt;
The &amp;quot;Current Bluetooth master&amp;quot; value is the PS4 bdaddr, and the &amp;quot;Current link key&amp;quot; value is the PS4 link key.&lt;br /&gt;
&lt;br /&gt;
Unplug the teensy.&lt;br /&gt;
&lt;br /&gt;
Set the PS4 link key:&lt;br /&gt;
&lt;br /&gt;
  sudo bash -c &amp;quot;echo &amp;lt;PS4 bdaddr&amp;gt; &amp;lt;PS4 link key&amp;gt; 4 0 &amp;gt;&amp;gt; /var/lib/bluetooth/&amp;lt;dongle bdaddr&amp;gt;/linkkeys&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Example with the previous example values:&lt;br /&gt;
&lt;br /&gt;
  sudo bash -c &amp;quot;echo 0a:0b:0c:0d:0e:0f 76f5ea4f6205db412f8095094e5414c3 4 0 &amp;gt;&amp;gt; /var/lib/bluetooth/01:02:03:04:05:06/linkkeys&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Restart the bluetooth service (loads the link keys):&lt;br /&gt;
&lt;br /&gt;
  sudo service bluetooth restart&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Start==&lt;br /&gt;
(i have noticed that first start is only syncing after turn off ps4 after using helper --Smurfiboy)&lt;br /&gt;
&lt;br /&gt;
1. The bluetooth service has to be stopped before starting GIMX (this allows GIMX to get incoming connections):&lt;br /&gt;
  sudo service bluetooth stop&lt;br /&gt;
  sudo hciconfig hci&amp;lt;hci number&amp;gt; up pscan&lt;br /&gt;
&amp;lt;hci number&amp;gt; is the bluetooth hci number, for example 0 if there is only one bluetooth adapter (internal or external). Run 'hciconfig' if you're not sure about this value.&lt;br /&gt;
&lt;br /&gt;
2. Start GIMX:&lt;br /&gt;
  gimx -t DS4 -c &amp;lt;config file&amp;gt; -h &amp;lt;hci number&amp;gt; -b &amp;lt;PS4 bdaddr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;config file&amp;gt; is the name of the config file to use.&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;hci number&amp;gt; is the bluetooth hci number, for example 0 if there is only one bluetooth adapter (internal or external). Run 'hciconfig' if you're not sure about this value.&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;PS4 bdaddr&amp;gt; is the address of the PS4.&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
3. Start the DS4. It should connect to GIMX, which in turn should connect to the PS4.&lt;br /&gt;
&lt;br /&gt;
4. Refer to the [[Command_line]] page to learn about the other command line arguments.&lt;/div&gt;</summary>
		<author><name>Smurfiboy</name></author>
		
	</entry>
	<entry>
		<id>https://gimx.fr/wiki/index.php?title=PS4&amp;diff=3270</id>
		<title>PS4</title>
		<link rel="alternate" type="text/html" href="https://gimx.fr/wiki/index.php?title=PS4&amp;diff=3270"/>
		<updated>2014-06-14T16:56:51Z</updated>

		<summary type="html">&lt;p&gt;Smurfiboy: /* Compilation &amp;amp; installation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;(work in progress)&lt;br /&gt;
&lt;br /&gt;
==Hardware requirements==&lt;br /&gt;
&lt;br /&gt;
===Bluetooth dongle===&lt;br /&gt;
&lt;br /&gt;
A bluetooth dongle is needed. The only tested bt chip is the CSR8510 chip.&lt;br /&gt;
&lt;br /&gt;
===PC===&lt;br /&gt;
&lt;br /&gt;
The only supported OS is Ubuntu 13.10 and its derivate such as Linux Mint 16.&lt;br /&gt;
&lt;br /&gt;
===Teensy 2.0===&lt;br /&gt;
&lt;br /&gt;
This is a temporary requirement used for pairing the bt dongle with the PS4.&lt;br /&gt;
&lt;br /&gt;
The firmware to load is available at: http://gimx.fr/download/EMUPS4.7z&lt;br /&gt;
&lt;br /&gt;
===Dualshock 4===&lt;br /&gt;
&lt;br /&gt;
The PS4 only takes inputs from licensed controller.&amp;lt;br /&amp;gt;&lt;br /&gt;
In order to authenticate itself as a licensed controller, GIMX needs to be connected to real DS4 all the time.&lt;br /&gt;
&lt;br /&gt;
==Compilation &amp;amp; installation==&lt;br /&gt;
&lt;br /&gt;
There's no installation package yet, but GIMX can be easily built from the sources.&lt;br /&gt;
&lt;br /&gt;
Refer to the [[Development_on_Linux]] page. When typing the 'git clone' command line, replace 'master' with 'dev'.&lt;br /&gt;
Raspberry:&lt;br /&gt;
After cloning open gimx/config/configMain.cpp&lt;br /&gt;
Replace 3 times:&lt;br /&gt;
  s_axis_props axis_props = {.axis = i}&lt;br /&gt;
With: &lt;br /&gt;
   s_axis_props = axis_props;&lt;br /&gt;
   axis_props.axis = i;&lt;br /&gt;
&lt;br /&gt;
==Setup==&lt;br /&gt;
&lt;br /&gt;
The setup performs the bluetooth pairing between the PS4 and the dongle, and between the dongle and the DS4.&amp;lt;br /&amp;gt;&lt;br /&gt;
It has to be run again if the DS4 is reused (i.e. paired again) with the PS4.&lt;br /&gt;
&lt;br /&gt;
Download the helper script:&lt;br /&gt;
&lt;br /&gt;
  wget &amp;lt;nowiki&amp;gt;https://raw.github.com/matlo/GIMX-tools/master/PS4/gimx-ps4-helper.sh&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Make it executable:&lt;br /&gt;
&lt;br /&gt;
  chmod +x gimx-ps4-helper.sh&lt;br /&gt;
&lt;br /&gt;
Run it:&lt;br /&gt;
&lt;br /&gt;
  sudo ./gimx-ps4-helper.sh&lt;br /&gt;
&lt;br /&gt;
Simply follow the instructions. A successful output should look like this:&lt;br /&gt;
&lt;br /&gt;
  $ sudo ./gimx-ps4-setup.sh&lt;br /&gt;
  Unplug any Dualshock 4.&lt;br /&gt;
  Unplug any teensy.&lt;br /&gt;
  Unpug the bluetooth dongle.&lt;br /&gt;
  Then press enter.&lt;br /&gt;
  &lt;br /&gt;
  Plug the bluetooth dongle.&lt;br /&gt;
  The bluetooth dongle address is XX:XX:XX:XX:XX:XX.&lt;br /&gt;
  The bluetooth hci number is 1.&lt;br /&gt;
  Plug the DS4 with a USB cable.&lt;br /&gt;
  The DS4 address is YY:YY:YY:YY:YY:YY.&lt;br /&gt;
  Unplug the DS4.&lt;br /&gt;
  Plug the teensy.&lt;br /&gt;
  Unplug the teensy.&lt;br /&gt;
  Plug the teensy to the PS4, and wait a few seconds.&lt;br /&gt;
  Then plug the teensy back to the PC.&lt;br /&gt;
  The PS4 address is ZZ:ZZ:ZZ:ZZ:ZZ:ZZ.&lt;br /&gt;
  Everything was successful: setting dongle link keys.&lt;br /&gt;
  To run gimx, type:&lt;br /&gt;
  gimx -t DS4 -c config.xml -h 1 -b ZZ:ZZ:ZZ:ZZ:ZZ:ZZ&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
==Pairing==&lt;br /&gt;
&lt;br /&gt;
The paring is quite complex, but it only has to be done once.&lt;br /&gt;
&lt;br /&gt;
===Dongle + DS4===&lt;br /&gt;
&lt;br /&gt;
Plug the dongle to the PC.&lt;br /&gt;
Get the dongle bdaddr (bluetooth device address):&lt;br /&gt;
&lt;br /&gt;
  hciconfig -a | grep &amp;quot;BD Address&amp;quot; | cut -f 3 -d ' '&lt;br /&gt;
&lt;br /&gt;
Result example:&lt;br /&gt;
&lt;br /&gt;
  01:02:03:04:05:06&lt;br /&gt;
&lt;br /&gt;
Generate a link key for the DS4:&lt;br /&gt;
&lt;br /&gt;
  date | md5sum | cut -f 1 -d ' '&lt;br /&gt;
&lt;br /&gt;
Result example:&lt;br /&gt;
&lt;br /&gt;
  381f87ef2a59011cb1dd29b7a67529cd&lt;br /&gt;
&lt;br /&gt;
Plug the DS4. Set its master bdaddr:&lt;br /&gt;
&lt;br /&gt;
  ds4tool -m &amp;lt;dongle bdaddr&amp;gt; -l &amp;lt;DS4 link key&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Example with the previous example values:&lt;br /&gt;
&lt;br /&gt;
  ds4tool -m 01:02:03:04:05:06 -l 381f87ef2a59011cb1dd29b7a67529cd&lt;br /&gt;
&lt;br /&gt;
Result example:&lt;br /&gt;
&lt;br /&gt;
  Current Bluetooth master: 00:00:00:00:00:00&lt;br /&gt;
  Current Bluetooth Device Address: 07:08:09:0a:0b:0c&lt;br /&gt;
  Setting master bdaddr to 01:02:03:04:05:06&lt;br /&gt;
  Setting link key to 381f87ef2a59011cb1dd29b7a67529cd&lt;br /&gt;
&lt;br /&gt;
The &amp;quot;Current Bluetooth Device Address&amp;quot; value is the DS4 bdaddr.&lt;br /&gt;
&lt;br /&gt;
Unplug the DS4.&lt;br /&gt;
&lt;br /&gt;
Set the DS4 link key:&lt;br /&gt;
&lt;br /&gt;
  sudo bash -c &amp;quot;echo &amp;lt;DS4 bdaddr&amp;gt; &amp;lt;DS4 link key&amp;gt; 4 0 &amp;gt;&amp;gt; /var/lib/bluetooth/&amp;lt;dongle bdaddr&amp;gt;/linkkeys&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Example with the previous example values:&lt;br /&gt;
&lt;br /&gt;
  sudo bash -c &amp;quot;echo 07:08:09:0a:0b:0c 381f87ef2a59011cb1dd29b7a67529cd 4 0 &amp;gt;&amp;gt; /var/lib/bluetooth/01:02:03:04:05:06/linkkeys&amp;quot;&lt;br /&gt;
&lt;br /&gt;
===Dongle + PS4===&lt;br /&gt;
&lt;br /&gt;
Plug the teensy to the PC.&lt;br /&gt;
&lt;br /&gt;
Set the device address of the teensy:&lt;br /&gt;
&lt;br /&gt;
  ds4tool -s &amp;lt;dongle bdaddr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Example with the previous example values:&lt;br /&gt;
&lt;br /&gt;
  ds4tool -s 01:02:03:04:05:06&lt;br /&gt;
&lt;br /&gt;
Result example:&lt;br /&gt;
&lt;br /&gt;
  Current Bluetooth master: 00:00:00:00:00:00&lt;br /&gt;
  Current Bluetooth Device Address: 00:00:00:00:00:00&lt;br /&gt;
  Setting slave bdaddr to 01:02:03:04:05:06&lt;br /&gt;
&lt;br /&gt;
Plug the teensy to the PS4 and wait a few seconds.&lt;br /&gt;
&lt;br /&gt;
Plug the teensy back to the PC, and type:&lt;br /&gt;
&lt;br /&gt;
  ds4tool&lt;br /&gt;
&lt;br /&gt;
Result example:&lt;br /&gt;
&lt;br /&gt;
 Current Bluetooth master: 0a:0b:0c:0d:0e:0f&lt;br /&gt;
 Current Bluetooth Device Address: 01:02:03:04:05:06&lt;br /&gt;
 Current link key: 76f5ea4f6205db412f8095094e5414c3&lt;br /&gt;
&lt;br /&gt;
The &amp;quot;Current Bluetooth master&amp;quot; value is the PS4 bdaddr, and the &amp;quot;Current link key&amp;quot; value is the PS4 link key.&lt;br /&gt;
&lt;br /&gt;
Unplug the teensy.&lt;br /&gt;
&lt;br /&gt;
Set the PS4 link key:&lt;br /&gt;
&lt;br /&gt;
  sudo bash -c &amp;quot;echo &amp;lt;PS4 bdaddr&amp;gt; &amp;lt;PS4 link key&amp;gt; 4 0 &amp;gt;&amp;gt; /var/lib/bluetooth/&amp;lt;dongle bdaddr&amp;gt;/linkkeys&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Example with the previous example values:&lt;br /&gt;
&lt;br /&gt;
  sudo bash -c &amp;quot;echo 0a:0b:0c:0d:0e:0f 76f5ea4f6205db412f8095094e5414c3 4 0 &amp;gt;&amp;gt; /var/lib/bluetooth/01:02:03:04:05:06/linkkeys&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Restart the bluetooth service (loads the link keys):&lt;br /&gt;
&lt;br /&gt;
  sudo service bluetooth restart&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Start==&lt;br /&gt;
(i have noticed that first start is only syncing after turn off ps4 after using helper --Smurfiboy)&lt;br /&gt;
&lt;br /&gt;
1. The bluetooth service has to be stopped before starting GIMX (this allows GIMX to get incoming connections):&lt;br /&gt;
  sudo service bluetooth stop&lt;br /&gt;
  sudo hciconfig hci&amp;lt;hci number&amp;gt; up pscan&lt;br /&gt;
&amp;lt;hci number&amp;gt; is the bluetooth hci number, for example 0 if there is only one bluetooth adapter (internal or external). Run 'hciconfig' if you're not sure about this value.&lt;br /&gt;
&lt;br /&gt;
2. Start GIMX:&lt;br /&gt;
  gimx -t DS4 -c &amp;lt;config file&amp;gt; -h &amp;lt;hci number&amp;gt; -b &amp;lt;PS4 bdaddr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;config file&amp;gt; is the name of the config file to use.&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;hci number&amp;gt; is the bluetooth hci number, for example 0 if there is only one bluetooth adapter (internal or external). Run 'hciconfig' if you're not sure about this value.&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;PS4 bdaddr&amp;gt; is the address of the PS4.&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
3. Start the DS4. It should connect to GIMX, which in turn should connect to the PS4.&lt;br /&gt;
&lt;br /&gt;
4. Refer to the [[Command_line]] page to learn about the other command line arguments.&lt;/div&gt;</summary>
		<author><name>Smurfiboy</name></author>
		
	</entry>
	<entry>
		<id>https://gimx.fr/wiki/index.php?title=PS4&amp;diff=3269</id>
		<title>PS4</title>
		<link rel="alternate" type="text/html" href="https://gimx.fr/wiki/index.php?title=PS4&amp;diff=3269"/>
		<updated>2014-06-13T18:02:19Z</updated>

		<summary type="html">&lt;p&gt;Smurfiboy: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;(work in progress)&lt;br /&gt;
&lt;br /&gt;
==Hardware requirements==&lt;br /&gt;
&lt;br /&gt;
===Bluetooth dongle===&lt;br /&gt;
&lt;br /&gt;
A bluetooth dongle is needed. The only tested bt chip is the CSR8510 chip.&lt;br /&gt;
&lt;br /&gt;
===PC===&lt;br /&gt;
&lt;br /&gt;
The only supported OS is Ubuntu 13.10 and its derivate such as Linux Mint 16.&lt;br /&gt;
&lt;br /&gt;
===Teensy 2.0===&lt;br /&gt;
&lt;br /&gt;
This is a temporary requirement used for pairing the bt dongle with the PS4.&lt;br /&gt;
&lt;br /&gt;
The firmware to load is available at: http://gimx.fr/download/EMUPS4.7z&lt;br /&gt;
&lt;br /&gt;
===Dualshock 4===&lt;br /&gt;
&lt;br /&gt;
The PS4 only takes inputs from licensed controller.&amp;lt;br /&amp;gt;&lt;br /&gt;
In order to authenticate itself as a licensed controller, GIMX needs to be connected to real DS4 all the time.&lt;br /&gt;
&lt;br /&gt;
==Compilation &amp;amp; installation==&lt;br /&gt;
&lt;br /&gt;
There's no installation package yet, but GIMX can be easily built from the sources.&lt;br /&gt;
&lt;br /&gt;
Refer to the [[Development_on_Linux]] page. When typing the 'git clone' command line, replace 'master' with 'dev'.&lt;br /&gt;
&lt;br /&gt;
==Setup==&lt;br /&gt;
&lt;br /&gt;
The setup performs the bluetooth pairing between the PS4 and the dongle, and between the dongle and the DS4.&amp;lt;br /&amp;gt;&lt;br /&gt;
It has to be run again if the DS4 is reused (i.e. paired again) with the PS4.&lt;br /&gt;
&lt;br /&gt;
Download the helper script:&lt;br /&gt;
&lt;br /&gt;
  wget &amp;lt;nowiki&amp;gt;https://raw.github.com/matlo/GIMX-tools/master/PS4/gimx-ps4-helper.sh&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Make it executable:&lt;br /&gt;
&lt;br /&gt;
  chmod +x gimx-ps4-helper.sh&lt;br /&gt;
&lt;br /&gt;
Run it:&lt;br /&gt;
&lt;br /&gt;
  sudo ./gimx-ps4-helper.sh&lt;br /&gt;
&lt;br /&gt;
Simply follow the instructions. A successful output should look like this:&lt;br /&gt;
&lt;br /&gt;
  $ sudo ./gimx-ps4-setup.sh&lt;br /&gt;
  Unplug any Dualshock 4.&lt;br /&gt;
  Unplug any teensy.&lt;br /&gt;
  Unpug the bluetooth dongle.&lt;br /&gt;
  Then press enter.&lt;br /&gt;
  &lt;br /&gt;
  Plug the bluetooth dongle.&lt;br /&gt;
  The bluetooth dongle address is XX:XX:XX:XX:XX:XX.&lt;br /&gt;
  The bluetooth hci number is 1.&lt;br /&gt;
  Plug the DS4 with a USB cable.&lt;br /&gt;
  The DS4 address is YY:YY:YY:YY:YY:YY.&lt;br /&gt;
  Unplug the DS4.&lt;br /&gt;
  Plug the teensy.&lt;br /&gt;
  Unplug the teensy.&lt;br /&gt;
  Plug the teensy to the PS4, and wait a few seconds.&lt;br /&gt;
  Then plug the teensy back to the PC.&lt;br /&gt;
  The PS4 address is ZZ:ZZ:ZZ:ZZ:ZZ:ZZ.&lt;br /&gt;
  Everything was successful: setting dongle link keys.&lt;br /&gt;
  To run gimx, type:&lt;br /&gt;
  gimx -t DS4 -c config.xml -h 1 -b ZZ:ZZ:ZZ:ZZ:ZZ:ZZ&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
==Pairing==&lt;br /&gt;
&lt;br /&gt;
The paring is quite complex, but it only has to be done once.&lt;br /&gt;
&lt;br /&gt;
===Dongle + DS4===&lt;br /&gt;
&lt;br /&gt;
Plug the dongle to the PC.&lt;br /&gt;
Get the dongle bdaddr (bluetooth device address):&lt;br /&gt;
&lt;br /&gt;
  hciconfig -a | grep &amp;quot;BD Address&amp;quot; | cut -f 3 -d ' '&lt;br /&gt;
&lt;br /&gt;
Result example:&lt;br /&gt;
&lt;br /&gt;
  01:02:03:04:05:06&lt;br /&gt;
&lt;br /&gt;
Generate a link key for the DS4:&lt;br /&gt;
&lt;br /&gt;
  date | md5sum | cut -f 1 -d ' '&lt;br /&gt;
&lt;br /&gt;
Result example:&lt;br /&gt;
&lt;br /&gt;
  381f87ef2a59011cb1dd29b7a67529cd&lt;br /&gt;
&lt;br /&gt;
Plug the DS4. Set its master bdaddr:&lt;br /&gt;
&lt;br /&gt;
  ds4tool -m &amp;lt;dongle bdaddr&amp;gt; -l &amp;lt;DS4 link key&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Example with the previous example values:&lt;br /&gt;
&lt;br /&gt;
  ds4tool -m 01:02:03:04:05:06 -l 381f87ef2a59011cb1dd29b7a67529cd&lt;br /&gt;
&lt;br /&gt;
Result example:&lt;br /&gt;
&lt;br /&gt;
  Current Bluetooth master: 00:00:00:00:00:00&lt;br /&gt;
  Current Bluetooth Device Address: 07:08:09:0a:0b:0c&lt;br /&gt;
  Setting master bdaddr to 01:02:03:04:05:06&lt;br /&gt;
  Setting link key to 381f87ef2a59011cb1dd29b7a67529cd&lt;br /&gt;
&lt;br /&gt;
The &amp;quot;Current Bluetooth Device Address&amp;quot; value is the DS4 bdaddr.&lt;br /&gt;
&lt;br /&gt;
Unplug the DS4.&lt;br /&gt;
&lt;br /&gt;
Set the DS4 link key:&lt;br /&gt;
&lt;br /&gt;
  sudo bash -c &amp;quot;echo &amp;lt;DS4 bdaddr&amp;gt; &amp;lt;DS4 link key&amp;gt; 4 0 &amp;gt;&amp;gt; /var/lib/bluetooth/&amp;lt;dongle bdaddr&amp;gt;/linkkeys&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Example with the previous example values:&lt;br /&gt;
&lt;br /&gt;
  sudo bash -c &amp;quot;echo 07:08:09:0a:0b:0c 381f87ef2a59011cb1dd29b7a67529cd 4 0 &amp;gt;&amp;gt; /var/lib/bluetooth/01:02:03:04:05:06/linkkeys&amp;quot;&lt;br /&gt;
&lt;br /&gt;
===Dongle + PS4===&lt;br /&gt;
&lt;br /&gt;
Plug the teensy to the PC.&lt;br /&gt;
&lt;br /&gt;
Set the device address of the teensy:&lt;br /&gt;
&lt;br /&gt;
  ds4tool -s &amp;lt;dongle bdaddr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Example with the previous example values:&lt;br /&gt;
&lt;br /&gt;
  ds4tool -s 01:02:03:04:05:06&lt;br /&gt;
&lt;br /&gt;
Result example:&lt;br /&gt;
&lt;br /&gt;
  Current Bluetooth master: 00:00:00:00:00:00&lt;br /&gt;
  Current Bluetooth Device Address: 00:00:00:00:00:00&lt;br /&gt;
  Setting slave bdaddr to 01:02:03:04:05:06&lt;br /&gt;
&lt;br /&gt;
Plug the teensy to the PS4 and wait a few seconds.&lt;br /&gt;
&lt;br /&gt;
Plug the teensy back to the PC, and type:&lt;br /&gt;
&lt;br /&gt;
  ds4tool&lt;br /&gt;
&lt;br /&gt;
Result example:&lt;br /&gt;
&lt;br /&gt;
 Current Bluetooth master: 0a:0b:0c:0d:0e:0f&lt;br /&gt;
 Current Bluetooth Device Address: 01:02:03:04:05:06&lt;br /&gt;
 Current link key: 76f5ea4f6205db412f8095094e5414c3&lt;br /&gt;
&lt;br /&gt;
The &amp;quot;Current Bluetooth master&amp;quot; value is the PS4 bdaddr, and the &amp;quot;Current link key&amp;quot; value is the PS4 link key.&lt;br /&gt;
&lt;br /&gt;
Unplug the teensy.&lt;br /&gt;
&lt;br /&gt;
Set the PS4 link key:&lt;br /&gt;
&lt;br /&gt;
  sudo bash -c &amp;quot;echo &amp;lt;PS4 bdaddr&amp;gt; &amp;lt;PS4 link key&amp;gt; 4 0 &amp;gt;&amp;gt; /var/lib/bluetooth/&amp;lt;dongle bdaddr&amp;gt;/linkkeys&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Example with the previous example values:&lt;br /&gt;
&lt;br /&gt;
  sudo bash -c &amp;quot;echo 0a:0b:0c:0d:0e:0f 76f5ea4f6205db412f8095094e5414c3 4 0 &amp;gt;&amp;gt; /var/lib/bluetooth/01:02:03:04:05:06/linkkeys&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Restart the bluetooth service (loads the link keys):&lt;br /&gt;
&lt;br /&gt;
  sudo service bluetooth restart&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Start==&lt;br /&gt;
(i have noticed that first start is only syncing after turn off ps4 after using helper --Smurfiboy)&lt;br /&gt;
&lt;br /&gt;
1. The bluetooth service has to be stopped before starting GIMX (this allows GIMX to get incoming connections):&lt;br /&gt;
  sudo service bluetooth stop&lt;br /&gt;
  sudo hciconfig hci&amp;lt;hci number&amp;gt; up pscan&lt;br /&gt;
&amp;lt;hci number&amp;gt; is the bluetooth hci number, for example 0 if there is only one bluetooth adapter (internal or external). Run 'hciconfig' if you're not sure about this value.&lt;br /&gt;
&lt;br /&gt;
2. Start GIMX:&lt;br /&gt;
  gimx -t DS4 -c &amp;lt;config file&amp;gt; -h &amp;lt;hci number&amp;gt; -b &amp;lt;PS4 bdaddr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;config file&amp;gt; is the name of the config file to use.&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;hci number&amp;gt; is the bluetooth hci number, for example 0 if there is only one bluetooth adapter (internal or external). Run 'hciconfig' if you're not sure about this value.&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;PS4 bdaddr&amp;gt; is the address of the PS4.&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
3. Start the DS4. It should connect to GIMX, which in turn should connect to the PS4.&lt;br /&gt;
&lt;br /&gt;
4. Refer to the [[Command_line]] page to learn about the other command line arguments.&lt;/div&gt;</summary>
		<author><name>Smurfiboy</name></author>
		
	</entry>
	<entry>
		<id>https://gimx.fr/wiki/index.php?title=PS4&amp;diff=3268</id>
		<title>PS4</title>
		<link rel="alternate" type="text/html" href="https://gimx.fr/wiki/index.php?title=PS4&amp;diff=3268"/>
		<updated>2014-06-13T18:01:48Z</updated>

		<summary type="html">&lt;p&gt;Smurfiboy: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;(work in progress)&lt;br /&gt;
&lt;br /&gt;
==Hardware requirements==&lt;br /&gt;
&lt;br /&gt;
===Bluetooth dongle===&lt;br /&gt;
&lt;br /&gt;
A bluetooth dongle is needed. The only tested bt chip is the CSR8510 chip.&lt;br /&gt;
&lt;br /&gt;
===PC===&lt;br /&gt;
&lt;br /&gt;
The only supported OS is Ubuntu 13.10 and its derivate such as Linux Mint 16.&lt;br /&gt;
&lt;br /&gt;
===Teensy 2.0===&lt;br /&gt;
&lt;br /&gt;
This is a temporary requirement used for pairing the bt dongle with the PS4.&lt;br /&gt;
&lt;br /&gt;
The firmware to load is available at: http://gimx.fr/download/EMUPS4.7z&lt;br /&gt;
&lt;br /&gt;
===Dualshock 4===&lt;br /&gt;
&lt;br /&gt;
The PS4 only takes inputs from licensed controller.&amp;lt;br /&amp;gt;&lt;br /&gt;
In order to authenticate itself as a licensed controller, GIMX needs to be connected to real DS4 all the time.&lt;br /&gt;
&lt;br /&gt;
==Compilation &amp;amp; installation==&lt;br /&gt;
&lt;br /&gt;
There's no installation package yet, but GIMX can be easily built from the sources.&lt;br /&gt;
&lt;br /&gt;
Refer to the [[Development_on_Linux]] page. When typing the 'git clone' command line, replace 'master' with 'dev'.&lt;br /&gt;
&lt;br /&gt;
==Setup==&lt;br /&gt;
&lt;br /&gt;
The setup performs the bluetooth pairing between the PS4 and the dongle, and between the dongle and the DS4.&amp;lt;br /&amp;gt;&lt;br /&gt;
It has to be run again if the DS4 is reused (i.e. paired again) with the PS4.&lt;br /&gt;
&lt;br /&gt;
Download the helper script:&lt;br /&gt;
&lt;br /&gt;
  wget &amp;lt;nowiki&amp;gt;https://raw.github.com/matlo/GIMX-tools/master/PS4/gimx-ps4-helper.sh&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Make it executable:&lt;br /&gt;
&lt;br /&gt;
  chmod +x gimx-ps4-helper.sh&lt;br /&gt;
&lt;br /&gt;
Run it:&lt;br /&gt;
&lt;br /&gt;
  sudo ./gimx-ps4-helper.sh&lt;br /&gt;
&lt;br /&gt;
Simply follow the instructions. A successful output should look like this:&lt;br /&gt;
&lt;br /&gt;
  $ sudo ./gimx-ps4-setup.sh&lt;br /&gt;
  Unplug any Dualshock 4.&lt;br /&gt;
  Unplug any teensy.&lt;br /&gt;
  Unpug the bluetooth dongle.&lt;br /&gt;
  Then press enter.&lt;br /&gt;
  &lt;br /&gt;
  Plug the bluetooth dongle.&lt;br /&gt;
  The bluetooth dongle address is XX:XX:XX:XX:XX:XX.&lt;br /&gt;
  The bluetooth hci number is 1.&lt;br /&gt;
  Plug the DS4 with a USB cable.&lt;br /&gt;
  The DS4 address is YY:YY:YY:YY:YY:YY.&lt;br /&gt;
  Unplug the DS4.&lt;br /&gt;
  Plug the teensy.&lt;br /&gt;
  Unplug the teensy.&lt;br /&gt;
  Plug the teensy to the PS4, and wait a few seconds.&lt;br /&gt;
  Then plug the teensy back to the PC.&lt;br /&gt;
  The PS4 address is ZZ:ZZ:ZZ:ZZ:ZZ:ZZ.&lt;br /&gt;
  Everything was successful: setting dongle link keys.&lt;br /&gt;
  To run gimx, type:&lt;br /&gt;
  gimx -t DS4 -c config.xml -h 1 -b ZZ:ZZ:ZZ:ZZ:ZZ:ZZ&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
==Pairing==&lt;br /&gt;
&lt;br /&gt;
The paring is quite complex, but it only has to be done once.&lt;br /&gt;
&lt;br /&gt;
===Dongle + DS4===&lt;br /&gt;
&lt;br /&gt;
Plug the dongle to the PC.&lt;br /&gt;
Get the dongle bdaddr (bluetooth device address):&lt;br /&gt;
&lt;br /&gt;
  hciconfig -a | grep &amp;quot;BD Address&amp;quot; | cut -f 3 -d ' '&lt;br /&gt;
&lt;br /&gt;
Result example:&lt;br /&gt;
&lt;br /&gt;
  01:02:03:04:05:06&lt;br /&gt;
&lt;br /&gt;
Generate a link key for the DS4:&lt;br /&gt;
&lt;br /&gt;
  date | md5sum | cut -f 1 -d ' '&lt;br /&gt;
&lt;br /&gt;
Result example:&lt;br /&gt;
&lt;br /&gt;
  381f87ef2a59011cb1dd29b7a67529cd&lt;br /&gt;
&lt;br /&gt;
Plug the DS4. Set its master bdaddr:&lt;br /&gt;
&lt;br /&gt;
  ds4tool -m &amp;lt;dongle bdaddr&amp;gt; -l &amp;lt;DS4 link key&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Example with the previous example values:&lt;br /&gt;
&lt;br /&gt;
  ds4tool -m 01:02:03:04:05:06 -l 381f87ef2a59011cb1dd29b7a67529cd&lt;br /&gt;
&lt;br /&gt;
Result example:&lt;br /&gt;
&lt;br /&gt;
  Current Bluetooth master: 00:00:00:00:00:00&lt;br /&gt;
  Current Bluetooth Device Address: 07:08:09:0a:0b:0c&lt;br /&gt;
  Setting master bdaddr to 01:02:03:04:05:06&lt;br /&gt;
  Setting link key to 381f87ef2a59011cb1dd29b7a67529cd&lt;br /&gt;
&lt;br /&gt;
The &amp;quot;Current Bluetooth Device Address&amp;quot; value is the DS4 bdaddr.&lt;br /&gt;
&lt;br /&gt;
Unplug the DS4.&lt;br /&gt;
&lt;br /&gt;
Set the DS4 link key:&lt;br /&gt;
&lt;br /&gt;
  sudo bash -c &amp;quot;echo &amp;lt;DS4 bdaddr&amp;gt; &amp;lt;DS4 link key&amp;gt; 4 0 &amp;gt;&amp;gt; /var/lib/bluetooth/&amp;lt;dongle bdaddr&amp;gt;/linkkeys&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Example with the previous example values:&lt;br /&gt;
&lt;br /&gt;
  sudo bash -c &amp;quot;echo 07:08:09:0a:0b:0c 381f87ef2a59011cb1dd29b7a67529cd 4 0 &amp;gt;&amp;gt; /var/lib/bluetooth/01:02:03:04:05:06/linkkeys&amp;quot;&lt;br /&gt;
&lt;br /&gt;
===Dongle + PS4===&lt;br /&gt;
&lt;br /&gt;
Plug the teensy to the PC.&lt;br /&gt;
&lt;br /&gt;
Set the device address of the teensy:&lt;br /&gt;
&lt;br /&gt;
  ds4tool -s &amp;lt;dongle bdaddr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Example with the previous example values:&lt;br /&gt;
&lt;br /&gt;
  ds4tool -s 01:02:03:04:05:06&lt;br /&gt;
&lt;br /&gt;
Result example:&lt;br /&gt;
&lt;br /&gt;
  Current Bluetooth master: 00:00:00:00:00:00&lt;br /&gt;
  Current Bluetooth Device Address: 00:00:00:00:00:00&lt;br /&gt;
  Setting slave bdaddr to 01:02:03:04:05:06&lt;br /&gt;
&lt;br /&gt;
Plug the teensy to the PS4 and wait a few seconds.&lt;br /&gt;
&lt;br /&gt;
Plug the teensy back to the PC, and type:&lt;br /&gt;
&lt;br /&gt;
  ds4tool&lt;br /&gt;
&lt;br /&gt;
Result example:&lt;br /&gt;
&lt;br /&gt;
 Current Bluetooth master: 0a:0b:0c:0d:0e:0f&lt;br /&gt;
 Current Bluetooth Device Address: 01:02:03:04:05:06&lt;br /&gt;
 Current link key: 76f5ea4f6205db412f8095094e5414c3&lt;br /&gt;
&lt;br /&gt;
The &amp;quot;Current Bluetooth master&amp;quot; value is the PS4 bdaddr, and the &amp;quot;Current link key&amp;quot; value is the PS4 link key.&lt;br /&gt;
&lt;br /&gt;
Unplug the teensy.&lt;br /&gt;
&lt;br /&gt;
Set the PS4 link key:&lt;br /&gt;
&lt;br /&gt;
  sudo bash -c &amp;quot;echo &amp;lt;PS4 bdaddr&amp;gt; &amp;lt;PS4 link key&amp;gt; 4 0 &amp;gt;&amp;gt; /var/lib/bluetooth/&amp;lt;dongle bdaddr&amp;gt;/linkkeys&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Example with the previous example values:&lt;br /&gt;
&lt;br /&gt;
  sudo bash -c &amp;quot;echo 0a:0b:0c:0d:0e:0f 76f5ea4f6205db412f8095094e5414c3 4 0 &amp;gt;&amp;gt; /var/lib/bluetooth/01:02:03:04:05:06/linkkeys&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Restart the bluetooth service (loads the link keys):&lt;br /&gt;
&lt;br /&gt;
  sudo service bluetooth restart&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Start==&lt;br /&gt;
(i have noticed that first start is only syncing after turn off ps4 after using helper --Smurfiboy)&lt;br /&gt;
1. The bluetooth service has to be stopped before starting GIMX (this allows GIMX to get incoming connections):&lt;br /&gt;
  sudo service bluetooth stop&lt;br /&gt;
  sudo hciconfig hci&amp;lt;hci number&amp;gt; up pscan&lt;br /&gt;
&amp;lt;hci number&amp;gt; is the bluetooth hci number, for example 0 if there is only one bluetooth adapter (internal or external). Run 'hciconfig' if you're not sure about this value.&lt;br /&gt;
&lt;br /&gt;
2. Start GIMX:&lt;br /&gt;
  gimx -t DS4 -c &amp;lt;config file&amp;gt; -h &amp;lt;hci number&amp;gt; -b &amp;lt;PS4 bdaddr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;config file&amp;gt; is the name of the config file to use.&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;hci number&amp;gt; is the bluetooth hci number, for example 0 if there is only one bluetooth adapter (internal or external). Run 'hciconfig' if you're not sure about this value.&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;PS4 bdaddr&amp;gt; is the address of the PS4.&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
3. Start the DS4. It should connect to GIMX, which in turn should connect to the PS4.&lt;br /&gt;
&lt;br /&gt;
4. Refer to the [[Command_line]] page to learn about the other command line arguments.&lt;/div&gt;</summary>
		<author><name>Smurfiboy</name></author>
		
	</entry>
</feed>