Difference between revisions of "Template:ConnectionNext"

From GIMX
Jump to: navigation, search
(Connecting to the console)
(Connecting to the console: Added BT)
Line 1: Line 1:
 
==Connecting to the console==
 
==Connecting to the console==
 
{{#ifeq:{{{connectionType|}}}|BT|===Bluetooth===
 
{{#ifeq:{{{connectionType|}}}|BT|===Bluetooth===
I don't have a linux now, TODO
+
{{#ifeq:{{{platform|}}}|ps3|# Open gimx-launcher.
 +
# In the "Output" drop-down menu, select "Bluetooth / PS3".
 +
# If no previous pairing was defined, you will be asked to create a new pairing. Click on "<u>Yes</u>".
 +
# As requested, connect a '''Sixaxis''' / '''Dualshock 3''', and click on "<u>Yes</u>".
 +
# Select the pairing to use and click on "<u>Validate</u>".
 +
# As requested, connect a '''bluetooth dongle''', and click on "<u>Yes</u>".
 +
# Save the '''bluetooth dongle''' address as you may wish to restore it later.
 +
# Select the '''bluetooth dongle''', and click on "<u>Validate</u>".
 +
# Make sure you saved the dongle address, and click on "<u>Yes</u>".
 +
# The dongle address will be modified to match the address of the Sixaxis / Dualshock 3.
 +
# If you get an error message, buy a [[Bluetooth_dongle|compatible bluetooth dongle]].
 +
# Unplug your '''sixaxis''' and if it doesn't power off by itself, press the PS button until it powers off.
 +
# In the "<u>Config</u>" drop-down menu, select the configuration file to use.
 +
# Click on "<u>Start</u>".
 +
# Play.
 +
# Press Left Shift + Escape to quit.|}}
 +
{{#ifeq:{{{platform|}}}|ps4|The PS4 only takes inputs from licensed controller.<br />
 +
In order to authenticate itself as a licensed controller, GIMX needs to be connected over bluetooth to a real Dualshock 4 all the time.
 +
 
 +
* Raspbian-specific instructions
 +
 
 +
The bluetooth service is automatically started when a device tries to connect.<br />
 +
This is annoying since it will intercept the connection requests.<br />
 +
To disable the service, run the following command '''and reboot''':<br />
 +
 
 +
sudo update-rc.d bluetooth disable
 +
 
 +
Alternatively, you can stop the bluetooth service and move the bluetoothd binary:<br />
 +
 
 +
sudo service bluetooth stop
 +
cd /usr/sbin
 +
sudo mv bluetoothd bluetoothd.bk
 +
 
 +
The drawback of this second method is that it will need to be performed again after each update of the bluez package.
 +
 
 +
* AVR USB development board
 +
 
 +
An [[DIY_USB_adapter#AVR_USB_development_board|AVR USB development board]] is required for pairing the bluetooth dongle with the PS4.<br />
 +
The same board can be used to build a DIY USB adapter, but no USB to serial TTL converter is needed here.<br />
 +
 
 +
* First-start instructions
 +
 
 +
# Open gimx-launcher.
 +
# In the "Output" drop-down menu, select "Bluetooth / PS4".
 +
# If no previous pairing was defined, you will be asked to create a new pairing. Click on "Yes".
 +
# As requested, connect a [[Bluetooth_dongle|compatible bluetooth dongle]], and click on "Yes".
 +
# As requested, connect a Dualshock 4 with a micro USB cable, and click on "Yes".
 +
# Select the pairing to use and click on "Validate".
 +
# Connect the AVR USB board (e.g. Teensy 2.0) and click on "Yes".
 +
# As requested, connect the AVR USB board to the PS4, and wait a few seconds.
 +
# Connect the AVR USB board back to the computer, and click on "Yes".
 +
# A new pairing should appear in the "Pairing" drop-down menu.
 +
# Unplug the Dualshock 4.
 +
# In the "Config" drop-down menu, select the configuration file to use.
 +
# Click on "Start".
 +
# Press on the PS button of the Dualshock 4.
 +
# Play.
 +
# Press Left Shift + Escape to quit.
 +
|}}
 
|}}
 
|}}
  

Revision as of 12:12, 16 November 2017

Connecting to the console